On Tue, Feb 12, 2008 at 2:10 PM, Bill Hoffman <[EMAIL PROTECTED]> wrote: > Mathieu Malaterre wrote: > > > > > This is a test... I need to run it just like a normal test. I know > > this sound weird to check for something that do not compile. The > > simpliest case is when I need to trigger a static assert. Another > > example could be for ITK to check that their itkConceptChecking are > > actually working: Luis are you doing that ? > > > > Or maybe I misunderstood you suggestion, and I could run the test, by > > simply sending the stored result from CMakeCache.txt (thus the test > > would be run at build time), is this correct ? > > > > So, use a cmake --build-and-test test like the ones we use in CMake. > You create a complete project and run cmake, and the build tool on it. > There are many examples in the CMake test tree.
Never paid attention to this command, but exactly what I was looking for. Thanks. -- Mathieu _______________________________________________ CMake mailing list [email protected] http://www.cmake.org/mailman/listinfo/cmake
