summaryrefslogtreecommitdiffstats
path: root/Tests/IncludeDirectories/SystemIncludeDirectories/upstream.cpp
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2013-07-02 12:30:10 (GMT)
committerBrad King <brad.king@kitware.com>2013-07-16 17:44:57 (GMT)
commit9cf3547e1cd56d42bc96c3dc3adf9f745faea5ee (patch)
treeea220c1949611ac1977841ea77ff22bcac061497 /Tests/IncludeDirectories/SystemIncludeDirectories/upstream.cpp
parent1925cffa083bcbe3c54b8a0f2c63dc96f5168db0 (diff)
downloadCMake-9cf3547e1cd56d42bc96c3dc3adf9f745faea5ee.zip
CMake-9cf3547e1cd56d42bc96c3dc3adf9f745faea5ee.tar.gz
CMake-9cf3547e1cd56d42bc96c3dc3adf9f745faea5ee.tar.bz2
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.
Diffstat (limited to 'Tests/IncludeDirectories/SystemIncludeDirectories/upstream.cpp')
-rw-r--r--Tests/IncludeDirectories/SystemIncludeDirectories/upstream.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/Tests/IncludeDirectories/SystemIncludeDirectories/upstream.cpp b/Tests/IncludeDirectories/SystemIncludeDirectories/upstream.cpp
new file mode 100644
index 0000000..f716b99
--- /dev/null
+++ b/Tests/IncludeDirectories/SystemIncludeDirectories/upstream.cpp
@@ -0,0 +1,4 @@
+
+#include "upstream.h"
+
+int upstream() { return systemlib(); }