mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-27 07:59:20 +00:00
Add CPack targets for source package generation
This commit is contained in:
parent
039d1b4bf5
commit
2b10a470db
1 changed files with 15 additions and 0 deletions
|
|
@ -366,3 +366,18 @@ install(FILES
|
|||
"${CMAKE_CURRENT_BINARY_DIR}/LinphoneConfigVersion.cmake"
|
||||
DESTINATION ${CONFIG_PACKAGE_LOCATION}
|
||||
)
|
||||
|
||||
|
||||
# CPack settings
|
||||
set(CPACK_PACKAGE_NAME "linphone")
|
||||
set(CPACK_PACKAGE_VERSION ${PROJECT_VERSION})
|
||||
set(CPACK_SOURCE_GENERATOR "TGZ")
|
||||
set(CPACK_SOURCE_PACKAGE_FILE_NAME "${CPACK_PACKAGE_NAME}-${CPACK_PACKAGE_VERSION}")
|
||||
set(CPACK_SOURCE_IGNORE_FILES
|
||||
"^${CMAKE_BINARY_DIR}"
|
||||
"/\\\\..+"
|
||||
"^${CMAKE_SOURCE_DIR}/mediastreamer2"
|
||||
"^${CMAKE_SOURCE_DIR}/oRTP"
|
||||
)
|
||||
|
||||
include(CPack)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue