summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CPack/DEB_GENERATE_SHLIBS.cmake
diff options
context:
space:
mode:
authorDomen Vrankar <domen.vrankar@gmail.com>2016-11-26 17:57:46 (GMT)
committerDomen Vrankar <domen.vrankar@gmail.com>2016-11-27 22:20:34 (GMT)
commit53a69c7dd47f693efec85e031b89251dd7bdef2f (patch)
tree53acaab2bb7329e5a1cfa5c8dc1f35ba9c8be71f /Tests/RunCMake/CPack/DEB_GENERATE_SHLIBS.cmake
parent70b52a7113664b8b74b231d62ff798952d29ae1f (diff)
downloadCMake-53a69c7dd47f693efec85e031b89251dd7bdef2f.zip
CMake-53a69c7dd47f693efec85e031b89251dd7bdef2f.tar.gz
CMake-53a69c7dd47f693efec85e031b89251dd7bdef2f.tar.bz2
Tests: CPack move tests to separate dir
For greater transparency tests are moved to a subfolder with each test having its own dir.
Diffstat (limited to 'Tests/RunCMake/CPack/DEB_GENERATE_SHLIBS.cmake')
-rw-r--r--Tests/RunCMake/CPack/DEB_GENERATE_SHLIBS.cmake16
1 files changed, 0 insertions, 16 deletions
diff --git a/Tests/RunCMake/CPack/DEB_GENERATE_SHLIBS.cmake b/Tests/RunCMake/CPack/DEB_GENERATE_SHLIBS.cmake
deleted file mode 100644
index fa0bc35..0000000
--- a/Tests/RunCMake/CPack/DEB_GENERATE_SHLIBS.cmake
+++ /dev/null
@@ -1,16 +0,0 @@
-set(CPACK_PACKAGE_CONTACT "someone")
-set(CPACK_DEB_COMPONENT_INSTALL "ON")
-set(CPACK_DEBIAN_FILE_NAME "DEB-DEFAULT")
-
-set(CPACK_DEBIAN_PACKAGE_GENERATE_SHLIBS "ON")
-
-set(CMAKE_BUILD_WITH_INSTALL_RPATH 1)
-
-file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/test_lib.hpp"
- "int test_lib();\n")
-file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/test_lib.cpp"
- "#include \"test_lib.hpp\"\nint test_lib() {return 0;}\n")
-add_library(test_lib SHARED "${CMAKE_CURRENT_BINARY_DIR}/test_lib.cpp")
-set_target_properties(test_lib PROPERTIES SOVERSION "0.8")
-
-install(TARGETS test_lib DESTINATION foo COMPONENT libs)