Archive for August, 2010

Using Doxygen’s \test command with C++

I’m working on some C++ code that is documented using Doxygen. Nothing earth-shattering there.
But I’m doing unit testing, and writing unit tests. In this case, I’m using the boost C++ libraries. That means my tests don’t look like classes, the way they might look if I was using CppUnit or CxxUnit. Instead, they look like [...]

Which ‘which’ is which?

The ‘which’ utility is one of those really useful commands that never seems to cross the bridge from Unix to Windows. The CMD.EXE special %$PATH:f syntax seems to promise some relief, but of course it’s never that simple – I at least want to type “which foo” rather than “which foo.exe”.
So here’s which.cmd – a [...]