> 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
Site: kurluka
Build name: Linux-c++
Create new tag: 20090304-0728 - Experimental
Start processing tests
Configure project
Each . represents 1024 bytes of output
.. Size of output: 1K
Build project
Each symbol represents 1024 bytes of output.
'!' represents an error and '*' a warning.
.. Size of output: 1K
0 Compiler errors
0 Compiler warnings
Test project /home/../foo/build
**** No tests were found!!! ****
Performing coverage
Cannot find any coverage files. Ignoring Coverage request.
Submit files (using http)
Using HTTP submit method
Drop site: http://localhost/cdash/submit.php?project=game
Uploaded: /home/../foo/build/Testing/20090304-0728/Build.xml
Uploaded: /home/../foo/build/Testing/20090304-0728/Configure.xml
Uploaded: /home/../foo/build/Testing/20090304-0728/Test.xml
Submission successful
Built target Experimental
================================
Basically it says, "No tests were found!!!" while CTestTestfile.cmake contains:
=================================
ADD_TEST(FooUnitTests "/home/.../foo/tests/unit/run")
SUBDIRS(boost_lib)
...
SUBDIRS(src)
SUBDIRS(unittest_lib)
==================================
What can be wrong again?
I also don't quite understand how CTest works, am I right in thinking
CTest just executes the test binary and depending on exit code decides
whether tests passed or not?
Thanks for any help in advance!
--
Best regards, Pavel
_______________________________________________
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