Re: [CMake] Generating test executables with make test

2009-02-06 Thread Adolfo Rodríguez
Greetings, I'll stir the pot a little bit more in this subject, since I may not have explained myself clearly last time, and I haven't been able to solve it by my own means. I apologize for the extra noise ;) So, restating: I want the "test" target (and not "all", nor any other target) to build my

[CMake] Generating test executables with make test

2009-01-30 Thread Adolfo Rodríguez
Hi all, I have a project with a suit of test executables that I create with CMake by means of add_executable(fooTest ${foo_DEPENDENCIES}), and then register in CTest with add_test(fooTest fooTest), and everything works just fine. As a next step, I wanted to exclude the building of the tests from t