How to make RUN_TESTS build projects first?

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

How to make RUN_TESTS build projects first?

Robert Dailey-2
I'd like RUN_TESTS to build the executable targets that are tied to
add_test() commands prior to running the tests themselves. Note I'm
doing this from within Visual Studio. Is there a way I can set up
CMake to do this?

Powered by

Please keep messages on-topic and check the CMake FAQ at:

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

CMake Support:
CMake Consulting:
CMake Training Courses:

Visit other Kitware open-source projects at

Follow this link to subscribe/unsubscribe: