Examples for several build systems
It is easy to integrate Testwell CTC++ with the following build systems using ctclaunch. An exemplary generic description how to do that is given for them.
In all examples, multicondition is used as instrumentation mode, given to ctclaunch with option -i m.
NMAKE
If a normal build is done with 
        nmakectclaunch -i m nmakeCMake
If CMake is configured
                with:
            cmake -S . -B build -GNinjacmake -S . -B build-cov -GNinjaIf a Ninja call is used to build in the build directory
                like
            cd build
ninjacd build-cov
ctclaunch -i m ninjaIf the build is done by a CMake call like
cmake --build buildthe instrumented version can be built with
ctclaunch -i m cmake --build build-covWith the additional build directory, you can switch between instrumented and not instrumented builds without the need for a full rebuild.
IarBuild
When the IAR add-on is used on Windows, ctclaunch is
                the recommended method to build instrumented
                programs:
        ctclaunch -iar -i m iarbuild myproject.ewpMSBuild
If a rebuild is done with 
        msbuild MySolution.sln -t:Rebuildctclaunch -i m msbuild MySolution.sln -t:Rebuilddevenv.exe
When 
        devenv is used directly for the build with
                devenv MySolution.sln /buildctclaunch devenv MySolution.sln /build