I have question with regards of using SYSTEM keyword within include_directories 
functions, as if you are having following setup:
include_directories(dir1 SYSTEM dir2 dir3)
In this case both dir2 and dir3 will have '-isystem' and dir1 is having '-i'. 
Wouldn't it be better to make the SYSTEM keyword more explicit and only 
applicable for dir2? And in case you want to have it for dir3 as well you have 
to specify it like include_directories(dir1 SYSTEM dir2 SYSTEM dir3). 
Defining thirdparty headers includes will become more explicit and order doesnt 
matter any longer, or need for custom function to achieve this. Any suggestions 
or better ways to handle this?
-- 

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://www.cmake.org/mailman/listinfo/cmake

Reply via email to