[CMake] CTest question...

2008-11-16 Thread BRM
I'd like to build a series of test using the CTest functionality in CMake. I have added ENABLE_TESTING() to the main CMakeLists, and was hoping to put the tests in their own sub-directories - as follows: / /Tests /Tests/object /Tests/object/child-objects I added the Tests directory in the root's

Re: [CMake] INCLUDE_DIRECTORIES problem...

2008-11-16 Thread BRM
Thanks for the tip - it showed that it indeed working; and pointed to a portability problem in the code - Using VC++ is allowed; however, with g++ under Linux it has to be . The g++ notation should work with VC++ too. Thanks all for the help in finding the issue. Ben - Original Messa

[CMake] Changes to how CMAKE_INCLUDE_PATH / CMAKE_LIBRARY_PATH function in 2.6.x

2008-11-16 Thread Philip Lowman
I noticed local CMake variables for CMAKE_INCLUDE_PATH and CMAKE_LIBRARY_PATH no longer work in CMake 2.6.x. It appears the documentation has been changed to require these to be CACHE variables. First of all, why the change in behavior? Shouldn't a locally specified CMAKE_INCLUDE_PATH variable t