CMakeLists.txt 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520
  1. set(client_SRCS
  2. StdInc.cpp
  3. ../CCallback.cpp
  4. adventureMap/AdventureMapInterface.cpp
  5. adventureMap/AdventureMapShortcuts.cpp
  6. adventureMap/AdventureMapWidget.cpp
  7. adventureMap/AdventureOptions.cpp
  8. adventureMap/CInGameConsole.cpp
  9. adventureMap/CInfoBar.cpp
  10. adventureMap/CList.cpp
  11. adventureMap/CMinimap.cpp
  12. adventureMap/CResDataBar.cpp
  13. adventureMap/MapAudioPlayer.cpp
  14. adventureMap/TurnTimerWidget.cpp
  15. battle/BattleActionsController.cpp
  16. battle/BattleAnimationClasses.cpp
  17. battle/BattleEffectsController.cpp
  18. battle/BattleFieldController.cpp
  19. battle/BattleInterface.cpp
  20. battle/BattleInterfaceClasses.cpp
  21. battle/BattleObstacleController.cpp
  22. battle/BattleProjectileController.cpp
  23. battle/BattleRenderer.cpp
  24. battle/BattleSiegeController.cpp
  25. battle/BattleStacksController.cpp
  26. battle/BattleWindow.cpp
  27. battle/CreatureAnimation.cpp
  28. eventsSDL/NotificationHandler.cpp
  29. eventsSDL/InputHandler.cpp
  30. eventsSDL/InputSourceKeyboard.cpp
  31. eventsSDL/InputSourceMouse.cpp
  32. eventsSDL/InputSourceText.cpp
  33. eventsSDL/InputSourceTouch.cpp
  34. gui/CGuiHandler.cpp
  35. gui/CIntObject.cpp
  36. gui/CursorHandler.cpp
  37. gui/EventDispatcher.cpp
  38. gui/EventsReceiver.cpp
  39. gui/InterfaceObjectConfigurable.cpp
  40. gui/FramerateManager.cpp
  41. gui/ShortcutHandler.cpp
  42. gui/WindowHandler.cpp
  43. lobby/CBonusSelection.cpp
  44. lobby/CCampaignInfoScreen.cpp
  45. lobby/CLobbyScreen.cpp
  46. lobby/CSavingScreen.cpp
  47. lobby/CScenarioInfoScreen.cpp
  48. lobby/CSelectionBase.cpp
  49. lobby/TurnOptionsTab.cpp
  50. lobby/ExtraOptionsTab.cpp
  51. lobby/OptionsTab.cpp
  52. lobby/OptionsTabBase.cpp
  53. lobby/RandomMapTab.cpp
  54. lobby/SelectionTab.cpp
  55. mainmenu/CCampaignScreen.cpp
  56. mainmenu/CMainMenu.cpp
  57. mainmenu/CPrologEpilogVideo.cpp
  58. mainmenu/CreditsScreen.cpp
  59. mainmenu/CHighScoreScreen.cpp
  60. mapView/MapRenderer.cpp
  61. mapView/MapRendererContext.cpp
  62. mapView/MapRendererContextState.cpp
  63. mapView/MapView.cpp
  64. mapView/MapViewActions.cpp
  65. mapView/MapViewCache.cpp
  66. mapView/MapViewController.cpp
  67. mapView/MapViewModel.cpp
  68. mapView/mapHandler.cpp
  69. render/CAnimation.cpp
  70. render/CBitmapHandler.cpp
  71. render/CDefFile.cpp
  72. render/Canvas.cpp
  73. render/ColorFilter.cpp
  74. render/Colors.cpp
  75. render/Graphics.cpp
  76. render/IFont.cpp
  77. renderSDL/CBitmapFont.cpp
  78. renderSDL/CBitmapHanFont.cpp
  79. renderSDL/CTrueTypeFont.cpp
  80. renderSDL/CursorHardware.cpp
  81. renderSDL/CursorSoftware.cpp
  82. renderSDL/RenderHandler.cpp
  83. renderSDL/SDLImage.cpp
  84. renderSDL/SDLImageLoader.cpp
  85. renderSDL/SDLRWwrapper.cpp
  86. renderSDL/ScreenHandler.cpp
  87. renderSDL/SDL_Extensions.cpp
  88. globalLobby/GlobalLobbyClient.cpp
  89. globalLobby/GlobalLobbyLoginWindow.cpp
  90. globalLobby/GlobalLobbyServerSetup.cpp
  91. globalLobby/GlobalLobbyWidget.cpp
  92. globalLobby/GlobalLobbyWindow.cpp
  93. widgets/Buttons.cpp
  94. widgets/CArtifactHolder.cpp
  95. widgets/CComponent.cpp
  96. widgets/CExchangeController.cpp
  97. widgets/CGarrisonInt.cpp
  98. widgets/CreatureCostBox.cpp
  99. widgets/ComboBox.cpp
  100. widgets/Images.cpp
  101. widgets/MiscWidgets.cpp
  102. widgets/ObjectLists.cpp
  103. widgets/TextControls.cpp
  104. widgets/Scrollable.cpp
  105. widgets/Slider.cpp
  106. widgets/CArtifactsOfHeroBase.cpp
  107. widgets/CArtifactsOfHeroMain.cpp
  108. widgets/CArtifactsOfHeroKingdom.cpp
  109. widgets/CArtifactsOfHeroAltar.cpp
  110. widgets/CArtifactsOfHeroMarket.cpp
  111. widgets/CArtifactsOfHeroBackpack.cpp
  112. widgets/CWindowWithArtifacts.cpp
  113. widgets/RadialMenu.cpp
  114. widgets/markets/CAltarArtifacts.cpp
  115. widgets/markets/CAltarCreatures.cpp
  116. widgets/markets/CTradeBase.cpp
  117. widgets/markets/TradePanels.cpp
  118. windows/CAltarWindow.cpp
  119. windows/CCastleInterface.cpp
  120. windows/CCreatureWindow.cpp
  121. windows/CHeroOverview.cpp
  122. windows/CHeroWindow.cpp
  123. windows/CKingdomInterface.cpp
  124. windows/CMapOverview.cpp
  125. windows/CMessage.cpp
  126. windows/CPuzzleWindow.cpp
  127. windows/CQuestLog.cpp
  128. windows/CSpellWindow.cpp
  129. windows/CTradeWindow.cpp
  130. windows/CTutorialWindow.cpp
  131. windows/CWindowObject.cpp
  132. windows/CreaturePurchaseCard.cpp
  133. windows/GUIClasses.cpp
  134. windows/InfoWindows.cpp
  135. windows/QuickRecruitmentWindow.cpp
  136. windows/CHeroBackpackWindow.cpp
  137. windows/settings/GeneralOptionsTab.cpp
  138. windows/settings/OtherOptionsTab.cpp
  139. windows/settings/SettingsMainWindow.cpp
  140. windows/settings/BattleOptionsTab.cpp
  141. windows/settings/AdventureOptionsTab.cpp
  142. CGameInfo.cpp
  143. CMT.cpp
  144. CMusicHandler.cpp
  145. CPlayerInterface.cpp
  146. PlayerLocalState.cpp
  147. CServerHandler.cpp
  148. CVideoHandler.cpp
  149. Client.cpp
  150. ClientCommandManager.cpp
  151. HeroMovementController.cpp
  152. NetPacksClient.cpp
  153. NetPacksLobbyClient.cpp
  154. ServerRunner.cpp
  155. )
  156. set(client_HEADERS
  157. StdInc.h
  158. adventureMap/AdventureMapInterface.h
  159. adventureMap/AdventureMapShortcuts.h
  160. adventureMap/AdventureMapWidget.h
  161. adventureMap/AdventureState.h
  162. adventureMap/AdventureOptions.h
  163. adventureMap/CInGameConsole.h
  164. adventureMap/CInfoBar.h
  165. adventureMap/CList.h
  166. adventureMap/CMinimap.h
  167. adventureMap/CResDataBar.h
  168. adventureMap/MapAudioPlayer.h
  169. adventureMap/TurnTimerWidget.h
  170. battle/BattleActionsController.h
  171. battle/BattleAnimationClasses.h
  172. battle/BattleConstants.h
  173. battle/BattleEffectsController.h
  174. battle/BattleFieldController.h
  175. battle/BattleInterface.h
  176. battle/BattleInterfaceClasses.h
  177. battle/BattleObstacleController.h
  178. battle/BattleProjectileController.h
  179. battle/BattleRenderer.h
  180. battle/BattleSiegeController.h
  181. battle/BattleStacksController.h
  182. battle/BattleWindow.h
  183. battle/CreatureAnimation.h
  184. eventsSDL/NotificationHandler.h
  185. eventsSDL/InputHandler.h
  186. eventsSDL/InputSourceKeyboard.h
  187. eventsSDL/InputSourceMouse.h
  188. eventsSDL/InputSourceText.h
  189. eventsSDL/InputSourceTouch.h
  190. gui/CGuiHandler.h
  191. gui/CIntObject.h
  192. gui/CursorHandler.h
  193. gui/EventDispatcher.h
  194. gui/EventsReceiver.h
  195. gui/InterfaceObjectConfigurable.h
  196. gui/FramerateManager.h
  197. gui/MouseButton.h
  198. gui/Shortcut.h
  199. gui/ShortcutHandler.h
  200. gui/TextAlignment.h
  201. gui/WindowHandler.h
  202. lobby/CBonusSelection.h
  203. lobby/CCampaignInfoScreen.h
  204. lobby/CLobbyScreen.h
  205. lobby/CSavingScreen.h
  206. lobby/CScenarioInfoScreen.h
  207. lobby/CSelectionBase.h
  208. lobby/TurnOptionsTab.h
  209. lobby/ExtraOptionsTab.h
  210. lobby/OptionsTab.h
  211. lobby/OptionsTabBase.h
  212. lobby/RandomMapTab.h
  213. lobby/SelectionTab.h
  214. mainmenu/CCampaignScreen.h
  215. mainmenu/CMainMenu.h
  216. mainmenu/CPrologEpilogVideo.h
  217. mainmenu/CreditsScreen.h
  218. mainmenu/CHighScoreScreen.h
  219. mapView/IMapRendererContext.h
  220. mapView/IMapRendererObserver.h
  221. mapView/MapRenderer.h
  222. mapView/MapRendererContext.h
  223. mapView/MapRendererContextState.h
  224. mapView/MapView.h
  225. mapView/MapViewActions.h
  226. mapView/MapViewCache.h
  227. mapView/MapViewController.h
  228. mapView/MapViewModel.h
  229. mapView/mapHandler.h
  230. render/CAnimation.h
  231. render/CBitmapHandler.h
  232. render/CDefFile.h
  233. render/Canvas.h
  234. render/ColorFilter.h
  235. render/Colors.h
  236. render/EFont.h
  237. render/Graphics.h
  238. render/ICursor.h
  239. render/IFont.h
  240. render/IImage.h
  241. render/IImageLoader.h
  242. render/IRenderHandler.h
  243. render/IScreenHandler.h
  244. renderSDL/CBitmapFont.h
  245. renderSDL/CBitmapHanFont.h
  246. renderSDL/CTrueTypeFont.h
  247. renderSDL/CursorHardware.h
  248. renderSDL/CursorSoftware.h
  249. renderSDL/RenderHandler.h
  250. renderSDL/SDLImage.h
  251. renderSDL/SDLImageLoader.h
  252. renderSDL/SDLRWwrapper.h
  253. renderSDL/ScreenHandler.h
  254. renderSDL/SDL_Extensions.h
  255. renderSDL/SDL_PixelAccess.h
  256. globalLobby/GlobalLobbyClient.h
  257. globalLobby/GlobalLobbyDefines.h
  258. globalLobby/GlobalLobbyLoginWindow.h
  259. globalLobby/GlobalLobbyServerSetup.h
  260. globalLobby/GlobalLobbyWidget.h
  261. globalLobby/GlobalLobbyWindow.h
  262. widgets/Buttons.h
  263. widgets/CArtifactHolder.h
  264. widgets/CComponent.h
  265. widgets/CExchangeController.h
  266. widgets/CGarrisonInt.h
  267. widgets/CreatureCostBox.h
  268. widgets/ComboBox.h
  269. widgets/Images.h
  270. widgets/MiscWidgets.h
  271. widgets/ObjectLists.h
  272. widgets/TextControls.h
  273. widgets/Scrollable.h
  274. widgets/Slider.h
  275. widgets/CArtifactsOfHeroBase.h
  276. widgets/CArtifactsOfHeroMain.h
  277. widgets/CArtifactsOfHeroKingdom.h
  278. widgets/CArtifactsOfHeroAltar.h
  279. widgets/CArtifactsOfHeroMarket.h
  280. widgets/CArtifactsOfHeroBackpack.h
  281. widgets/CWindowWithArtifacts.h
  282. widgets/RadialMenu.h
  283. widgets/markets/CAltarArtifacts.h
  284. widgets/markets/CAltarCreatures.h
  285. widgets/markets/CTradeBase.h
  286. widgets/markets/TradePanels.h
  287. windows/CAltarWindow.h
  288. windows/CCastleInterface.h
  289. windows/CCreatureWindow.h
  290. windows/CHeroOverview.h
  291. windows/CHeroWindow.h
  292. windows/CKingdomInterface.h
  293. windows/CMessage.h
  294. windows/CMapOverview.h
  295. windows/CPuzzleWindow.h
  296. windows/CQuestLog.h
  297. windows/CSpellWindow.h
  298. windows/CTradeWindow.h
  299. windows/CTutorialWindow.h
  300. windows/CWindowObject.h
  301. windows/CreaturePurchaseCard.h
  302. windows/GUIClasses.h
  303. windows/InfoWindows.h
  304. windows/QuickRecruitmentWindow.h
  305. windows/CHeroBackpackWindow.h
  306. windows/settings/GeneralOptionsTab.h
  307. windows/settings/OtherOptionsTab.h
  308. windows/settings/SettingsMainWindow.h
  309. windows/settings/BattleOptionsTab.h
  310. windows/settings/AdventureOptionsTab.h
  311. CGameInfo.h
  312. CMT.h
  313. CMusicHandler.h
  314. CPlayerInterface.h
  315. PlayerLocalState.h
  316. CServerHandler.h
  317. CVideoHandler.h
  318. Client.h
  319. ClientCommandManager.h
  320. ClientNetPackVisitors.h
  321. HeroMovementController.h
  322. LobbyClientNetPackVisitors.h
  323. ServerRunner.h
  324. resource.h
  325. )
  326. if(APPLE_IOS)
  327. set(client_SRCS ${client_SRCS}
  328. CFocusableHelper.cpp
  329. ios/GameChatKeyboardHandler.m
  330. ios/main.m
  331. ios/startSDL.mm
  332. ios/utils.mm
  333. )
  334. set(client_HEADERS ${client_HEADERS}
  335. CFocusableHelper.h
  336. ios/GameChatKeyboardHandler.h
  337. ios/startSDL.h
  338. ios/utils.h
  339. )
  340. endif()
  341. assign_source_group(${client_SRCS} ${client_HEADERS} VCMI_client.rc)
  342. if(ANDROID)
  343. add_library(vcmiclient SHARED ${client_SRCS} ${client_HEADERS})
  344. else()
  345. add_executable(vcmiclient ${client_SRCS} ${client_HEADERS})
  346. endif()
  347. if(NOT ENABLE_STATIC_LIBS)
  348. add_dependencies(vcmiclient
  349. BattleAI
  350. EmptyAI
  351. StupidAI
  352. VCAI
  353. )
  354. if(ENABLE_NULLKILLER_AI)
  355. add_dependencies(vcmiclient Nullkiller)
  356. endif()
  357. endif()
  358. if(APPLE_IOS)
  359. if(ENABLE_ERM)
  360. add_dependencies(vcmiclient vcmiERM)
  361. endif()
  362. if(ENABLE_LUA)
  363. add_dependencies(vcmiclient vcmiLua)
  364. endif()
  365. endif()
  366. if(WIN32)
  367. target_sources(vcmiclient PRIVATE "VCMI_client.rc")
  368. set_target_properties(vcmiclient
  369. PROPERTIES
  370. OUTPUT_NAME "VCMI_client"
  371. PROJECT_LABEL "VCMI_client"
  372. )
  373. set_property(DIRECTORY ${CMAKE_SOURCE_DIR} PROPERTY VS_STARTUP_PROJECT vcmiclient)
  374. if(NOT ENABLE_DEBUG_CONSOLE)
  375. set_target_properties(vcmiclient PROPERTIES WIN32_EXECUTABLE)
  376. target_link_libraries(vcmiclient SDL2::SDL2main)
  377. endif()
  378. target_compile_definitions(vcmiclient PRIVATE WINDOWS_IGNORE_PACKING_MISMATCH)
  379. # TODO: very hacky, find proper solution to copy AI dlls into bin dir
  380. if(MSVC)
  381. add_custom_command(TARGET vcmiclient POST_BUILD
  382. WORKING_DIRECTORY "$<TARGET_FILE_DIR:vcmiclient>"
  383. COMMAND ${CMAKE_COMMAND} -E copy AI/fuzzylite.dll fuzzylite.dll
  384. COMMAND ${CMAKE_COMMAND} -E copy AI/tbb12.dll tbb12.dll
  385. )
  386. endif()
  387. elseif(APPLE_IOS)
  388. target_link_libraries(vcmiclient PRIVATE
  389. iOS_utils
  390. # FFmpeg
  391. bz2
  392. iconv
  393. z
  394. "-framework AudioToolbox"
  395. "-framework AVFoundation"
  396. "-framework CoreMedia"
  397. "-framework VideoToolbox"
  398. )
  399. set_target_properties(vcmiclient PROPERTIES
  400. MACOSX_BUNDLE_INFO_PLIST "${CMAKE_CURRENT_LIST_DIR}/ios/Info.plist"
  401. XCODE_ATTRIBUTE_LD_RUNPATH_SEARCH_PATHS "@executable_path/Frameworks"
  402. XCODE_ATTRIBUTE_CODE_SIGNING_ALLOWED "$(CODE_SIGNING_ALLOWED_FOR_APPS)"
  403. XCODE_ATTRIBUTE_ASSETCATALOG_COMPILER_APPICON_NAME AppIcon
  404. )
  405. foreach(XCODE_RESOURCE LaunchScreen.storyboard Images.xcassets Settings.bundle vcmi_logo.png)
  406. set(XCODE_RESOURCE_PATH ios/${XCODE_RESOURCE})
  407. target_sources(vcmiclient PRIVATE ${XCODE_RESOURCE_PATH})
  408. set_source_files_properties(${XCODE_RESOURCE_PATH} PROPERTIES MACOSX_PACKAGE_LOCATION Resources)
  409. # workaround to prevent CMAKE_SKIP_PRECOMPILE_HEADERS being added as compile flag
  410. if(CMAKE_VERSION VERSION_GREATER_EQUAL "3.22.0" AND CMAKE_VERSION VERSION_LESS "3.25.0")
  411. set_source_files_properties(${XCODE_RESOURCE_PATH} PROPERTIES LANGUAGE CXX)
  412. endif()
  413. endforeach()
  414. set(CMAKE_EXE_LINKER_FLAGS "-Wl,-e,_client_main")
  415. endif()
  416. target_link_libraries(vcmiclient PRIVATE vcmiservercommon)
  417. if(ENABLE_SINGLE_APP_BUILD AND ENABLE_LAUNCHER)
  418. target_link_libraries(vcmiclient PRIVATE vcmilauncher)
  419. endif()
  420. target_link_libraries(vcmiclient PRIVATE
  421. vcmi SDL2::SDL2 SDL2::Image SDL2::Mixer SDL2::TTF
  422. )
  423. if(ffmpeg_LIBRARIES)
  424. target_link_libraries(vcmiclient PRIVATE
  425. ${ffmpeg_LIBRARIES}
  426. )
  427. else()
  428. target_compile_definitions(vcmiclient PRIVATE DISABLE_VIDEO)
  429. endif()
  430. target_include_directories(vcmiclient PUBLIC
  431. ${CMAKE_CURRENT_SOURCE_DIR}
  432. )
  433. if (ffmpeg_INCLUDE_DIRS)
  434. target_include_directories(vcmiclient PRIVATE
  435. ${ffmpeg_INCLUDE_DIRS}
  436. )
  437. endif()
  438. vcmi_set_output_dir(vcmiclient "")
  439. enable_pch(vcmiclient)
  440. if(APPLE_IOS)
  441. vcmi_install_conan_deps("\${CMAKE_INSTALL_PREFIX}")
  442. add_custom_command(TARGET vcmiclient POST_BUILD
  443. COMMAND ios/set_build_version.sh "$<TARGET_BUNDLE_CONTENT_DIR:vcmiclient>"
  444. COMMAND ${CMAKE_COMMAND} --install "${CMAKE_BINARY_DIR}" --component "${CMAKE_INSTALL_DEFAULT_COMPONENT_NAME}" --config "$<CONFIG>" --prefix "$<TARGET_BUNDLE_CONTENT_DIR:vcmiclient>"
  445. COMMAND ios/rpath_remove_symlinks.sh
  446. COMMAND ios/codesign.sh
  447. WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
  448. )
  449. install(TARGETS vcmiclient DESTINATION Payload COMPONENT app) # for ipa generation with cpack
  450. elseif(ANDROID)
  451. vcmi_install_conan_deps("\${CMAKE_INSTALL_PREFIX}/${LIB_DIR}")
  452. add_custom_command(TARGET vcmiclient POST_BUILD
  453. COMMAND ${CMAKE_COMMAND} --install "${CMAKE_BINARY_DIR}" --config "$<CONFIG>" --prefix "${CMAKE_SOURCE_DIR}/android/vcmi-app/src/main"
  454. )
  455. install(TARGETS vcmiclient DESTINATION ${LIB_DIR})
  456. else()
  457. install(TARGETS vcmiclient DESTINATION ${BIN_DIR})
  458. endif()
  459. #install icons and desktop file on Linux
  460. if(NOT WIN32 AND NOT APPLE AND NOT ANDROID)
  461. #FIXME: move to client makefile?
  462. install(FILES "${CMAKE_SOURCE_DIR}/client/icons/vcmiclient.16x16.png" DESTINATION share/icons/hicolor/16x16/apps RENAME vcmiclient.png)
  463. install(FILES "${CMAKE_SOURCE_DIR}/client/icons/vcmiclient.22x22.png" DESTINATION share/icons/hicolor/22x22/apps RENAME vcmiclient.png)
  464. install(FILES "${CMAKE_SOURCE_DIR}/client/icons/vcmiclient.32x32.png" DESTINATION share/icons/hicolor/32x32/apps RENAME vcmiclient.png)
  465. install(FILES "${CMAKE_SOURCE_DIR}/client/icons/vcmiclient.48x48.png" DESTINATION share/icons/hicolor/48x48/apps RENAME vcmiclient.png)
  466. install(FILES "${CMAKE_SOURCE_DIR}/client/icons/vcmiclient.64x64.png" DESTINATION share/icons/hicolor/64x64/apps RENAME vcmiclient.png)
  467. install(FILES "${CMAKE_SOURCE_DIR}/client/icons/vcmiclient.128x128.png" DESTINATION share/icons/hicolor/128x128/apps RENAME vcmiclient.png)
  468. install(FILES "${CMAKE_SOURCE_DIR}/client/icons/vcmiclient.256x256.png" DESTINATION share/icons/hicolor/256x256/apps RENAME vcmiclient.png)
  469. install(FILES "${CMAKE_SOURCE_DIR}/client/icons/vcmiclient.512x512.png" DESTINATION share/icons/hicolor/512x512/apps RENAME vcmiclient.png)
  470. install(FILES "${CMAKE_SOURCE_DIR}/client/icons/vcmiclient.1024x1024.png" DESTINATION share/icons/hicolor/1024x1024/apps RENAME vcmiclient.png)
  471. install(FILES "${CMAKE_SOURCE_DIR}/client/icons/vcmiclient.2048x2048.png" DESTINATION share/icons/hicolor/2048x2048/apps RENAME vcmiclient.png)
  472. install(FILES "${CMAKE_SOURCE_DIR}/client/icons/vcmiclient.svg" DESTINATION share/icons/hicolor/scalable/apps RENAME vcmiclient.svg)
  473. install(FILES "${CMAKE_SOURCE_DIR}/client/icons/vcmiclient.desktop" DESTINATION share/applications)
  474. endif()