On 1/2/2015 6:19 AM, Scott Aron Bloom wrote:
That doesn't work:(
Unfortunately it "could" be that I have put the custom target command in the
wrong location, however, I put it as the last line in my top level CMakeLists.txt
ADD_CUSTOM_TARGET( ALL_RUN_TEST DEPENDS RUN_TESTS )
But it doesn't right mouse clicking -> build doesn't give the same results as building
"RUN_TESTS"
RUN_TESTS just runs ctest in a specific directory. It is easy to create
a custom target ALL_RUN_TESTS that does the same thing.
-Bill
--
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://public.kitware.com/mailman/listinfo/cmake