if(NOT SCORE_DEPLOYMENT_BUILD) return() endif() set(CPACK_PACKAGE_NAME "ossia score") set(CPACK_PACKAGE_VENDOR "ossia") set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "An intermedia sequencer for the precise and flexible scripting of interactive scenarios.") set(CPACK_PACKAGE_VERSION "${SCORE_VERSION}") set(CPACK_PACKAGE_VERSION_MAJOR "${SCORE_VERSION_MAJOR}") set(CPACK_PACKAGE_VERSION_MINOR "${SCORE_VERSION_MINOR}") set(CPACK_PACKAGE_VERSION_PATCH "${SCORE_VERSION_PATCH}") set(CPACK_PACKAGE_VERSION_EXTRA "${SCORE_VERSION_EXTRA}") set(CPACK_RESOURCE_FILE_LICENSE "${SCORE_ROOT_SOURCE_DIR}/LICENSE.txt") set(CPACK_SOURCE_GENERATOR TGZ) set(CPACK_SOURCE_PACKAGE_FILE_NAME "ossia-score") set(CPACK_SOURCE_IGNORE_FILES "\\\\.#;/#;.*~" "\\\\.git" "/\\\\.idea" ".*\\\\.user" "max-sdk" "pure-data" "/src/addons/score.*" "/src/disabled_addons" "/src/disabled-addons" "/Documentation" "/3rdparty/ossia/3rdparty/concurrentqueue/benchmarks" ) set(CPACK_INSTALL_CMAKE_PROJECTS) if(${CMAKE_SYSTEM_NAME} MATCHES "Darwin") include(ScoreDeploymentOSX) elseif(${CMAKE_SYSTEM_NAME} MATCHES "Android") include(ScoreDeploymentAndroid) elseif(${CMAKE_SYSTEM_NAME} MATCHES "Linux") include(ScoreDeploymentLinux) elseif(${CMAKE_SYSTEM_NAME} MATCHES "Windows") include(ScoreDeploymentWindows) include(ScoreDeploymentWindowsStore) endif() if(SCORE_INSTALL_HEADERS) install( FILES ${SCORE_ROOT_SOURCE_DIR}/cmake/ScoreAvndHelper.cmake ${SCORE_ROOT_SOURCE_DIR}/cmake/ScoreExternalAddon.cmake ${SCORE_ROOT_SOURCE_DIR}/cmake/ScoreExternalAddon.developer.cmake ${SCORE_ROOT_SOURCE_DIR}/cmake/ScoreExternalAddon.sdk.cmake ${SCORE_ROOT_SOURCE_DIR}/cmake/ScoreFunctions.cmake ${SCORE_ROOT_SOURCE_DIR}/cmake/ScoreTargetSetup.cmake DESTINATION lib/cmake/score COMPONENT Devel OPTIONAL ) endif() include(CPack)