[CMake] make make test make all

Bill O'Hara billtohara at gmail.com
Wed Apr 1 12:47:20 EDT 2009


I couldn't resist the subject - my question is whether given some number of
executables that are produced during a build, and some tests that later run
using those, is there a straightforward way to have cmake (globally) always
run "make all" before make test? Right now, with my current setup, if
someone does "make test" without doing "make all", the executables aren't
found and they complain that things are "broken" (ie. not like they are used
to). I'd rather prefer to not add custom targets or add_dependencies for all
the individual tests if at all possible.

thanks
b.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20090401/94e16dbf/attachment.htm>


More information about the CMake mailing list