[cmake-developers] Unit testing of new generators
Brad King
brad.king at kitware.com
Fri May 1 08:52:35 EDT 2015
On 05/01/2015 08:49 AM, Josh Green wrote:
> attempting to get a FASTBuild generator working for CMake.
> I've successfully managed to get the CMake project itself
Great!
> I'm now looking for some standard unit tests to run against
> the generator
You should be able to run the CMake test suite. If you have
CMake itself building then just configure with BUILD_TESTING
set to ON and then run "ctest" in the build tree. Otherwise
you can build CMake with another compiler and then configure
a CMake build tree with your new generator and add
-DCMake_TEST_EXTERNAL_CMAKE=/path/to/other/bin
This will configure it to run the test suite against that binary
but with your new generator.
-Brad
More information about the cmake-developers
mailing list