summaryrefslogtreecommitdiffstats
path: root/Tests/CMakeCommands/target_link_libraries/depC.h
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2011-10-07 00:41:37 (GMT)
committerBrad King <brad.king@kitware.com>2011-11-22 21:52:35 (GMT)
commit914382224d34cfb86a67c8191b6e7b3a3e918f88 (patch)
treef5796b3ff7095e8e0fad805fe219aead007b57d3 /Tests/CMakeCommands/target_link_libraries/depC.h
parentcf64218eeb7dbe8a0d71292c42df63c4cb982fed (diff)
downloadCMake-914382224d34cfb86a67c8191b6e7b3a3e918f88.zip
CMake-914382224d34cfb86a67c8191b6e7b3a3e918f88.tar.gz
CMake-914382224d34cfb86a67c8191b6e7b3a3e918f88.tar.bz2
target_link_libraries: Add LINK_(PUBLIC|PRIVATE) options
Makes it possible to specify the link dependencies and link interfaces in one command without repetition.
Diffstat (limited to 'Tests/CMakeCommands/target_link_libraries/depC.h')
-rw-r--r--Tests/CMakeCommands/target_link_libraries/depC.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/Tests/CMakeCommands/target_link_libraries/depC.h b/Tests/CMakeCommands/target_link_libraries/depC.h
new file mode 100644
index 0000000..4d65c9e
--- /dev/null
+++ b/Tests/CMakeCommands/target_link_libraries/depC.h
@@ -0,0 +1,12 @@
+
+#include "depc_export.h"
+
+#include "depA.h"
+
+struct DEPC_EXPORT DepC
+{
+ int foo();
+
+ DepA getA();
+
+};