On Tue, Jan 19, 2016 at 4:18 PM, Brad King <[email protected]> wrote: > On 01/19/2016 03:54 PM, Taylor Braun-Jones wrote: >> For ExternalProjects built with a multi-config generator like "Visual >> Studio 12" with `TEST_BEFORE_INSTALL ON` I need this patch: >> >> https://github.com/Kitware/CMake/compare/master...nocnokneo:patch-1 >> >> Otherwise, the test step gives the error "Test not available without >> configuration." > > Good catch. Please try these changes: > > ExternalProject: Simplify `cmake --build` configuration passing > https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=b95be1cf > > ExternalProject: Fix TEST_BEFORE_INSTALL for multi-config generators > https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=f565f9fa
Thanks - works! However, these patches use the deprecated $<CONFIGURATION> generator expression instead of $<CONFIG>. The rest of ExternalProject.cmake uses $<CONFIG>. Taylor -- 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-developers
