summaryrefslogtreecommitdiffstats
path: root/Tests/IncludeDirectories/SystemIncludeDirectories/config_specific
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-01-22 22:40:27 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-01-22 23:08:18 (GMT)
commitee38062be8ccdb7f4c53156ef00db0d42a41a6a7 (patch)
tree00ecedc8bcceb7bf2a548f0ee4e34ce69cc0f83e /Tests/IncludeDirectories/SystemIncludeDirectories/config_specific
parent98bf613cd09e2187fa5002dac06e63d5450dbcf0 (diff)
downloadCMake-ee38062be8ccdb7f4c53156ef00db0d42a41a6a7.zip
CMake-ee38062be8ccdb7f4c53156ef00db0d42a41a6a7.tar.gz
CMake-ee38062be8ccdb7f4c53156ef00db0d42a41a6a7.tar.bz2
IncludeDirectories: Respect SYSTEM flag when using CONFIG genex.
Update the Makefile and Ninja generators to use the config when requesting the include flags.
Diffstat (limited to 'Tests/IncludeDirectories/SystemIncludeDirectories/config_specific')
-rw-r--r--Tests/IncludeDirectories/SystemIncludeDirectories/config_specific/config_iface.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/Tests/IncludeDirectories/SystemIncludeDirectories/config_specific/config_iface.h b/Tests/IncludeDirectories/SystemIncludeDirectories/config_specific/config_iface.h
new file mode 100644
index 0000000..05d3604
--- /dev/null
+++ b/Tests/IncludeDirectories/SystemIncludeDirectories/config_specific/config_iface.h
@@ -0,0 +1,14 @@
+
+#ifndef CONFIG_IFACE_H
+#define CONFIG_IFACE_H
+
+#ifdef _WIN32
+__declspec(dllexport)
+#endif
+int configUnusedFunc()
+{
+ int unused;
+ return 0;
+}
+
+#endif