CMakeLists.txt
author unc0rr
Sat, 05 Aug 2006 20:57:36 +0000
changeset 95 1ef5e2c41115
parent 91 5688d2141464
child 98 f1d252c234ec
permissions -rw-r--r--
- Fixed compilation - Rewritten attack code - Many small changes
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
73
fe1c62875a19 - More smooth hedgehogs physics
unc0rr
parents:
diff changeset
     1
project(hedgewars)
fe1c62875a19 - More smooth hedgehogs physics
unc0rr
parents:
diff changeset
     2
fe1c62875a19 - More smooth hedgehogs physics
unc0rr
parents:
diff changeset
     3
cmake_minimum_required(VERSION 2.4.0)
fe1c62875a19 - More smooth hedgehogs physics
unc0rr
parents:
diff changeset
     4
fe1c62875a19 - More smooth hedgehogs physics
unc0rr
parents:
diff changeset
     5
add_subdirectory(QTfrontend)
fe1c62875a19 - More smooth hedgehogs physics
unc0rr
parents:
diff changeset
     6
add_subdirectory(hedgewars)
91
5688d2141464 oops, forgot to commit a file
unc0rr
parents: 73
diff changeset
     7
5688d2141464 oops, forgot to commit a file
unc0rr
parents: 73
diff changeset
     8
set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Hedgewars, a turn-based strategy")
5688d2141464 oops, forgot to commit a file
unc0rr
parents: 73
diff changeset
     9
set(CPACK_PACKAGE_VENDOR "Hedgewars")
5688d2141464 oops, forgot to commit a file
unc0rr
parents: 73
diff changeset
    10
set(CPACK_PACKAGE_VERSION_MAJOR "0")
5688d2141464 oops, forgot to commit a file
unc0rr
parents: 73
diff changeset
    11
set(CPACK_PACKAGE_VERSION_MINOR "2")
5688d2141464 oops, forgot to commit a file
unc0rr
parents: 73
diff changeset
    12
set(CPACK_PACKAGE_VERSION_PATCH "0")
5688d2141464 oops, forgot to commit a file
unc0rr
parents: 73
diff changeset
    13
set(CPACK_PACKAGE_FILE_NAME "hedgewars-${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}.${CPACK_PACKAGE_VERSION_PATCH}")
5688d2141464 oops, forgot to commit a file
unc0rr
parents: 73
diff changeset
    14
set(CPACK_PACKAGE_EXECUTABLES "hedgewars" "hwengine")
5688d2141464 oops, forgot to commit a file
unc0rr
parents: 73
diff changeset
    15
#set(CPACK_RESOURCE_FILE_LICENSE "COPYING.txt")
5688d2141464 oops, forgot to commit a file
unc0rr
parents: 73
diff changeset
    16
5688d2141464 oops, forgot to commit a file
unc0rr
parents: 73
diff changeset
    17
if(WIN32 AND NOT UNIX)
5688d2141464 oops, forgot to commit a file
unc0rr
parents: 73
diff changeset
    18
	set(CPACK_NSIS_DISPLAY_NAME "Hedgewars, a cross-platform, open-source turn-based Worms-like strategy")
5688d2141464 oops, forgot to commit a file
unc0rr
parents: 73
diff changeset
    19
	set(CPACK_NSIS_HELP_LINK "http://www.hedgewars.org/")
5688d2141464 oops, forgot to commit a file
unc0rr
parents: 73
diff changeset
    20
	set(CPACK_NSIS_URL_INFO_ABOUT "http://www.hedgewars.org/")
5688d2141464 oops, forgot to commit a file
unc0rr
parents: 73
diff changeset
    21
	set(CPACK_NSIS_CONTACT "unC0Rr@gmail.com")
5688d2141464 oops, forgot to commit a file
unc0rr
parents: 73
diff changeset
    22
	set(CPACK_NSIS_MODIFY_PATH ON)
5688d2141464 oops, forgot to commit a file
unc0rr
parents: 73
diff changeset
    23
else(WIN32 AND NOT UNIX)
5688d2141464 oops, forgot to commit a file
unc0rr
parents: 73
diff changeset
    24
	set(CPACK_STRIP_FILES "bin/hedgewars;bin/hwengine")
5688d2141464 oops, forgot to commit a file
unc0rr
parents: 73
diff changeset
    25
endif(WIN32 AND NOT UNIX)
5688d2141464 oops, forgot to commit a file
unc0rr
parents: 73
diff changeset
    26
5688d2141464 oops, forgot to commit a file
unc0rr
parents: 73
diff changeset
    27
include(CPack)
5688d2141464 oops, forgot to commit a file
unc0rr
parents: 73
diff changeset
    28