CMakeLists.txt
branch0.9.14
changeset 4276 3ba228dcc6d7
parent 4274 8292066cb45c
child 4283 7dbdaeecebbf
equal deleted inserted replaced
4274:8292066cb45c 4276:3ba228dcc6d7
     2 
     2 
     3 cmake_minimum_required(VERSION 2.6.0 FATAL_ERROR)
     3 cmake_minimum_required(VERSION 2.6.0 FATAL_ERROR)
     4 cmake_policy(SET CMP0003 NEW)
     4 cmake_policy(SET CMP0003 NEW)
     5 
     5 
     6 IF(POLICY CMP0012)
     6 IF(POLICY CMP0012)
     7 	cmake_policy(SET CMP0012 NEW)
     7     cmake_policy(SET CMP0012 NEW)
     8 ENDIF()
     8 ENDIF()
     9 
     9 
    10 #detect subversion revision (if present)
    10 #detect subversion revision (if present)
    11 #set(version_suffix "-dev") #UNSET THIS VARIABLE AT RELEASE TIME
    11 #set(version_suffix "-dev") #UNSET THIS VARIABLE AT RELEASE TIME
    12 IF(version_suffix MATCHES "-dev")
    12 IF(version_suffix MATCHES "-dev")
    13 	set(HW_DEV true)
    13     set(HW_DEV true)
    14 	IF (EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/.hg)
    14     IF (EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/.hg)
    15 		FIND_PROGRAM(HGCOMMAND hg)
    15         FIND_PROGRAM(HGCOMMAND hg)
    16 		IF(HGCOMMAND)
    16         IF(HGCOMMAND)
    17 			exec_program(${HGCOMMAND}
    17             exec_program(${HGCOMMAND}
    18 				     ARGS identify -in ${CMAKE_CURRENT_SOURCE_DIR}
    18                     ARGS identify -in ${CMAKE_CURRENT_SOURCE_DIR}
    19 				     OUTPUT_VARIABLE version_suffix
    19                     OUTPUT_VARIABLE version_suffix
    20 				     )
    20                     )
    21 			STRING(REGEX REPLACE "(.*) +(.*)" "\\2:\\1" version_suffix ${version_suffix})
    21             STRING(REGEX REPLACE "(.*) +(.*)" "\\2:\\1" version_suffix ${version_suffix})
    22 			MESSAGE(STATUS "Building revision ${version_suffix}")
    22             MESSAGE(STATUS "Building revision ${version_suffix}")
    23 			set(version_suffix ".${version_suffix}")
    23             set(version_suffix ".${version_suffix}")
    24 #			#truncate to numbers only - trying to fix a problem described in http://www.hedgewars.org/node/2019
    24 #			#truncate to numbers only - trying to fix a problem described in http://www.hedgewars.org/node/2019
    25 #			STRING(REGEX REPLACE "^\\.(\\d+)" ".\\1" version_suffix ${version_suffix})
    25 #			STRING(REGEX REPLACE "^\\.(\\d+)" ".\\1" version_suffix ${version_suffix})
    26 #			# screw whole suffix if there's no number
    26 #			# screw whole suffix if there's no number
    27 #			STRING(REGEX REPLACE "^\\.([a-z]+.*)" "-dev" version_suffix ${version_suffix})
    27 #			STRING(REGEX REPLACE "^\\.([a-z]+.*)" "-dev" version_suffix ${version_suffix})
    28 		ENDIF()
    28         ENDIF()
    29 	ENDIF()
    29     ENDIF()
    30 ELSE()
    30 ELSE()
    31 	set(HW_DEV false)
    31     set(HW_DEV false)
    32 ENDIF()
    32 ENDIF()
    33 
    33 
    34 set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake_modules)
    34 set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake_modules)
    35 
    35 
    36 set(CPACK_PACKAGE_VERSION_MAJOR "0")
    36 set(CPACK_PACKAGE_VERSION_MAJOR "0")
    44 #	MESSAGE(FATAL_ERROR "In-tree-build detected!")
    44 #	MESSAGE(FATAL_ERROR "In-tree-build detected!")
    45 #ENDIF (${CMAKE_SOURCE_DIR} MATCHES ${CMAKE_BINARY_DIR})
    45 #ENDIF (${CMAKE_SOURCE_DIR} MATCHES ${CMAKE_BINARY_DIR})
    46 
    46 
    47 #set some safe values
    47 #set some safe values
    48 IF(NOT WITH_SERVER)
    48 IF(NOT WITH_SERVER)
    49 	SET(WITH_SERVER 0)
    49     SET(WITH_SERVER 0)
    50 ENDIF(NOT WITH_SERVER)
    50 ENDIF(NOT WITH_SERVER)
    51 IF(NOT BUILD_ENGINE_LIBRARY)
    51 IF(NOT BUILD_ENGINE_LIBRARY)
    52 	SET(BUILD_ENGINE_LIBRARY 0)
    52     SET(BUILD_ENGINE_LIBRARY 0)
    53 ENDIF(NOT BUILD_ENGINE_LIBRARY)
    53 ENDIF(NOT BUILD_ENGINE_LIBRARY)
    54 
    54 
    55 
    55 
    56 if(APPLE)
    56 if(APPLE)
    57 	set(CMAKE_FIND_FRAMEWORK "FIRST")
    57     set(CMAKE_FIND_FRAMEWORK "FIRST")
    58 
    58 
    59 	#paths for creating the bundle
    59     #paths for creating the bundle
    60 	set(bundle_name Hedgewars.app)
    60     set(bundle_name Hedgewars.app)
    61 	set(CMAKE_INSTALL_PREFIX ${bundle_name}/Contents/MacOS/)
    61     set(CMAKE_INSTALL_PREFIX ${bundle_name}/Contents/MacOS/)
    62 	set(DATA_INSTALL_DIR "../Resources/")
    62     set(DATA_INSTALL_DIR "../Resources/")
    63 	set(target_dir ".")
    63     set(target_dir ".")
    64 
    64 
    65 	#what system are we building for
    65     #what system are we building for
    66 	set(minimum_macosx $ENV{MACOSX_DEPLOYMENT_TARGET})
    66     set(minimum_macosx $ENV{MACOSX_DEPLOYMENT_TARGET})
    67 
    67 
    68 	#detect on which system are we
    68     #detect on which system are we
    69 	EXEC_PROGRAM("/usr/bin/sw_vers" OUTPUT_VARIABLE MACOSX_VERSION_TMP)
    69     EXEC_PROGRAM("/usr/bin/sw_vers" OUTPUT_VARIABLE MACOSX_VERSION_TMP)
    70 	STRING(REGEX MATCH "[0-9]+\\.[0-9]+\\.[0-9]+" MACOSX_VERSION_TMP "${MACOSX_VERSION_TMP}")
    70     STRING(REGEX MATCH "[0-9]+\\.[0-9]+\\.[0-9]+" MACOSX_VERSION_TMP "${MACOSX_VERSION_TMP}")
    71 	STRING(REGEX REPLACE "([0-9]+.[0-9]+).[0-9]+" "\\1" current_macosx_version ${MACOSX_VERSION_TMP})
    71     STRING(REGEX REPLACE "([0-9]+.[0-9]+).[0-9]+" "\\1" current_macosx_version ${MACOSX_VERSION_TMP})
    72 
    72 
    73 	if(NOT minimum_macosx)
    73     if(NOT minimum_macosx)
    74 		#if nothing is set, we deploy only for the current system
    74         #if nothing is set, we deploy only for the current system
    75 		set(minimum_macosx ${current_macosx_version})
    75         set(minimum_macosx ${current_macosx_version})
    76 	endif()
    76     endif()
    77 
    77 
    78 	if (minimum_macosx LESS "10.4")
    78     if (minimum_macosx LESS "10.4")
    79 		set(FATAL "Hedgewars is not supported for pre-10.4 systems")
    79         set(FATAL "Hedgewars is not supported for pre-10.4 systems")
    80 	endif()
    80     endif()
    81 
    81 
    82 	set(CMAKE_OSX_ARCHITECTURES "i386;ppc7400")
    82     set(CMAKE_OSX_ARCHITECTURES "i386;ppc7400")
    83 
    83 
    84 
    84 
    85 	#create universal binaries only when it's time to bundle the application, also build server
    85     #create universal binaries only when it's time to bundle the application, also build server
    86 	IF(BUNDLE)
    86     IF(BUNDLE)
    87 		set(WITH_SERVER true)
    87         set(WITH_SERVER true)
    88 		if(NOT minimum_macosx MATCHES "10.6")
    88         if(NOT minimum_macosx MATCHES "10.6")
    89 			set(CMAKE_C_COMPILER "gcc-4.0")
    89             set(CMAKE_C_COMPILER "gcc-4.0")
    90 			set(CMAKE_CXX_COMPILER "g++-4.0")
    90             set(CMAKE_CXX_COMPILER "g++-4.0")
    91 		else()
    91         else()
    92 			if(current_macosx_version MATCHES "10.6")
    92             if(current_macosx_version MATCHES "10.6")
    93 				set(CMAKE_OSX_ARCHITECTURES "x86_64")
    93                 set(CMAKE_OSX_ARCHITECTURES "x86_64")
    94 			endif()
    94             endif()
    95 		endif()
    95         endif()
    96 	ELSE()
    96     ELSE()
    97 		if(current_macosx_version MATCHES "10.6")
    97         if(current_macosx_version MATCHES "10.6")
    98 			set(CMAKE_OSX_ARCHITECTURES "x86_64")
    98             set(CMAKE_OSX_ARCHITECTURES "x86_64")
    99 		endif()
    99         endif()
   100 	ENDIF()
   100     ENDIF()
   101 
   101 
   102 	message(STATUS "Target system: Mac OS X ${minimum_macosx} ${CMAKE_OSX_ARCHITECTURES}")
   102     message(STATUS "Target system: Mac OS X ${minimum_macosx} ${CMAKE_OSX_ARCHITECTURES}")
   103 
   103 
   104 	if(minimum_macosx MATCHES "10.4")
   104     if(minimum_macosx MATCHES "10.4")
   105 		set(CMAKE_OSX_SYSROOT "/Developer/SDKs/MacOSX10.4u.sdk/")
   105         set(CMAKE_OSX_SYSROOT "/Developer/SDKs/MacOSX10.4u.sdk/")
   106 		if(current_macosx_version MATCHES "10.4")
   106         if(current_macosx_version MATCHES "10.4")
   107 			find_package(SDL_mixer REQUIRED)
   107             find_package(SDL_mixer REQUIRED)
   108 			set(pascal_compiler_flags_cmn "-k-dylib_file @loader_path/Frameworks/smpeg.framework/Versions/A/smpeg:${SDLMIXER_LIBRARY}/Versions/A/Frameworks/smpeg.framework/Versions/A/smpeg" "-k-dylib_file @loader_path/Frameworks/mikmod.framework/Versions/A/mikmod:${SDLMIXER_LIBRARY}/Versions/A/Frameworks/mikmod.framework/Versions/A/mikmod" ${pascal_compiler_flags_cmn})
   108             set(pascal_compiler_flags_cmn "-k-dylib_file @loader_path/Frameworks/smpeg.framework/Versions/A/smpeg:${SDLMIXER_LIBRARY}/Versions/A/Frameworks/smpeg.framework/Versions/A/smpeg" "-k-dylib_file @loader_path/Frameworks/mikmod.framework/Versions/A/mikmod:${SDLMIXER_LIBRARY}/Versions/A/Frameworks/mikmod.framework/Versions/A/mikmod" ${pascal_compiler_flags_cmn})
   109 			set(CMAKE_C_FLAGS "-dylib_file @loader_path/Frameworks/smpeg.framework/Versions/A/smpeg:${SDLMIXER_LIBRARY}/Versions/A/Frameworks/smpeg.framework/Versions/A/smpeg -dylib_file @loader_path/Frameworks/mikmod.framework/Versions/A/mikmod:${SDLMIXER_LIBRARY}/Versions/A/Frameworks/mikmod.framework/Versions/A/mikmod")
   109             set(CMAKE_C_FLAGS "-dylib_file @loader_path/Frameworks/smpeg.framework/Versions/A/smpeg:${SDLMIXER_LIBRARY}/Versions/A/Frameworks/smpeg.framework/Versions/A/smpeg -dylib_file @loader_path/Frameworks/mikmod.framework/Versions/A/mikmod:${SDLMIXER_LIBRARY}/Versions/A/Frameworks/mikmod.framework/Versions/A/mikmod")
   110 		endif()
   110         endif()
   111 	else()
   111     else()
   112 		set(CMAKE_OSX_SYSROOT "/Developer/SDKs/MacOSX${minimum_macosx}.sdk/")
   112         set(CMAKE_OSX_SYSROOT "/Developer/SDKs/MacOSX${minimum_macosx}.sdk/")
   113 	endif()
   113     endif()
   114 
   114 
   115 	#1.set deployment target; 2.link with libsdlmain.a (when building an executable); 3.link with liblua.a (which requires readline)
   115     #1.set deployment target; 2.link with libsdlmain.a (when building an executable); 3.link with liblua.a (which requires readline)
   116 	set(pascal_compiler_flags_cmn "-k-macosx_version_min" "-k${minimum_macosx}" "-XR${CMAKE_OSX_SYSROOT}" ${pascal_compiler_flags_cmn})
   116     set(pascal_compiler_flags_cmn "-k-macosx_version_min" "-k${minimum_macosx}" "-XR${CMAKE_OSX_SYSROOT}" ${pascal_compiler_flags_cmn})
   117 	if(NOT BUILD_ENGINE_LIBRARY)
   117     if(NOT BUILD_ENGINE_LIBRARY)
   118 		set(pascal_compiler_flags_cmn "-k${CMAKE_BINARY_DIR}/bin/libSDLmain.a" ${pascal_compiler_flags_cmn})
   118         set(pascal_compiler_flags_cmn "-k${CMAKE_BINARY_DIR}/bin/libSDLmain.a" ${pascal_compiler_flags_cmn})
   119 	endif()
   119     endif()
   120 	set(pascal_compiler_flags_cmn "-k${CMAKE_BINARY_DIR}/bin/liblua.a" "-k-lreadline" ${pascal_compiler_flags_cmn})
   120     set(pascal_compiler_flags_cmn "-k${CMAKE_BINARY_DIR}/bin/liblua.a" "-k-lreadline" ${pascal_compiler_flags_cmn})
   121 else(APPLE)
   121 else(APPLE)
   122 	set(target_dir "bin")
   122     set(target_dir "bin")
   123 endif(APPLE)
   123 endif(APPLE)
   124 
   124 
   125 
   125 
   126 #this snippet sets "Release" mode by default
   126 #this snippet sets "Release" mode by default
   127 #IF (NOT CMAKE_BUILD_TYPE)
   127 #IF (NOT CMAKE_BUILD_TYPE)
   128 #	SET(CMAKE_BUILD_TYPE "Release")
   128 #	SET(CMAKE_BUILD_TYPE "Release")
   129 #ENDIF (NOT CMAKE_BUILD_TYPE)
   129 #ENDIF (NOT CMAKE_BUILD_TYPE)
   130 if (NOT CMAKE_BUILD_TYPE)
   130 if (NOT CMAKE_BUILD_TYPE)
   131 	set (CMAKE_BUILD_TYPE RELEASE CACHE STRING "Choose the type of build, options are: None Debug Release." FORCE)
   131     set (CMAKE_BUILD_TYPE RELEASE CACHE STRING "Choose the type of build, options are: None Debug Release." FORCE)
   132 endif (NOT CMAKE_BUILD_TYPE)
   132 endif (NOT CMAKE_BUILD_TYPE)
   133 
   133 
   134 if(CMAKE_BUILD_TYPE MATCHES RELEASE OR CMAKE_BUILD_TYPE MATCHES "Release")
   134 if(CMAKE_BUILD_TYPE MATCHES RELEASE OR CMAKE_BUILD_TYPE MATCHES "Release")
   135 	message(STATUS "Building Release")
   135     message(STATUS "Building Release")
   136 	set(Optz true)
   136     set(Optz true)
   137 else()
   137 else()
   138 	message(STATUS "Building Debug")
   138     message(STATUS "Building Debug")
   139 	#set(CMAKE_VERBOSE_MAKEFILE true)
   139     #set(CMAKE_VERBOSE_MAKEFILE true)
   140 	set(Optz false)
   140     set(Optz false)
   141 endif()
   141 endif()
   142 
   142 
   143 
   143 
   144 #set default flags values for all the project
   144 #set default flags values for all the project
   145 set(CMAKE_C_FLAGS "-pipe ${CMAKE_C_FLAGS}")
   145 set(CMAKE_C_FLAGS "-pipe ${CMAKE_C_FLAGS}")
   151 
   151 
   152 set(pascal_compiler_flags_cmn "-B" "-FE../bin" "-Cs2000000" "-vewn" ${pascal_compiler_flags_cmn})
   152 set(pascal_compiler_flags_cmn "-B" "-FE../bin" "-Cs2000000" "-vewn" ${pascal_compiler_flags_cmn})
   153 
   153 
   154 if(Optz)
   154 if(Optz)
   155 #	set(pascal_compiler_flags_cmn "-O3" "-OpPENTIUM4" "-CfSSE3" "-Xs" "-Si" ${pascal_compiler_flags_cmn})
   155 #	set(pascal_compiler_flags_cmn "-O3" "-OpPENTIUM4" "-CfSSE3" "-Xs" "-Si" ${pascal_compiler_flags_cmn})
   156 	set(pascal_compiler_flags_cmn "-O2" "-Xs" "-Si" ${pascal_compiler_flags_cmn})
   156     set(pascal_compiler_flags_cmn "-O2" "-Xs" "-Si" ${pascal_compiler_flags_cmn})
   157 	set(haskell_compiler_flags_cmn "-O2" "-w")
   157     set(haskell_compiler_flags_cmn "-O2" "-w")
   158 else(Optz)
   158 else(Optz)
   159 	set(pascal_compiler_flags_cmn "-O-" "-g" "-gh" "-gl" "-dDEBUGFILE" ${pascal_compiler_flags_cmn})
   159     set(pascal_compiler_flags_cmn "-O-" "-g" "-gh" "-gl" "-dDEBUGFILE" ${pascal_compiler_flags_cmn})
   160 	set(haskell_compiler_flags_cmn "-Wall" "-debug" "-dcore-lint")
   160     set(haskell_compiler_flags_cmn "-Wall" "-debug" "-dcore-lint")
   161 endif(Optz)
   161 endif(Optz)
   162 
   162 
   163 
   163 
   164 if(DEFINED DATA_INSTALL_DIR)
   164 if(DEFINED DATA_INSTALL_DIR)
   165 	set(SHAREPATH ${DATA_INSTALL_DIR}/hedgewars/)
   165     set(SHAREPATH ${DATA_INSTALL_DIR}/hedgewars/)
   166 else()
   166 else()
   167 	set(SHAREPATH share/hedgewars/)
   167     set(SHAREPATH share/hedgewars/)
   168 endif()
   168 endif()
   169 set(EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR}/bin)
   169 set(EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR}/bin)
   170 
   170 
   171 set(HEDGEWARS_VERSION "${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}.${CPACK_PACKAGE_VERSION_PATCH}")
   171 set(HEDGEWARS_VERSION "${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}.${CPACK_PACKAGE_VERSION_PATCH}")
   172 set(HEDGEWARS_PROTO_VER 32)
   172 set(HEDGEWARS_PROTO_VER 32)
   173 
   173 
   174 if(WITH_SERVER)
   174 if(WITH_SERVER)
   175 	message(STATUS "Server is going to be built! Make sure you have GHC installed")
   175     message(STATUS "Server is going to be built! Make sure you have GHC installed")
   176 	set(HAVE_NETSERVER true)
   176     set(HAVE_NETSERVER true)
   177 	add_subdirectory(gameServer)
   177     add_subdirectory(gameServer)
   178 else(WITH_SERVER)
   178 else(WITH_SERVER)
   179 	set(HAVE_NETSERVER false)
   179     set(HAVE_NETSERVER false)
   180 endif(WITH_SERVER)
   180 endif(WITH_SERVER)
   181 
   181 
   182 add_subdirectory(misc/liblua)
   182 add_subdirectory(misc/liblua)
   183 add_subdirectory(hedgewars)
   183 add_subdirectory(hedgewars)
   184 #add_subdirectory(misc/libopenalbridge)
   184 #add_subdirectory(misc/libopenalbridge)
   185 if(NOT BUILD_ENGINE_LIBRARY)
   185 if(NOT BUILD_ENGINE_LIBRARY)
   186 	add_subdirectory(bin)
   186     add_subdirectory(bin)
   187 	add_subdirectory(QTfrontend)
   187     add_subdirectory(QTfrontend)
   188 	add_subdirectory(share)
   188     add_subdirectory(share)
   189 	add_subdirectory(tools)
   189     add_subdirectory(tools)
   190 endif()
   190 endif()
   191 
   191 
   192 # CPack vars
   192 # CPack vars
   193 
   193 
   194 set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Hedgewars, a free turn-based strategy")
   194 set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Hedgewars, a free turn-based strategy")
   199 set(CPACK_PACKAGE_EXECUTABLES "hedgewars" "hedgewars")
   199 set(CPACK_PACKAGE_EXECUTABLES "hedgewars" "hedgewars")
   200 set(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_SOURCE_DIR}/COPYING")
   200 set(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_SOURCE_DIR}/COPYING")
   201 set(CPACK_PACKAGE_INSTALL_DIRECTORY "Hedgewars ${HEDGEWARS_VERSION}")
   201 set(CPACK_PACKAGE_INSTALL_DIRECTORY "Hedgewars ${HEDGEWARS_VERSION}")
   202 
   202 
   203 if(WIN32 AND NOT UNIX)
   203 if(WIN32 AND NOT UNIX)
   204 	set(CPACK_NSIS_DISPLAY_NAME "Hedgewars")
   204     set(CPACK_NSIS_DISPLAY_NAME "Hedgewars")
   205 	set(CPACK_NSIS_HELP_LINK "http://www.hedgewars.org/")
   205     set(CPACK_NSIS_HELP_LINK "http://www.hedgewars.org/")
   206 	set(CPACK_NSIS_URL_INFO_ABOUT "http://www.hedgewars.org/")
   206     set(CPACK_NSIS_URL_INFO_ABOUT "http://www.hedgewars.org/")
   207 	set(CPACK_NSIS_CONTACT "unC0Rr@gmail.com")
   207     set(CPACK_NSIS_CONTACT "unC0Rr@gmail.com")
   208 	set(CPACK_NSIS_MODIFY_PATH OFF)
   208     set(CPACK_NSIS_MODIFY_PATH OFF)
   209 	set(CPACK_GENERATOR "ZIP;NSIS")
   209     set(CPACK_GENERATOR "ZIP;NSIS")
   210 	set(CPACK_PACKAGE_INSTALL_REGISTRY_KEY "hedgewars")
   210     set(CPACK_PACKAGE_INSTALL_REGISTRY_KEY "hedgewars")
   211 else(WIN32 AND NOT UNIX)
   211 else(WIN32 AND NOT UNIX)
   212 	set(CPACK_STRIP_FILES "bin/hedgewars;bin/hwengine")
   212     set(CPACK_STRIP_FILES "bin/hedgewars;bin/hwengine")
   213 endif(WIN32 AND NOT UNIX)
   213 endif(WIN32 AND NOT UNIX)
   214 
   214 
   215 set(CPACK_SOURCE_IGNORE_FILES
   215 set(CPACK_SOURCE_IGNORE_FILES
   216 	"~"
   216     "~"
   217     "\\\\.hg"
   217     "\\\\.hg"
   218 	"\\\\.svn"
   218     "\\\\.svn"
   219 	"\\\\.exe$"
   219     "\\\\.exe$"
   220 	"\\\\.a$"
   220     "\\\\.a$"
   221 	"\\\\.dll$"
   221     "\\\\.dll$"
   222 	"\\\\.xcf$"
   222     "\\\\.xcf$"
   223 	"\\\\.cxx$"
   223     "\\\\.cxx$"
   224 	"\\\\.db$"
   224     "\\\\.db$"
   225 	"\\\\.dof$"
   225     "\\\\.dof$"
   226 	"\\\\.layout$"
   226     "\\\\.layout$"
   227 	"\\\\.zip$"
   227     "\\\\.zip$"
   228 	"\\\\.gz$"
   228     "\\\\.gz$"
   229 	"\\\\.bz2$"
   229     "\\\\.bz2$"
   230 	"\\\\.tmp$"
   230     "\\\\.tmp$"
   231 	"\\\\.core$"
   231     "\\\\.core$"
   232 	"\\\\.sh$"
   232     "\\\\.sh$"
   233 	"\\\\.ppu$"
   233     "\\\\.sifz$"
   234 	"\\\\.o$"
   234     "\\\\.svg$"
   235 	"Makefile"
   235     "\\\\.ppu$"
   236 	"Doxyfile"
   236     "\\\\.psd$"
   237 	"CMakeFiles"
   237     "\\\\.o$"
   238 	"debug"
   238     "Makefile"
   239 	"release$"
   239     "Doxyfile"
   240 	"Debug$"
   240     "CMakeFiles"
   241 	"Release$"
   241     "debug"
   242 	"proto.inc$"
   242     "release$"
   243 	"hwconsts.cpp$"
   243     "Debug$"
   244 	"playlist.inc$"
   244     "Release$"
   245 	"CPack"
   245     "proto.inc$"
   246 #	"^${CMAKE_CURRENT_SOURCE_DIR}/misc/libopenalbridge"
   246     "hwconsts.cpp$"
   247 	"^${CMAKE_CURRENT_SOURCE_DIR}/project_files/HedgewarsMobile/"
   247     "playlist.inc$"
   248 	"^${CMAKE_CURRENT_SOURCE_DIR}/bin/[a-z]"
   248     "CPack"
   249 	"^${CMAKE_CURRENT_SOURCE_DIR}/tools/templates"
   249     "cmake_install.cmake$"
   250 	"^${CMAKE_CURRENT_SOURCE_DIR}/doc"
   250     "config.inc$"
   251 	"^${CMAKE_CURRENT_SOURCE_DIR}/templates"
   251 #   "^${CMAKE_CURRENT_SOURCE_DIR}/misc/libopenalbridge"
   252 	"^${CMAKE_CURRENT_SOURCE_DIR}/Graphics"
   252     "^${CMAKE_CURRENT_SOURCE_DIR}/project_files/HedgewarsMobile/"
   253 	"^${CMAKE_CURRENT_SOURCE_DIR}/realtest"
   253     "^${CMAKE_CURRENT_SOURCE_DIR}/bin/[a-z]"
   254 	"^${CMAKE_CURRENT_SOURCE_DIR}/tmp"
   254     "^${CMAKE_CURRENT_SOURCE_DIR}/tools/templates"
   255 	"^${CMAKE_CURRENT_SOURCE_DIR}/utils"
   255     "^${CMAKE_CURRENT_SOURCE_DIR}/doc"
   256 	"^${CMAKE_CURRENT_SOURCE_DIR}/share/hedgewars/Data/Maps/test"
   256     "^${CMAKE_CURRENT_SOURCE_DIR}/templates"
   257 	"^${CMAKE_CURRENT_SOURCE_DIR}/share/hedgewars/Data/Themes/ethereal"
   257     "^${CMAKE_CURRENT_SOURCE_DIR}/Graphics"
   258 	"^${CMAKE_CURRENT_SOURCE_DIR}/install_manifest.txt"
   258     "^${CMAKE_CURRENT_SOURCE_DIR}/realtest"
   259 	"^${CMAKE_CURRENT_SOURCE_DIR}/CMakeCache.txt"
   259     "^${CMAKE_CURRENT_SOURCE_DIR}/tmp"
   260 	"^${CMAKE_CURRENT_SOURCE_DIR}/hedgewars\\\\."
   260     "^${CMAKE_CURRENT_SOURCE_DIR}/utils"
       
   261     "^${CMAKE_CURRENT_SOURCE_DIR}/share/hedgewars/Data/Maps/test"
       
   262     "^${CMAKE_CURRENT_SOURCE_DIR}/share/hedgewars/Data/Themes/ethereal"
       
   263     "^${CMAKE_CURRENT_SOURCE_DIR}/install_manifest.txt"
       
   264     "^${CMAKE_CURRENT_SOURCE_DIR}/CMakeCache.txt"
       
   265     "^${CMAKE_CURRENT_SOURCE_DIR}/hedgewars\\\\."
   261 )
   266 )
   262 
   267 
   263 include(CPack)
   268 include(CPack)