mirror of
https://github.com/neovim/neovim.git
synced 2024-12-19 18:55:14 -07:00
CMake: Add CPack settings to CMakeLists.txt
This commit is contained in:
parent
57cfb95758
commit
fd10729bc8
@ -469,3 +469,15 @@ if(LUACHECK_PRG)
|
|||||||
-DTEST_DIR=${CMAKE_CURRENT_SOURCE_DIR}/test
|
-DTEST_DIR=${CMAKE_CURRENT_SOURCE_DIR}/test
|
||||||
-P ${PROJECT_SOURCE_DIR}/cmake/RunTestsLint.cmake)
|
-P ${PROJECT_SOURCE_DIR}/cmake/RunTestsLint.cmake)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
set(CPACK_PACKAGE_NAME "Neovim")
|
||||||
|
set(CPACK_PACKAGE_VENDOR "neovim.io")
|
||||||
|
set(CPACK_PACKAGE_VERSION ${NVIM_VERSION_MEDIUM})
|
||||||
|
set(CPACK_PACKAGE_INSTALL_DIRECTORY "Neovim")
|
||||||
|
# Set toplevel directory/installer name as Neovim
|
||||||
|
set(CPACK_PACKAGE_FILE_NAME "Neovim")
|
||||||
|
set(CPACK_TOPLEVEL_TAG "Neovim")
|
||||||
|
set(CPACK_RESOURCE_FILE_LICENSE "${PROJECT_SOURCE_DIR}/LICENSE")
|
||||||
|
set(CPACK_NSIS_MODIFY_PATH ON)
|
||||||
|
set(CPACK_NSIS_ENABLE_UNINSTALL_BEFORE_INSTALL ON)
|
||||||
|
include(CPack)
|
||||||
|
Loading…
Reference in New Issue
Block a user