On 27/03/14 18:50, Brad King wrote: > On 03/27/2014 12:24 PM, Daniele E. Domenichelli wrote: >> + if(";${ARGN};" MATCHES ";EXCLUDE_FROM_ALL;([^;]*);") >> + set(exclude_from_all ${CMAKE_MATCH_1}) >> + endif() >> + if(NOT exclude_from_all) >> + set(all ALL) >> + endif()
Sorry, I made 2 force-pushes (after each of your e-mails) and perhaps you fetched the branch in the time between the first and the second one... The updated code after your second e-mail should be this: + get_property(exclude_from_all TARGET ${name} PROPERTY _EP_EXCLUDE_FROM_ALL) + if(exclude_from_all) + set_property(TARGET ${name} PROPERTY EXCLUDE_FROM_ALL TRUE) + endif() Daniele -- 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/cgi-bin/mailman/listinfo/cmake-developers