[CMake] Building dependency project as static lib and exe.
I have a project that uses lua. cmake is able to build lua statically and shared, without issue. (shared for debug static for releases on Windows) The only issue is when I'm doing a release build I need to also build the lua.exe, so I can process and embed my lua scripts in the exe. add_custom_command looks like it could be used to build the lua project twice, but seems like I'd have to be overly specific repeating things already implied in the lua project. Is there a means of telling a subproject to compile itself from the main CMakeLists.txt? I add libraries with add_subdirectory. -- 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
[CMake] ctest not running longest tests first
In the past, I seem to remember that ctest would order the tests from longest to shortest, but this no longer seems to be the case. Is there any way to get this behavior with the newest binary versions of ctest on Windows, Mac, and Linux? Regards, Juan -- 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