summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CompatibleInterface/InterfaceBool-builtin-prop.cmake
diff options
context:
space:
mode:
authorRobert Maynard <robert.maynard@kitware.com>2013-02-11 22:20:00 (GMT)
committerBrad King <brad.king@kitware.com>2013-02-19 19:44:57 (GMT)
commit674bd6e7788f9e6ff35c0082c9c85e9aa83b642d (patch)
tree59d9ba014199e9b7252cee9f170c60768ed5bd25 /Tests/RunCMake/CompatibleInterface/InterfaceBool-builtin-prop.cmake
parent4760eade425e8e294ac9400785ffce70912d5b43 (diff)
parent3e7bba3fb2d431b512181e99c6333e9dfdc8a9fd (diff)
downloadCMake-674bd6e7788f9e6ff35c0082c9c85e9aa83b642d.zip
CMake-674bd6e7788f9e6ff35c0082c9c85e9aa83b642d.tar.gz
CMake-674bd6e7788f9e6ff35c0082c9c85e9aa83b642d.tar.bz2
Merge branch 'master' into sublime-text-2-generator
Diffstat (limited to 'Tests/RunCMake/CompatibleInterface/InterfaceBool-builtin-prop.cmake')
-rw-r--r--Tests/RunCMake/CompatibleInterface/InterfaceBool-builtin-prop.cmake11
1 files changed, 11 insertions, 0 deletions
diff --git a/Tests/RunCMake/CompatibleInterface/InterfaceBool-builtin-prop.cmake b/Tests/RunCMake/CompatibleInterface/InterfaceBool-builtin-prop.cmake
new file mode 100644
index 0000000..5feb4d5
--- /dev/null
+++ b/Tests/RunCMake/CompatibleInterface/InterfaceBool-builtin-prop.cmake
@@ -0,0 +1,11 @@
+
+add_library(foo UNKNOWN IMPORTED)
+add_library(bar UNKNOWN IMPORTED)
+
+set_property(TARGET foo APPEND PROPERTY COMPATIBLE_INTERFACE_BOOL INCLUDE_DIRECTORIES)
+set_property(TARGET foo PROPERTY INTERFACE_INCLUDE_DIRECTORIES ON)
+set_property(TARGET bar PROPERTY INTERFACE_INCLUDE_DIRECTORIES ON)
+
+add_executable(user main.cpp)
+set_property(TARGET user PROPERTY INCLUDE_DIRECTORIES OFF)
+target_link_libraries(user foo bar)