Re: [CMake] Recursive custom target

2008-07-31 Thread Piotr Jaroszyński
xt $ echo "add_subdirectory(foo)" >> CMakeLists.txt $ mkdir foo $ cmake . $ make bar Built target bar $ cd foo && make bar make: *** No rule to make target `bar'. Stop. $ cmake --version cmake version 2.4-patch 8 -- Best Regards, Piotr Jaroszyński ___

[CMake] Recursive custom target

2008-07-31 Thread Piotr Jaroszyński
Hello, is it possible to add a custom target so that it would be visible in all the subdirectories? i.e. i could do make custom_target in any of the subdirs and it will build the deps from said directory and its subdirs and then the custom_target itself? -- Best Regards, Piotr Jaroszyński

Re: [CMake] Handling tests

2008-07-26 Thread Piotr Jaroszyński
at ADD_SUBDIRECTORY(test) breaks the test target. -- Best Regards, Piotr Jaroszyński ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

[CMake] Handling tests

2008-07-26 Thread Piotr Jaroszyński
can't figure out how to force ctest to be run with -V when make test'ing. I'm running cmake 2.4.8 currently and am only interested in Linux if that matters. -- Best Regards, Piotr Jaroszyński ___ CMake mailing list CMake@cmake.org http://w