How can one use ctest/cdash with a target that is not "all"?

I have a project with two top-level targets, say "all" and "other", where
"make all" does a standard build of executables that one can test, while
"make other" does a distinct set of actions, in particular not
creating any executables, so one can test only the build.  I would
like these separately tested and to show up separately on the dashboard.

The two builds get different names by configuring in two separate
directories, with different values of BUILDNAME, e.g., foo-all
and foo-other.  Configuring in two separate directories is also done
to be able to specify different values of CMAKE_INSTALL_PREFIX.

To test the "all" build, I do the usual

make ExperimentalStart ExperimentalBuild ExperimentalTest ExperimentalSubmit

but for the "other" build, is there an easy way to do something like

  make ExperimentalStart ExperimentalBuild-other ExperimentalSubmit-other,

where "make ExperimentalBuild-other" executes "make other" instead of
"make all" while producing all the files needed for submission?
And then ExperimentalSubmit-other does not redo "make all"?

Thanks.....John Cary
--

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to