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()
We need to be robust against variables set in outer scopes:
set(all ALL)
if(";${ARGN};" MATCHES ";EXCLUDE_FROM_ALL;([^;]*);")
if(CMAKE_MATCH_1)
set(all "")
endif()
endif()
-Brad
--
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