Positive List of Build Systems Suitable for ctclaunch
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
nmake
the instrumented version
is built with ctclaunch -i m nmake
CMake
If CMake is configured with:
cmake -S . -B build -GNinja
and
(variant 1) a Ninja call is used to do build
likecd build
ninja
then the instrumented version is built
withcd build
ctclaunch -i m ninja
If (variant 2) the build is done by a CMake call like
cmake --build build
the instrumented version can be built with
ctclaunch -i m cmake --build build
IarBuild
When the IAR add-on is used, ctclaunch is the
recommended method to build instrumented
programs:
ctclaunch -iar -i m iarbuild myproject.ewp
MSBuild
If a rebuild is done with
msbuild MySolution.sln -t:Rebuild
the instrumented rebuild is done with
ctclaunch -i m msbuild MySolution.sln -t:Rebuild
devenv.exe
When
devenv
is used directly for the build with
devenv MySolution.sln /build
the instrumented version is
built with ctclaunch devenv MySolution.sln /build
Note: Please don't hesitate to contact Verifysoft's support team in case you would like
to use ctclaunch with a build system not on that list,
and facing any issues.