Files
noggit-red/cmake/win32_pack.cmake
2020-10-09 20:16:53 +03:00

15 lines
543 B
CMake

# This file is part of Noggit3, licensed under GNU General Public License (version 3).
install(TARGETS noggit DESTINATION .)
install(DIRECTORY bin/shaders DESTINATION .)
install(DIRECTORY bin/fonts DESTINATION .)
install(FILES bin/noggit_template.conf bin/freetype6.dll bin/StormLib.dll bin/glew32.dll bin/zlib1.dll DESTINATION .)
set(CPACK_GENERATOR "ZIP;NSIS")
# \todo Re-add proper version, if we ever use cpack again.
SET(CPACK_BUNDLE_NAME "Noggit_3")
SET(CPACK_PACKAGE_FILE_NAME "Noggit")
SET(CPACK_PACKAGE_VERSION "3")
include(CPack)