On Wed, Apr 1, 2009 at 12:47 PM, Bill O'Hara <[email protected]> wrote: > 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. >
There was a discussion of this last week on the mailing list. http://www.cmake.org/pipermail/cmake/2009-March/thread.html#27887 John _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake
