summaryrefslogtreecommitdiffstats
path: root/Tests/CMakeCommands/target_link_libraries/depIfaceOnly.h
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2012-12-26 09:58:21 (GMT)
committerBrad King <brad.king@kitware.com>2013-01-03 18:31:50 (GMT)
commit30962029325b2126b0b986db0c5ce8e0660428a0 (patch)
tree1c3d146023bb26dd8ce6959f21bc76605f24c803 /Tests/CMakeCommands/target_link_libraries/depIfaceOnly.h
parent00deb127be64cf8934d92c1593c8ea4a5f0f2061 (diff)
downloadCMake-30962029325b2126b0b986db0c5ce8e0660428a0.zip
CMake-30962029325b2126b0b986db0c5ce8e0660428a0.tar.gz
CMake-30962029325b2126b0b986db0c5ce8e0660428a0.tar.bz2
Make targets depend on the link interface of their dependees.
Diffstat (limited to 'Tests/CMakeCommands/target_link_libraries/depIfaceOnly.h')
-rw-r--r--Tests/CMakeCommands/target_link_libraries/depIfaceOnly.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/Tests/CMakeCommands/target_link_libraries/depIfaceOnly.h b/Tests/CMakeCommands/target_link_libraries/depIfaceOnly.h
new file mode 100644
index 0000000..dddf6a5
--- /dev/null
+++ b/Tests/CMakeCommands/target_link_libraries/depIfaceOnly.h
@@ -0,0 +1,7 @@
+
+#include "depifaceonly_export.h"
+
+struct DEPIFACEONLY_EXPORT DepIfaceOnly
+{
+ int foo();
+};