diff options
author | Brad King <brad.king@kitware.com> | 2013-07-25 12:37:16 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2013-07-25 12:37:16 (GMT) |
commit | 2f8dace125a0d0f7e731e439eaa4a2a27b687248 (patch) | |
tree | cc72af0370f2dd833b7a163bda1b2d1690c76509 /Tests/CMakeCommands/target_link_libraries/newsignature1.cpp | |
parent | 9f8fcdd2d8a819d00fcea28be52aede1e8b698ec (diff) | |
parent | b655865bbf85e0bb9587dea099c5996836f48cb8 (diff) | |
download | CMake-2f8dace125a0d0f7e731e439eaa4a2a27b687248.zip CMake-2f8dace125a0d0f7e731e439eaa4a2a27b687248.tar.gz CMake-2f8dace125a0d0f7e731e439eaa4a2a27b687248.tar.bz2 |
Merge topic 'tll-new-signatures'
b655865 target_link_libraries: Add PUBLIC/PRIVATE/INTERFACE keyword signature
Diffstat (limited to 'Tests/CMakeCommands/target_link_libraries/newsignature1.cpp')
-rw-r--r-- | Tests/CMakeCommands/target_link_libraries/newsignature1.cpp | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/Tests/CMakeCommands/target_link_libraries/newsignature1.cpp b/Tests/CMakeCommands/target_link_libraries/newsignature1.cpp new file mode 100644 index 0000000..d1321a1 --- /dev/null +++ b/Tests/CMakeCommands/target_link_libraries/newsignature1.cpp @@ -0,0 +1,19 @@ + +#include "depB.h" +#include "depC.h" +#include "depIfaceOnly.h" + +#include "subdirlib.h" + +int main(int, char **) +{ + DepA a; + DepB b; + DepC c; + + DepIfaceOnly iface_only; + + SubDirLibObject sd; + + return a.foo() + b.foo() + c.foo() + iface_only.foo() + sd.foo(); +} |