I have a question regarding removing prior entries from include_directories.  
Specifically, in a CMakeLists.txt, I have several targets.  For example:

# target 1
include_directories(x y z)
add_executable(my_exe ...)

#target 2
include_directories(a b c)
add_executable(my_exe2 ...)

#target 3
....

#target N


I would like to be able to "cleanup" all includes for each target2 so that they 
ONLY include the target-specified includes.  I have looked through mailing 
lists, etc, and I only see the set_directory_properties(PROPERITES 
INCLUDE_DIRECTORES ""). I have tried this but it does not work.

Thanks in advance for your help,

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

Reply via email to