[CMake] How to specify that install target doesn't depend on some test targets

Jérôme Reybert jreybert at gmail.com
Tue Oct 16 10:18:32 EDT 2012


In my edit/compile/install/test process (where test is out of the CMake
scope), I would like to be able to do a:

make mylib && make install

without building all the test suite. BUT (there's a but), "make all" still
have to build the test suite.

Is there a way to do that? My understanding is that "all" target depends on
tests build; and "install" target depends on "all". I am afraid the answer
will be no :(

-- 
Jérôme
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20121016/b7b9847c/attachment.htm>


More information about the CMake mailing list