[CMake] Delaying building tests to "make test"

Pierre Bourdon delroth at gmail.com
Sun Mar 2 14:11:52 EST 2014


Hello CMake users,

To avoid increasing compilation time of my project I would like to
only build tests when they are going to be run, for example when using
"make test". Is there any easy way to do this with CMake?

Thanks,

-- 
Pierre "delroth" Bourdon <delroth at gmail.com>
Software Engineer @ Zürich, Switzerland
http://code.delroth.net/


More information about the CMake mailing list