changes needed to build out-of-source and create the .deb and .rpm packages

This commit is contained in:
Stephane Charette 2015-04-27 18:55:16 -07:00 committed by darkrose
parent 161b1e8dc9
commit 66fade0744
3 changed files with 10 additions and 0 deletions

4
.gitignore vendored
View File

@ -1,3 +1,7 @@
build
build32
build64
bin/
*.a

View File

@ -147,6 +147,11 @@ else()
set(CPACK_PACKAGE_FILE_NAME "${PROJECT_NAME}-${VERSION_STRING}-linux")
set(CPACK_GENERATOR TGZ)
set(CPACK_SOURCE_GENERATOR TGZ)
SET ( CPACK_DEBIAN_PACKAGE_SECTION "other" )
SET ( CPACK_DEBIAN_PACKAGE_PRIORITY "optional" )
SET ( CPACK_DEBIAN_PACKAGE_MAINTAINER "Stéphane Charette <stephanecharette@gmail.com>" )
SET ( CPACK_GENERATOR "DEB;RPM" )
endif()
include(CPack)

View File

@ -268,6 +268,7 @@ set(voxelandsserver_SRCS
)
include_directories(
${CMAKE_BINARY_DIR}/src/jthread
${PROJECT_BINARY_DIR}
${IRRLICHT_INCLUDE_DIR}
${ZLIB_INCLUDE_DIR}