Philip Lowman wrote:


I don't have an example of this, but it might be possible to have your test run a script which configures and builds a small CMake test project which compiles against your current code. This test project would of course fail to compile by design. Then you could monitor for this failure and expect it?


ctest --build-and-test can be used to build a test that is not part of the main solution. It is what we use for testing in CMake itself. See the Test directory in the cmake source tree for an example.

-Bill
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to