Stephen Kelly
9cf3547e1c
Add the INTERFACE_SYSTEM_INCLUDE_DIRECTORIES target property.
...
Unlike other target properties, this does not have a corresponding
non-INTERFACE variant.
This allows propagation of system attribute on include directories
from link dependents.
2013-07-16 13:44:57 -04:00
Stephen Kelly
2f84dfec93
include_directories: Fix handling of empty or space-only entries
...
This is a regression introduced in commit 0d46e9a0
(Store includes
from the same include_directories call together., 2013-01-20).
Reported at
http://thread.gmane.org/gmane.comp.programming.tools.cmake.user/46695/focus=7847
2013-05-21 15:20:46 -04:00
Stephen Kelly
5a5e0fa9d3
Fix clearing of the INCLUDE_DIRECTORIES DIRECTORY property.
...
This was broken by commit 18a3195a
(Keep track of INCLUDE_DIRECTORIES
as a vector of structs., 2012-11-19).
2013-04-10 18:12:56 +02:00
Stephen Kelly
9106b564ae
Extract and use the INCLUDE_DIRECTORIES target properties.
...
Eliminate callers of cmMakefile::GetIncludeDirectories.
All callers of GetIncludeDirectories should go through the local generator
object.
Only the local generator calls cmTarget::GetIncludeDirectories directly.
2012-02-22 06:31:50 -05:00
Bill Hoffman
27aa446352
One more try. Use full path by default, and relative on broken compilers.
2011-06-03 16:16:50 -04:00
Bill Hoffman
2dfc121b89
Use bin tree for inclues to avoid -I with spaces in the path.
2011-06-03 15:05:28 -04:00
Bill Hoffman
6d29b4bfe6
Append and do not clobber CMAKE_CXX_FLAGS in the test.
2011-06-03 13:00:05 -04:00
Bill Hoffman
7815e90e21
Fix for bug#10798. VS10 did not append -I flags with COMPILE_FLAGS prop.
...
This fix adds a test for this case for all generators.
2011-06-02 10:28:10 -04:00