diff options
author | Brad King <brad.king@kitware.com> | 2013-08-06 13:07:21 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2013-08-06 13:07:21 (GMT) |
commit | 87e0e6e497b76f4ab7292cca34bd7c006832723b (patch) | |
tree | aca65d62aec61aae5e3394808d6c0cd264f3376f /Tests/RunCMake/alias_targets/install-export.cmake | |
parent | 0174133dfd1f46662bb517677d3bf0a765b11e3e (diff) | |
parent | 370bf554151a1b272baf62a0ce9823cf9995116e (diff) | |
download | CMake-87e0e6e497b76f4ab7292cca34bd7c006832723b.zip CMake-87e0e6e497b76f4ab7292cca34bd7c006832723b.tar.gz CMake-87e0e6e497b76f4ab7292cca34bd7c006832723b.tar.bz2 |
Merge topic 'ALIAS-targets'
370bf55 Add the ALIAS target concept for libraries and executables.
Diffstat (limited to 'Tests/RunCMake/alias_targets/install-export.cmake')
-rw-r--r-- | Tests/RunCMake/alias_targets/install-export.cmake | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Tests/RunCMake/alias_targets/install-export.cmake b/Tests/RunCMake/alias_targets/install-export.cmake new file mode 100644 index 0000000..b1c6a4f --- /dev/null +++ b/Tests/RunCMake/alias_targets/install-export.cmake @@ -0,0 +1,9 @@ + +enable_language(CXX) + +add_library(foo empty.cpp) + +add_library(alias ALIAS foo) + +install(TARGETS alias EXPORT theTargets DESTINATION prefix) +install(EXPORT theTargets DESTINATION lib/cmake) |