blob: 8ee45f6ec9807d87cef1bd0c70c89ceb9ff1c1bb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -27,48 +27,7 @@ include(CTest)
option(${PROJECT_NAME}_BUILD_JUCEPLUGIN "Build Juce plugin" on)
option(${PROJECT_NAME}_BUILD_JUCEPLUGIN_CLAP "Build CLAP version of Juce plugin" on)
-# ----------------- CPack basic parameters
-
-message("CMAKE_SYSTEM_NAME: " ${CMAKE_SYSTEM_NAME})
-message("CMAKE_SYSTEM_PROCESSOR: " ${CMAKE_SYSTEM_PROCESSOR})
-
-if(${CMAKE_SYSTEM_NAME} STREQUAL "Linux")
- set(CPACK_SYSTEM_NAME ${CMAKE_SYSTEM_NAME}_${CMAKE_SYSTEM_PROCESSOR})
-elseif(${CMAKE_SYSTEM_NAME} STREQUAL "Darwin")
- set(CPACK_SYSTEM_NAME "MacOS")
-endif()
-
-set(CPACK_PACKAGE_CONTACT "The Usual Suspects")
-set(CPACK_PACKAGE_VENDOR "The Usual Suspects")
-set(CPACK_PACKAGE_NAME "DSP56300Emu")
-set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "DSP 56300 family emulator audio plugin")
-
-set(CPACK_DEBIAN_PACKAGE_MAINTAINER "The Usual Suspects")
-set(CPACK_DEBIAN_PACKAGE_HOMEPAGE "https://dsp56300.wordpress.com")
-set(CPACK_DEBIAN_PACKAGE_SHLIBDEPS ON)
-
-set(CPACK_RPM_PACKAGE_AUTOREQ "yes")
-set(CPACK_RPM_PACKAGE_URL ${CPACK_DEBIAN_PACKAGE_HOMEPAGE})
-set(CPACK_RPM_PACKAGE_DESCRIPTION ${CPACK_PACKAGE_DESCRIPTION_SUMMARY})
-
# ----------------- source
add_subdirectory(source)
add_subdirectory(doc)
-
-# ----------------- CPack parameters based on source
-
-get_cmake_property(CPACK_COMPONENTS_ALL COMPONENTS)
-list(REMOVE_ITEM CPACK_COMPONENTS_ALL "Unspecified")
-
-set(CPACK_COMPONENTS_GROUPING IGNORE)
-
-set(CPACK_ARCHIVE_COMPONENT_INSTALL ON)
-set(CPACK_DEB_COMPONENT_INSTALL ON)
-set(CPACK_RPM_COMPONENT_INSTALL ON)
-
-if(UNIX AND NOT APPLE)
- set(CPACK_PACKAGING_INSTALL_PREFIX /usr/local)
-endif()
-
-include(CPack)
|