[cmake-developers] FastBuild Generator

Brad King brad.king at kitware.com
Tue Oct 11 09:39:09 EDT 2016


On 10/11/2016 04:27 AM, Charles Huet wrote:
>  CMake Error at CheckSourceTreeTest.cmake:355 (message):
>    test fails: local source tree non-additions: use git add before committing,
>    or remove the files from the source tree

The purpose of the test is to fail if there are any local modifications
to the source tree.  Ignore it during local development.

> This test has a custom_command which does 'cmake --build', so when you run the
> test, the build tool will call 'camke --build', which starts the build tool again,
> in the same folder hierarchy.
> 
> This is not supported by fastbuild.

The SimpleInstall and SimpleInstall-Stage2 tests need to be refactored
to overcome this.  Almost all of what they cover is also covered
by the ExportImport test, so for now I think you can simply exclude
the SimpleInstall tests with this generator.  Please leave a comment
explaining why so that future development can fix it.

Thanks,
-Brad



More information about the cmake-developers mailing list