1 install(FILES ${CMAKE_SOURCE_DIR}/COPYING
2 DESTINATION SuperCollider
5 install(FILES ${CMAKE_SOURCE_DIR}/README_WINDOWS.txt
6 DESTINATION SuperCollider
10 # This target invokes fixup_bundle to copy dependencies
11 # into the installation directory:
12 add_custom_target( bundle
14 "-DSC_INSTALL_PREFIX=${CMAKE_INSTALL_PREFIX}"
15 "-DSC_WIN_DEP_DIRS=${SC_WIN_DEP_DIRS}"
16 -P "${CMAKE_CURRENT_SOURCE_DIR}/bundle.cmake"
17 COMMENT "Bundling the dependencies:"
21 # This target invokes a custom NSIS script to create
22 # the installer, because CPack would not create a suitable
24 add_custom_target( package
26 "-DSC_VERSION=${PROJECT_VERSION}"
27 "-DSC_INSTALL_PREFIX=${CMAKE_INSTALL_PREFIX}"
29 "-DNSIS_SCRIPT=${CMAKE_CURRENT_SOURCE_DIR}/supercollider.nsi"
30 -P "${CMAKE_CURRENT_SOURCE_DIR}/package.cmake"
31 COMMENT "Building the installer:"