...a somewhat related idea: if it will be possible to set include
directories per target, and since it is already possible to set compile flags
per target, it would be nice if I could also set a property on targets which
keeps them from using the global settings at all.
Something like
set_target_properties(hello PROPERTIES COMPILE_FLAGS "..."
INCLUDE_DIRS "..."
IGNORE_GLOBAL_SETTINGS TRUE)
which would have the effect that neither the include directories for the
current directory nor the global CMAKE_(C|CXX)_FLAGS would be used, but only
what has been explicitely set for this target.
Sounds like a useful idea ?
If you think it makes sense, I might have some time to work on it.
Alex
--
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Follow this link to subscribe/unsubscribe:
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers