Re: [CMake] ADD_TEST(...) doesn't output any tests into CTestTestfile.cmake (cmake 2.6-patch 0)

2009-03-04 Thread David Cole
Did you call ENABLE_TESTING before any ADD_TEST calls in your CMakeLists.txt? On Wed, Mar 4, 2009 at 2:39 AM, Pavel Shevaev pacha.shev...@gmail.comwrote: So, this should fix the problem: add_subdirectory(${foo_SOURCE_DIR}/../shared/lib/boost boost_lib) Thanks, it has worked indeed,

Re: [CMake] ADD_TEST(...) doesn't output any tests into CTestTestfile.cmake (cmake 2.6-patch 0)

2009-03-04 Thread Pavel Shevaev
On Wed, Mar 4, 2009 at 7:22 PM, David Cole david.c...@kitware.com wrote: Did you call ENABLE_TESTING before any ADD_TEST calls in your CMakeLists.txt? Yes :( -- Best regards, Pavel ___ Powered by www.kitware.com Visit other Kitware open-source

Re: [CMake] ADD_TEST(...) doesn't output any tests into CTestTestfile.cmake (cmake 2.6-patch 0)

2009-03-04 Thread Bill Hoffman
Pavel Shevaev wrote: On Wed, Mar 4, 2009 at 7:22 PM, David Cole david.c...@kitware.com wrote: Did you call ENABLE_TESTING before any ADD_TEST calls in your CMakeLists.txt? Yes :( Please create a full working test case that shows this problem. -Bill

Re: [CMake] ADD_TEST(...) doesn't output any tests into CTestTestfile.cmake (cmake 2.6-patch 0)

2009-03-03 Thread Pavel Shevaev
So,  this should fix the problem: add_subdirectory(${foo_SOURCE_DIR}/../shared/lib/boost boost_lib) Thanks, it has worked indeed, however now I'm experiencing the following problem, running make Experimental yields this: kurluka ~/foo/build$ make Experimental

[CMake] ADD_TEST(...) doesn't output any tests into CTestTestfile.cmake (cmake 2.6-patch 0)

2009-02-27 Thread Pavel Shevaev
Folks, any idea why this can be happening? I have the following lines in my CMakeLists.txt: ... ENABLE_TESTING() INCLUDE(CTest) ADD_TEST(AllTests {$project_SOURCE_DIR}/scripts/runtests) ... I also have properly configured CTestConfig.cmake in the same directory with CMakeLists.txt, however cd

Re: [CMake] ADD_TEST(...) doesn't output any tests into CTestTestfile.cmake (cmake 2.6-patch 0)

2009-02-27 Thread Bill Hoffman
Pavel Shevaev wrote: Folks, any idea why this can be happening? I have the following lines in my CMakeLists.txt: ... ENABLE_TESTING() INCLUDE(CTest) ADD_TEST(AllTests {$project_SOURCE_DIR}/scripts/runtests) ... I also have properly configured CTestConfig.cmake in the same directory with

Re: [CMake] ADD_TEST(...) doesn't output any tests into CTestTestfile.cmake (cmake 2.6-patch 0)

2009-02-27 Thread Pavel Shevaev
Can you create a complete but small example that shows the problem? Ok, I tried to extract the minimal non-working example from my CMakeLists.txt. foo/CMakeLists.txt: == cmake_minimum_required(VERSION 2.6 FATAL_ERROR) project(foo) enable_testing()

Re: [CMake] ADD_TEST(...) doesn't output any tests into CTestTestfile.cmake (cmake 2.6-patch 0)

2009-02-27 Thread Bill Hoffman
Pavel Shevaev wrote: Can you create a complete but small example that shows the problem? Ok, I tried to extract the minimal non-working example from my CMakeLists.txt. foo/CMakeLists.txt: == cmake_minimum_required(VERSION 2.6 FATAL_ERROR)