💿🐜 Antkeeper source code https://antkeeper.com
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

420 lines
13 KiB

7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
  1. <<<<<<< HEAD
  2. cmake_minimum_required(VERSION 3.7)
  3. # Set compiler flags
  4. set(CMAKE_CXX_FLAGS "-Wall -Wextra")
  5. set(CMAKE_CXX_FLAGS_DEBUG "-g -O3 -DDEBUG")
  6. set(CMAKE_CXX_FLAGS_RELEASE "-O3 -DNDEBUG")
  7. # Include project macro
  8. include(${CMAKE_CURRENT_SOURCE_DIR}/cmake/project.cmake)
  9. # Find dependency packages
  10. find_package(emergent REQUIRED CONFIG)
  11. find_package(OpenAL REQUIRED CONFIG)
  12. # Determine dependencies
  13. set(STATIC_LIBS
  14. emergent
  15. OpenAL::OpenAL)
  16. # Generate configuration header file
  17. configure_file(${PROJECT_SOURCE_DIR}/src/configuration.hpp.in
  18. ${PROJECT_BINARY_DIR}/src/configuration.hpp)
  19. # Collect source files
  20. file(GLOB_RECURSE SOURCE_FILES
  21. ${PROJECT_SOURCE_DIR}/src/*.cpp)
  22. # Add executable target
  23. set(EXECUTABLE_TARGET ${PROJECT_NAME}-executable)
  24. add_executable(${EXECUTABLE_TARGET} ${SOURCE_FILES})
  25. set_target_properties(${EXECUTABLE_TARGET} PROPERTIES OUTPUT_NAME ${PROJECT_NAME})
  26. # Set include directories
  27. target_include_directories(${EXECUTABLE_TARGET}
  28. PUBLIC
  29. ${PROJECT_SOURCE_DIR}/src
  30. ${PROJECT_BINARY_DIR}/src)
  31. # Link to dependencies
  32. target_link_libraries(${EXECUTABLE_TARGET} ${STATIC_LIBS})
  33. # Install executable
  34. install(TARGETS ${EXECUTABLE_TARGET} DESTINATION bin)
  35. =======
  36. cmake_minimum_required(VERSION 3.7)
  37. project(antkeeper
  38. VERSION "0.0.0"
  39. )
  40. option(STANDALONE "Distribute in a standalone archive." OFF)
  41. set(LANGUAGE "en-us" CACHE STRING "")
  42. # Determine target build platform according to binary dir
  43. get_filename_component(PLATFORM ${PROJECT_BINARY_DIR} NAME CACHE)
  44. # Check for architecture mismatches
  45. if("${CMAKE_SIZEOF_VOID_P}" STREQUAL "4")
  46. if (${PLATFORM} STREQUAL "win64" OR ${PLATFORM} STREQUAL "linux64")
  47. message(FATAL_ERROR "Compiler architecture is 32-bit but target architecture is 64-bit.")
  48. endif()
  49. else()
  50. if (${PLATFORM} STREQUAL "win32" OR ${PLATFORM} STREQUAL "linux32")
  51. message(FATAL_ERROR "Compiler architecture is 64-bit but target architecture is 32-bit.")
  52. endif()
  53. endif()
  54. # Setup configuration strings
  55. set(ANTKEEPER_VERSION ${PROJECT_VERSION})
  56. set(ANTKEEPER_VERSION_MAJOR ${PROJECT_VERSION_MAJOR})
  57. set(ANTKEEPER_VERSION_MINOR ${PROJECT_VERSION_MINOR})
  58. set(ANTKEEPER_VERSION_PATCH ${PROJECT_VERSION_PATCH})
  59. if(CMAKE_BUILD_TYPE STREQUAL "Debug")
  60. set(ANTKEEPER_BUILD_TYPE debug)
  61. set(ANTKEEPER_DEBUG ON)
  62. else()
  63. set(ANTKEEPER_BUILD_TYPE release)
  64. set(ANTKEEPER_DEBUG OFF)
  65. endif()
  66. # Setup build type paths
  67. set(BUILD_DIR ${PROJECT_SOURCE_DIR}/bin)
  68. set(BUILD_DEBUG_DIR ${BUILD_DIR}/debug)
  69. set(BUILD_RELEASE_DIR ${BUILD_DIR}/release)
  70. # Set package name
  71. set(PACKAGE_NAME ${PROJECT_NAME}-${PROJECT_VERSION}-${PLATFORM})
  72. set(PACKAGE_BUILD_NAME ${PACKAGE_NAME}-${ANTKEEPER_BUILD_TYPE})
  73. # Set package directory
  74. if(CMAKE_BUILD_TYPE STREQUAL "Debug")
  75. set(PLATFORM_PACKAGE_DIR ${BUILD_DEBUG_DIR}/${PACKAGE_NAME})
  76. else()
  77. set(PLATFORM_PACKAGE_DIR ${BUILD_RELEASE_DIR}/${PACKAGE_NAME})
  78. endif()
  79. # Set C++ compiler flags for debug and release build types
  80. if(MSVC)
  81. set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /W2")
  82. elseif(CMAKE_COMPILER_IS_GNUCC OR CMAKE_COMPILER_IS_GNUCXX)
  83. # Update if necessary
  84. set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall")
  85. set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS} -O0 -g")
  86. set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS} -O3 -s -DNDEBUG")
  87. endif()
  88. # Set C and C++ compiler flags for the target architecture
  89. if(${PLATFORM} STREQUAL "win32" OR ${PLATFORM} STREQUAL "linux32")
  90. set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -m32")
  91. set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -m32")
  92. elseif(${PLATFORM} STREQUAL "win64" OR ${PLATFORM} STREQUAL "linux64")
  93. set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -m64")
  94. set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -m64")
  95. elseif(${PLATFORM} STREQUAL "osx" AND CMAKE_OSX_ARCHITECTURES STREQUAL "")
  96. # 32-bit
  97. #set(CMAKE_OSX_ARCHITECTURES "i386" CACHE STRING "" FORCE)
  98. # 64-bit
  99. #set(CMAKE_OSX_ARCHITECTURES "x86_64" CACHE STRING "" FORCE)
  100. # 96-bit universal
  101. set(CMAKE_OSX_ARCHITECTURES "x86_64;i386" CACHE STRING "" FORCE)
  102. endif()
  103. # Disable .manifest generation
  104. if(${PLATFORM} STREQUAL "win32" OR ${PLATFORM} STREQUAL "win64")
  105. set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} /MANIFEST:NO /OPT:REF /OPT:ICF")
  106. endif()
  107. # Set C++ version
  108. set(CMAKE_CXX_STANDARD 11)
  109. set(CMAKE_CXX_STANDARD_REQUIRED ON)
  110. set(CMAKE_CXX_EXTENSIONS OFF)
  111. # Include ExternalProject_Add command
  112. include(${CMAKE_ROOT}/Modules/ExternalProject.cmake)
  113. # Configure, build and install emergent
  114. set(EMERGENT_BUILD_DIR ${PROJECT_BINARY_DIR}/deps/build/emergent)
  115. set(EMERGENT_INSTALL_DIR ${PROJECT_BINARY_DIR}/deps/install/emergent)
  116. set(EMERGENT_INCLUDE_DIR ${EMERGENT_INSTALL_DIR}/include)
  117. set(EMERGENT_GL3W_INCLUDE_DIR ${PROJECT_SOURCE_DIR}/lib/emergent/lib/gl3w/include)
  118. set(EMERGENT_GLM_INCLUDE_DIR ${PROJECT_SOURCE_DIR}/lib/emergent/lib/glm)
  119. set(EMERGENT_STB_INCLUDE_DIR ${PROJECT_SOURCE_DIR}/lib/emergent/lib/stb)
  120. set(EMERGENT_INCLUDE_DIRS
  121. ${EMERGENT_INCLUDE_DIR}
  122. ${EMERGENT_GL3W_INCLUDE_DIR}
  123. ${EMERGENT_GLM_INCLUDE_DIR}
  124. ${EMERGENT_STB_INCLUDE_DIR}
  125. )
  126. set(EMERGENT_LIBRARY emergent)
  127. if(CMAKE_BUILD_TYPE STREQUAL "Debug")
  128. set(FREETYPE_LIBRARY freetyped)
  129. else()
  130. set(FREETYPE_LIBRARY freetype)
  131. endif()
  132. set(EMERGENT_LIBRARIES
  133. ${EMERGENT_LIBRARY}
  134. ${FREETYPE_LIBRARY}
  135. )
  136. ExternalProject_Add(emergent-project
  137. SOURCE_DIR ${PROJECT_SOURCE_DIR}/lib/emergent
  138. CMAKE_ARGS
  139. "-DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE}"
  140. "-DCMAKE_INSTALL_PREFIX=${EMERGENT_INSTALL_DIR}"
  141. BINARY_DIR ${EMERGENT_BUILD_DIR}
  142. INSTALL_DIR ${EMERGENT_INSTALL_DIR})
  143. # Configure, build and install SDL2
  144. set(SDL2_BUILD_DIR ${PROJECT_BINARY_DIR}/deps/build/SDL2)
  145. set(SDL2_INSTALL_DIR ${PROJECT_BINARY_DIR}/deps/install/SDL2)
  146. set(SDL2_INCLUDE_DIR ${SDL2_INSTALL_DIR}/include)
  147. set(SDL2_LIBRARY SDL2)
  148. set(SDL2main_LIBRARY SDL2main)
  149. set(SDL2_LIBRARIES
  150. ${SDL2main_LIBRARY}
  151. ${SDL2_LIBRARY}
  152. )
  153. if(MSVC)
  154. set(SDL2_LIBRARIES
  155. ${SDL2_LIBRARIES}
  156. dinput8
  157. dxguid
  158. user32
  159. gdi32
  160. winmm
  161. imm32
  162. ole32
  163. oleaut32
  164. shell32
  165. version
  166. uuid
  167. )
  168. else()
  169. set(SDL2_LIBRARIES
  170. ${SDL2_LIBRARIES}
  171. pthread
  172. dl
  173. )
  174. endif()
  175. ExternalProject_Add(SDL2-project
  176. SOURCE_DIR ${PROJECT_SOURCE_DIR}/lib/SDL2
  177. CMAKE_ARGS
  178. "-DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE}"
  179. "-DCMAKE_INSTALL_PREFIX=${SDL2_INSTALL_DIR}"
  180. "-DSDL_STATIC=true"
  181. "-DSDL_SHARED=false"
  182. BINARY_DIR ${SDL2_BUILD_DIR}
  183. INSTALL_DIR ${SDL2_INSTALL_DIR})
  184. # Configure, build and install dirent
  185. set(DIRENT_BUILD_DIR ${PROJECT_BINARY_DIR}/deps/build/dirent)
  186. set(DIRENT_INSTALL_DIR ${PROJECT_BINARY_DIR}/deps/install/dirent)
  187. set(DIRENT_INCLUDE_DIR ${DIRENT_INSTALL_DIR}/include)
  188. ExternalProject_Add(dirent-project
  189. SOURCE_DIR ${PROJECT_SOURCE_DIR}/lib/dirent
  190. CMAKE_ARGS
  191. "-DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE}"
  192. "-DCMAKE_INSTALL_PREFIX=${DIRENT_INSTALL_DIR}"
  193. BINARY_DIR ${DIRENT_BUILD_DIR}
  194. INSTALL_DIR ${DIRENT_INSTALL_DIR})
  195. # Find OpenGL
  196. find_package(OpenGL REQUIRED)
  197. # Find executable source directory
  198. set(EXECUTABLE_SOURCE_DIR ${PROJECT_SOURCE_DIR}/src)
  199. # Generate C++ configuration file
  200. configure_file(${EXECUTABLE_SOURCE_DIR}/configuration.hpp.in ${EXECUTABLE_SOURCE_DIR}/configuration.hpp)
  201. # Collect executable source files
  202. set(EXECUTABLE_SOURCES
  203. ${EXECUTABLE_SOURCE_DIR}/configuration.hpp
  204. ${EXECUTABLE_SOURCE_DIR}/controls.cpp
  205. ${EXECUTABLE_SOURCE_DIR}/render-passes.hpp
  206. ${EXECUTABLE_SOURCE_DIR}/settings.cpp
  207. ${EXECUTABLE_SOURCE_DIR}/settings.hpp
  208. ${EXECUTABLE_SOURCE_DIR}/game/terrain.cpp
  209. ${EXECUTABLE_SOURCE_DIR}/game/terrain.hpp
  210. ${EXECUTABLE_SOURCE_DIR}/controls.hpp
  211. ${EXECUTABLE_SOURCE_DIR}/input.cpp
  212. ${EXECUTABLE_SOURCE_DIR}/input.hpp
  213. ${EXECUTABLE_SOURCE_DIR}/main.cpp
  214. ${EXECUTABLE_SOURCE_DIR}/mesh.cpp
  215. ${EXECUTABLE_SOURCE_DIR}/mesh.hpp
  216. ${EXECUTABLE_SOURCE_DIR}/application-state.hpp
  217. ${EXECUTABLE_SOURCE_DIR}/application-state.cpp
  218. ${EXECUTABLE_SOURCE_DIR}/application.hpp
  219. ${EXECUTABLE_SOURCE_DIR}/application.cpp
  220. ${EXECUTABLE_SOURCE_DIR}/states/loading-state.hpp
  221. ${EXECUTABLE_SOURCE_DIR}/states/loading-state.cpp
  222. ${EXECUTABLE_SOURCE_DIR}/states/splash-state.hpp
  223. ${EXECUTABLE_SOURCE_DIR}/states/splash-state.cpp
  224. ${EXECUTABLE_SOURCE_DIR}/states/title-state.hpp
  225. ${EXECUTABLE_SOURCE_DIR}/states/title-state.cpp
  226. ${EXECUTABLE_SOURCE_DIR}/states/game-state.hpp
  227. ${EXECUTABLE_SOURCE_DIR}/states/game-state.cpp
  228. ${EXECUTABLE_SOURCE_DIR}/ui/ui.hpp
  229. ${EXECUTABLE_SOURCE_DIR}/ui/ui.cpp
  230. ${EXECUTABLE_SOURCE_DIR}/ui/menu.hpp
  231. ${EXECUTABLE_SOURCE_DIR}/ui/menu.cpp
  232. ${EXECUTABLE_SOURCE_DIR}/ui/tween.hpp
  233. ${EXECUTABLE_SOURCE_DIR}/ui/tween.cpp
  234. ${EXECUTABLE_SOURCE_DIR}/ui/toolbar.hpp
  235. ${EXECUTABLE_SOURCE_DIR}/ui/toolbar.cpp
  236. ${EXECUTABLE_SOURCE_DIR}/ui/pie-menu.hpp
  237. ${EXECUTABLE_SOURCE_DIR}/ui/pie-menu.cpp
  238. ${EXECUTABLE_SOURCE_DIR}/render-passes.cpp
  239. ${EXECUTABLE_SOURCE_DIR}/game/ant.hpp
  240. ${EXECUTABLE_SOURCE_DIR}/game/ant.cpp
  241. ${EXECUTABLE_SOURCE_DIR}/game/agent.hpp
  242. ${EXECUTABLE_SOURCE_DIR}/game/agent.cpp
  243. ${EXECUTABLE_SOURCE_DIR}/game/colony.hpp
  244. ${EXECUTABLE_SOURCE_DIR}/game/colony.cpp
  245. ${EXECUTABLE_SOURCE_DIR}/game/habitat.hpp
  246. ${EXECUTABLE_SOURCE_DIR}/game/habitat.cpp
  247. ${EXECUTABLE_SOURCE_DIR}/game/nest.hpp
  248. ${EXECUTABLE_SOURCE_DIR}/game/nest.cpp
  249. ${EXECUTABLE_SOURCE_DIR}/game/navmesh.hpp
  250. ${EXECUTABLE_SOURCE_DIR}/game/navmesh.cpp
  251. ${EXECUTABLE_SOURCE_DIR}/game/pheromone-matrix.hpp
  252. ${EXECUTABLE_SOURCE_DIR}/game/pheromone-matrix.cpp
  253. ${EXECUTABLE_SOURCE_DIR}/game/level.hpp
  254. ${EXECUTABLE_SOURCE_DIR}/game/level.cpp
  255. ${EXECUTABLE_SOURCE_DIR}/game/biome.hpp
  256. ${EXECUTABLE_SOURCE_DIR}/game/biome.cpp
  257. ${EXECUTABLE_SOURCE_DIR}/game/tool.cpp
  258. ${EXECUTABLE_SOURCE_DIR}/debug.hpp
  259. ${EXECUTABLE_SOURCE_DIR}/debug.cpp
  260. ${EXECUTABLE_SOURCE_DIR}/camera-rig.hpp
  261. ${EXECUTABLE_SOURCE_DIR}/camera-rig.cpp
  262. ${EXECUTABLE_SOURCE_DIR}/model-loader.hpp
  263. ${EXECUTABLE_SOURCE_DIR}/model-loader.cpp
  264. ${EXECUTABLE_SOURCE_DIR}/material-loader.hpp
  265. ${EXECUTABLE_SOURCE_DIR}/material-loader.cpp
  266. )
  267. # Setup manifest and exe icon for windows
  268. if(${PLATFORM} STREQUAL "win32" OR ${PLATFORM} STREQUAL "win64")
  269. list(APPEND EXECUTABLE_SOURCES "${EXECUTABLE_SOURCE_DIR}/windows/antkeeper.manifest")
  270. if(EXISTS ${PROJECT_SOURCE_DIR}/data)
  271. set(RC_FILES "${PROJECT_SOURCE_DIR}/data/icons/icon.rc")
  272. set(EXECUTABLE_SOURCES "${EXECUTABLE_SOURCES};${RC_FILES}")
  273. endif()
  274. endif()
  275. # Set link directories
  276. link_directories(${EMERGENT_INSTALL_DIR}/lib
  277. ${SDL2_INSTALL_DIR}/lib
  278. )
  279. # Set executable and library output directories
  280. set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${PLATFORM_PACKAGE_DIR})
  281. set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${PLATFORM_PACKAGE_DIR})
  282. # Add executable
  283. set(EXECUTABLE_NAME antkeeper)
  284. set(EXECUTABLE_TARGET ${PACKAGE_BUILD_NAME}-executable)
  285. add_executable(${EXECUTABLE_TARGET} ${EXECUTABLE_SOURCES})
  286. add_dependencies(${EXECUTABLE_TARGET} emergent-project SDL2-project dirent-project)
  287. set_target_properties(${EXECUTABLE_TARGET} PROPERTIES OUTPUT_NAME ${EXECUTABLE_NAME})
  288. # Set include directories
  289. target_include_directories(${EXECUTABLE_TARGET} PUBLIC
  290. ${EMERGENT_INCLUDE_DIRS}
  291. ${SDL2_INCLUDE_DIR}
  292. ${DIRENT_INCLUDE_DIR}
  293. ${OPENGL_INCLUDE_DIRS}
  294. )
  295. # Build library list
  296. list(APPEND EXECUTABLE_LIBRARIES
  297. ${SDL2_LIBRARIES}
  298. ${EMERGENT_LIBRARIES}
  299. ${OPENGL_gl_LIBRARY}
  300. ${FREETYPE_LIBRARY}
  301. #m
  302. #stdc++
  303. )
  304. # Link libraries
  305. target_link_libraries(${EXECUTABLE_TARGET} ${EXECUTABLE_LIBRARIES})
  306. # Add run target
  307. if(${PLATFORM} STREQUAL "linux32" OR ${PLATFORM} STREQUAL "linux64")
  308. add_custom_target(run
  309. COMMAND optirun "${PLATFORM_PACKAGE_DIR}/${EXECUTABLE_NAME}"
  310. DEPENDS ${EXECUTABLE_TARGET}
  311. WORKING_DIRECTORY ${PLATFORM_PACKAGE_DIR}
  312. )
  313. else()
  314. add_custom_target(run
  315. COMMAND ${EXECUTABLE_TARGET}
  316. DEPENDS ${EXECUTABLE_TARGET}
  317. WORKING_DIRECTORY ${PLATFORM_PACKAGE_DIR}
  318. )
  319. endif()
  320. # Add dist target
  321. add_custom_target(dist
  322. COMMAND
  323. ${CMAKE_COMMAND} -E tar "cfvz" "${PROJECT_SOURCE_DIR}/dist/${PACKAGE_NAME}.zip" --format=zip
  324. "${PLATFORM_PACKAGE_DIR}")
  325. # Add clean targets
  326. add_custom_target(clean-build
  327. COMMAND git clean -fdX
  328. WORKING_DIRECTORY "${PROJECT_SOURCE_DIR}/build"
  329. )
  330. # Add data subdirectory (if it exists)
  331. if(EXISTS ${PROJECT_SOURCE_DIR}/data)
  332. add_subdirectory(${PROJECT_SOURCE_DIR}/data)
  333. endif()
  334. # Distribution
  335. install(TARGETS ${EXECUTABLE_TARGET} DESTINATION ".")
  336. install(DIRECTORY ${PLATFORM_PACKAGE_DIR}/data
  337. DESTINATION .)
  338. set(CPACK_PACKAGE_NAME "${CMAKE_PROJECT_NAME}")
  339. set(CPACK_PACKAGE_VENDOR "C. J. Howard")
  340. set(CPACK_PACKAGE_VERSION "${PROJECT_VERSION}")
  341. set(CPACK_PACKAGE_VERSION_MAJOR "${PROJECT_VERSION_MAJOR}")
  342. set(CPACK_PACKAGE_VERSION_MINOR "${PROJECT_VERSION_MINOR}")
  343. set(CPACK_PACKAGE_VERSION_PATCH "${PROJECT_VERSION_PATCH}")
  344. set(CPACK_PACKAGE_FILE_NAME ${CPACK_PACKAGE_NAME}-${CPACK_PACKAGE_VERSION}-${PLATFORM})
  345. if(CMAKE_BUILD_TYPE STREQUAL "Debug")
  346. set(CPACK_OUTPUT_FILE_PREFIX "${PROJECT_SOURCE_DIR}/dist/debug")
  347. else()
  348. set(CPACK_OUTPUT_FILE_PREFIX "${PROJECT_SOURCE_DIR}/dist/release")
  349. endif()
  350. if(${PLATFORM} STREQUAL "win32" OR ${PLATFORM} STREQUAL "win64")
  351. set(CPACK_GENERATOR "ZIP")
  352. if (NOT STANDALONE)
  353. set(CPACK_GENERATOR "NSIS")
  354. set(CPACK_MONOLITHIC_INSTALL 1)
  355. set(CPACK_PACKAGE_FILE_NAME ${CPACK_PACKAGE_FILE_NAME}-installer)
  356. set(CPACK_NSIS_MUI_ICON "${PROJECT_SOURCE_DIR}/data/icons/antkeeper-icon.ico")
  357. set(CPACK_PACKAGE_INSTALL_DIRECTORY "Antkeeper")
  358. get_target_property(EXECUTABLE_OUTPUT_NAME ${EXECUTABLE_TARGET} OUTPUT_NAME)
  359. set(CPACK_NSIS_MENU_LINKS "${EXECUTABLE_OUTPUT_NAME}" "Antkeeper")
  360. endif()
  361. elseif(${PLATFORM} STREQUAL "linux32" OR ${PLATFORM} STREQUAL "linux64")
  362. set(CPACK_GENERATOR "TGZ")
  363. if(NOT STANDALONE)
  364. set(CPACK_GENERATOR "DEB")
  365. set(CPACK_DEBIAN_PACKAGE_MAINTAINER "${CPACK_PACKAGE_VENDOR}")
  366. endif()
  367. endif()
  368. include(CPack)
  369. >>>>>>> df8405f4e83febb81a5ce8f772bd7f5b9e9b6036