[CMake] building and running tests with one command

Leif Walsh leif.walsh at gmail.com
Wed May 9 10:58:10 EDT 2012


Yeah, I tried it and I couldn't really figure out what it's doing. I could give it a binary name that it would build and I could give it a command to use to test, but the goal here is to only require the test name (since that may be different from the binary name) and to build all dependencies of the test. 

Sent from my iPhone

On May 9, 2012, at 10:45, Bill Hoffman <bill.hoffman at kitware.com> wrote:

> I assume you have looked at  ctest --build-and-test?
> 
> -Bill
> --
> 
> 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


More information about the CMake mailing list