2012-07-01 17:27:41 +03:00
|
|
|
set(client_SRCS
|
2014-02-05 23:25:36 +03:00
|
|
|
StdInc.cpp
|
2014-07-11 11:01:03 +03:00
|
|
|
../CCallback.cpp
|
2013-11-30 12:43:31 +03:00
|
|
|
|
2022-12-09 13:38:46 +02:00
|
|
|
battle/BattleActionsController.cpp
|
|
|
|
battle/BattleAnimationClasses.cpp
|
|
|
|
battle/BattleEffectsController.cpp
|
|
|
|
battle/BattleFieldController.cpp
|
|
|
|
battle/BattleInterfaceClasses.cpp
|
|
|
|
battle/BattleInterface.cpp
|
|
|
|
battle/BattleObstacleController.cpp
|
|
|
|
battle/BattleProjectileController.cpp
|
|
|
|
battle/BattleRenderer.cpp
|
|
|
|
battle/BattleSiegeController.cpp
|
|
|
|
battle/BattleStacksController.cpp
|
2022-12-21 17:06:47 +02:00
|
|
|
battle/BattleWindow.cpp
|
2022-12-09 13:38:46 +02:00
|
|
|
battle/CreatureAnimation.cpp
|
2014-07-11 11:01:03 +03:00
|
|
|
|
2014-07-15 10:14:49 +03:00
|
|
|
gui/CAnimation.cpp
|
2022-12-11 22:09:57 +02:00
|
|
|
gui/Canvas.cpp
|
2023-01-05 19:34:37 +02:00
|
|
|
gui/CursorHandler.cpp
|
2014-07-11 11:01:03 +03:00
|
|
|
gui/CGuiHandler.cpp
|
|
|
|
gui/CIntObject.cpp
|
2022-12-15 23:24:03 +02:00
|
|
|
gui/ColorFilter.cpp
|
2014-07-11 11:01:03 +03:00
|
|
|
gui/Fonts.cpp
|
|
|
|
gui/SDL_Extensions.cpp
|
2020-03-22 15:57:13 +02:00
|
|
|
gui/NotificationHandler.cpp
|
2022-12-12 09:48:39 +02:00
|
|
|
gui/InterfaceObjectConfigurable.cpp
|
2013-11-30 12:43:31 +03:00
|
|
|
|
2014-07-13 20:53:37 +03:00
|
|
|
widgets/AdventureMapClasses.cpp
|
2014-07-15 10:14:49 +03:00
|
|
|
widgets/Buttons.cpp
|
2014-07-13 20:53:37 +03:00
|
|
|
widgets/CArtifactHolder.cpp
|
|
|
|
widgets/CComponent.cpp
|
|
|
|
widgets/CGarrisonInt.cpp
|
2014-07-15 10:14:49 +03:00
|
|
|
widgets/Images.cpp
|
2014-07-13 20:53:37 +03:00
|
|
|
widgets/MiscWidgets.cpp
|
2014-07-15 10:14:49 +03:00
|
|
|
widgets/ObjectLists.cpp
|
|
|
|
widgets/TextControls.cpp
|
2014-07-13 20:53:37 +03:00
|
|
|
|
|
|
|
windows/CAdvmapInterface.cpp
|
|
|
|
windows/CCastleInterface.cpp
|
|
|
|
windows/CCreatureWindow.cpp
|
2017-12-20 21:08:21 +02:00
|
|
|
windows/CreaturePurchaseCard.cpp
|
2014-07-13 20:53:37 +03:00
|
|
|
windows/CHeroWindow.cpp
|
|
|
|
windows/CKingdomInterface.cpp
|
|
|
|
windows/CQuestLog.cpp
|
|
|
|
windows/CSpellWindow.cpp
|
|
|
|
windows/CTradeWindow.cpp
|
2017-06-29 01:03:37 +02:00
|
|
|
windows/CWindowObject.cpp
|
2014-07-13 20:53:37 +03:00
|
|
|
windows/GUIClasses.cpp
|
2017-06-29 01:03:37 +02:00
|
|
|
windows/InfoWindows.cpp
|
2017-11-01 15:58:49 +02:00
|
|
|
windows/QuickRecruitmentWindow.cpp
|
2014-07-13 20:53:37 +03:00
|
|
|
|
2018-01-05 19:21:07 +02:00
|
|
|
mainmenu/CMainMenu.cpp
|
|
|
|
mainmenu/CCampaignScreen.cpp
|
|
|
|
mainmenu/CreditsScreen.cpp
|
|
|
|
mainmenu/CPrologEpilogVideo.cpp
|
|
|
|
|
|
|
|
lobby/CBonusSelection.cpp
|
|
|
|
lobby/CSelectionBase.cpp
|
|
|
|
lobby/CLobbyScreen.cpp
|
|
|
|
lobby/CSavingScreen.cpp
|
|
|
|
lobby/CScenarioInfoScreen.cpp
|
2022-04-26 13:14:31 +02:00
|
|
|
lobby/CCampaignInfoScreen.cpp
|
2018-01-05 19:21:07 +02:00
|
|
|
lobby/OptionsTab.cpp
|
|
|
|
lobby/RandomMapTab.cpp
|
|
|
|
lobby/SelectionTab.cpp
|
|
|
|
|
2014-07-11 11:01:03 +03:00
|
|
|
CBitmapHandler.cpp
|
2017-11-01 15:58:49 +02:00
|
|
|
CreatureCostBox.cpp
|
2014-07-11 11:01:03 +03:00
|
|
|
CGameInfo.cpp
|
2014-07-13 20:53:37 +03:00
|
|
|
Client.cpp
|
2014-07-11 11:01:03 +03:00
|
|
|
CMessage.cpp
|
2014-07-13 20:53:37 +03:00
|
|
|
CMT.cpp
|
2014-07-11 11:01:03 +03:00
|
|
|
CMusicHandler.cpp
|
2014-07-13 20:53:37 +03:00
|
|
|
CPlayerInterface.cpp
|
2014-07-11 11:01:03 +03:00
|
|
|
CVideoHandler.cpp
|
2018-01-05 19:21:07 +02:00
|
|
|
CServerHandler.cpp
|
2014-07-11 11:01:03 +03:00
|
|
|
Graphics.cpp
|
|
|
|
mapHandler.cpp
|
|
|
|
NetPacksClient.cpp
|
2018-01-05 19:21:07 +02:00
|
|
|
NetPacksLobbyClient.cpp
|
2016-01-30 23:34:46 +02:00
|
|
|
SDLRWwrapper.cpp
|
2023-01-15 02:19:47 +02:00
|
|
|
ClientCommandManager.cpp
|
2012-07-01 17:27:41 +03:00
|
|
|
)
|
|
|
|
|
2014-07-15 10:14:49 +03:00
|
|
|
set(client_HEADERS
|
2017-06-29 01:03:37 +02:00
|
|
|
StdInc.h
|
|
|
|
|
2022-12-09 13:38:46 +02:00
|
|
|
battle/BattleActionsController.h
|
|
|
|
battle/BattleAnimationClasses.h
|
|
|
|
battle/BattleEffectsController.h
|
|
|
|
battle/BattleFieldController.h
|
|
|
|
battle/BattleInterfaceClasses.h
|
|
|
|
battle/BattleInterface.h
|
|
|
|
battle/BattleObstacleController.h
|
|
|
|
battle/BattleProjectileController.h
|
|
|
|
battle/BattleRenderer.h
|
|
|
|
battle/BattleSiegeController.h
|
|
|
|
battle/BattleStacksController.h
|
2022-12-21 17:06:47 +02:00
|
|
|
battle/BattleWindow.h
|
2022-12-09 13:38:46 +02:00
|
|
|
battle/CreatureAnimation.h
|
2022-12-08 19:41:02 +02:00
|
|
|
battle/BattleConstants.h
|
2017-06-29 01:03:37 +02:00
|
|
|
|
|
|
|
gui/CAnimation.h
|
2022-12-11 22:09:57 +02:00
|
|
|
gui/Canvas.h
|
2023-01-05 19:34:37 +02:00
|
|
|
gui/CursorHandler.h
|
2017-06-29 01:03:37 +02:00
|
|
|
gui/CGuiHandler.h
|
2022-12-15 23:24:03 +02:00
|
|
|
gui/ColorFilter.h
|
2017-06-29 01:03:37 +02:00
|
|
|
gui/CIntObject.h
|
|
|
|
gui/Fonts.h
|
2023-01-18 15:50:52 +02:00
|
|
|
gui/TextAlignment.h
|
2017-06-29 01:03:37 +02:00
|
|
|
gui/SDL_Extensions.h
|
2023-01-30 20:06:08 +02:00
|
|
|
gui/SDL_PixelAccess.h
|
2020-03-22 15:57:13 +02:00
|
|
|
gui/NotificationHandler.h
|
2022-12-12 09:48:39 +02:00
|
|
|
gui/InterfaceObjectConfigurable.h
|
2017-06-29 01:03:37 +02:00
|
|
|
|
|
|
|
widgets/AdventureMapClasses.h
|
|
|
|
widgets/Buttons.h
|
|
|
|
widgets/CArtifactHolder.h
|
|
|
|
widgets/CComponent.h
|
|
|
|
widgets/CGarrisonInt.h
|
|
|
|
widgets/Images.h
|
|
|
|
widgets/MiscWidgets.h
|
|
|
|
widgets/ObjectLists.h
|
|
|
|
widgets/TextControls.h
|
|
|
|
windows/CAdvmapInterface.h
|
|
|
|
windows/CCastleInterface.h
|
|
|
|
windows/CCreatureWindow.h
|
2017-12-20 21:08:21 +02:00
|
|
|
windows/CreaturePurchaseCard.h
|
2017-06-29 01:03:37 +02:00
|
|
|
windows/CHeroWindow.h
|
|
|
|
windows/CKingdomInterface.h
|
|
|
|
windows/CQuestLog.h
|
|
|
|
windows/CSpellWindow.h
|
|
|
|
windows/CTradeWindow.h
|
|
|
|
windows/CWindowObject.h
|
|
|
|
windows/GUIClasses.h
|
|
|
|
windows/InfoWindows.h
|
2017-11-01 15:58:49 +02:00
|
|
|
windows/QuickRecruitmentWindow.h
|
2017-06-29 01:03:37 +02:00
|
|
|
|
2018-01-05 19:21:07 +02:00
|
|
|
mainmenu/CMainMenu.h
|
|
|
|
mainmenu/CCampaignScreen.h
|
|
|
|
mainmenu/CreditsScreen.h
|
|
|
|
mainmenu/CPrologEpilogVideo.h
|
|
|
|
|
|
|
|
lobby/CBonusSelection.h
|
|
|
|
lobby/CSelectionBase.h
|
|
|
|
lobby/CLobbyScreen.h
|
|
|
|
lobby/CSavingScreen.h
|
|
|
|
lobby/CScenarioInfoScreen.h
|
2022-04-26 13:14:31 +02:00
|
|
|
lobby/CCampaignInfoScreen.h
|
2018-01-05 19:21:07 +02:00
|
|
|
lobby/OptionsTab.h
|
|
|
|
lobby/RandomMapTab.h
|
|
|
|
lobby/SelectionTab.h
|
|
|
|
|
2017-06-29 01:03:37 +02:00
|
|
|
CBitmapHandler.h
|
2017-11-01 15:58:49 +02:00
|
|
|
CreatureCostBox.h
|
2017-06-29 01:03:37 +02:00
|
|
|
CGameInfo.h
|
|
|
|
Client.h
|
|
|
|
CMessage.h
|
|
|
|
CMT.h
|
|
|
|
CMusicHandler.h
|
|
|
|
CPlayerInterface.h
|
|
|
|
CVideoHandler.h
|
2018-01-05 19:21:07 +02:00
|
|
|
CServerHandler.h
|
2017-06-29 01:03:37 +02:00
|
|
|
Graphics.h
|
|
|
|
mapHandler.h
|
|
|
|
resource.h
|
|
|
|
SDLRWwrapper.h
|
2023-01-16 01:37:18 +02:00
|
|
|
ClientCommandManager.h
|
2014-07-15 10:14:49 +03:00
|
|
|
)
|
|
|
|
|
2021-03-21 16:30:34 +02:00
|
|
|
if(APPLE_IOS)
|
|
|
|
set(client_SRCS ${client_SRCS}
|
|
|
|
CFocusableHelper.cpp
|
2022-09-29 11:47:31 +02:00
|
|
|
ios/GameChatKeyboardHandler.m
|
2022-08-05 13:32:29 +02:00
|
|
|
ios/main.m
|
|
|
|
ios/startSDL.mm
|
2022-08-16 11:54:44 +02:00
|
|
|
ios/utils.mm
|
2021-03-21 16:30:34 +02:00
|
|
|
)
|
|
|
|
set(client_HEADERS ${client_HEADERS}
|
|
|
|
CFocusableHelper.h
|
2022-09-29 11:47:31 +02:00
|
|
|
ios/GameChatKeyboardHandler.h
|
2022-08-05 13:32:29 +02:00
|
|
|
ios/startSDL.h
|
2022-08-16 11:54:44 +02:00
|
|
|
ios/utils.h
|
2021-03-21 16:30:34 +02:00
|
|
|
)
|
|
|
|
endif()
|
|
|
|
|
2017-08-15 20:17:00 +02:00
|
|
|
assign_source_group(${client_SRCS} ${client_HEADERS} VCMI_client.rc)
|
|
|
|
|
2017-05-25 19:57:20 +02:00
|
|
|
if(ANDROID) # android needs client/server to be libraries, not executables, so we can't reuse the build part of this script
|
|
|
|
return()
|
|
|
|
endif()
|
|
|
|
|
2022-08-30 16:29:00 +02:00
|
|
|
if(WIN32)
|
2017-08-07 18:43:32 +02:00
|
|
|
set(client_ICON "VCMI_client.rc")
|
|
|
|
endif()
|
|
|
|
|
2017-08-16 15:29:18 +02:00
|
|
|
if(ENABLE_DEBUG_CONSOLE)
|
|
|
|
add_executable(vcmiclient ${client_SRCS} ${client_HEADERS} ${client_ICON})
|
|
|
|
else()
|
|
|
|
add_executable(vcmiclient WIN32 ${client_SRCS} ${client_HEADERS} ${client_ICON})
|
|
|
|
endif(ENABLE_DEBUG_CONSOLE)
|
2022-08-15 13:38:03 +02:00
|
|
|
|
2022-12-13 03:55:54 +02:00
|
|
|
add_dependencies(vcmiclient vcmiserver BattleAI StupidAI VCAI)
|
2022-12-15 02:18:17 +02:00
|
|
|
if(ENABLE_NULLKILLER_AI)
|
2022-12-13 03:55:54 +02:00
|
|
|
add_dependencies(vcmiclient Nullkiller)
|
|
|
|
endif()
|
2022-08-15 13:38:03 +02:00
|
|
|
if(APPLE_IOS)
|
|
|
|
if(ENABLE_ERM)
|
|
|
|
add_dependencies(vcmiclient vcmiERM)
|
|
|
|
endif()
|
|
|
|
if(ENABLE_LUA)
|
|
|
|
add_dependencies(vcmiclient vcmiLua)
|
|
|
|
endif()
|
|
|
|
endif()
|
2012-07-01 17:27:41 +03:00
|
|
|
|
2014-07-10 01:06:37 +03:00
|
|
|
if(WIN32)
|
2017-08-15 20:17:00 +02:00
|
|
|
set_target_properties(vcmiclient
|
|
|
|
PROPERTIES
|
|
|
|
OUTPUT_NAME "VCMI_client"
|
|
|
|
PROJECT_LABEL "VCMI_client"
|
|
|
|
)
|
2017-10-31 08:28:35 +02:00
|
|
|
set_property(DIRECTORY ${CMAKE_SOURCE_DIR} PROPERTY VS_STARTUP_PROJECT vcmiclient)
|
2017-08-16 15:29:18 +02:00
|
|
|
if(NOT ENABLE_DEBUG_CONSOLE)
|
2022-05-26 07:55:20 +02:00
|
|
|
target_link_libraries(vcmiclient SDL2::SDL2main)
|
2017-08-16 15:29:18 +02:00
|
|
|
endif()
|
2022-08-03 10:49:30 +02:00
|
|
|
target_compile_definitions(vcmiclient PRIVATE WINDOWS_IGNORE_PACKING_MISMATCH)
|
2022-09-25 13:09:09 +02:00
|
|
|
|
|
|
|
# TODO: very hacky, find proper solution to copy AI dlls into bin dir
|
|
|
|
if(MSVC)
|
|
|
|
add_custom_command(TARGET vcmiclient POST_BUILD
|
|
|
|
WORKING_DIRECTORY "$<TARGET_FILE_DIR:vcmiclient>"
|
2022-10-04 20:30:18 +02:00
|
|
|
COMMAND ${CMAKE_COMMAND} -E copy AI/fuzzylite.dll fuzzylite.dll
|
2023-01-15 23:55:24 +02:00
|
|
|
COMMAND ${CMAKE_COMMAND} -E copy AI/tbb12.dll tbb12.dll
|
2022-09-25 13:09:09 +02:00
|
|
|
)
|
|
|
|
endif()
|
2021-03-01 10:38:21 +02:00
|
|
|
elseif(APPLE_IOS)
|
|
|
|
target_link_libraries(vcmiclient PRIVATE
|
2022-08-15 15:29:11 +02:00
|
|
|
iOS_utils
|
|
|
|
|
2022-08-15 09:43:06 +02:00
|
|
|
# FFmpeg
|
|
|
|
bz2
|
|
|
|
iconv
|
|
|
|
z
|
2022-06-27 12:01:23 +02:00
|
|
|
"-framework AudioToolbox"
|
|
|
|
"-framework AVFoundation"
|
|
|
|
"-framework CoreMedia"
|
|
|
|
"-framework VideoToolbox"
|
2021-03-02 02:56:54 +02:00
|
|
|
)
|
2021-03-04 17:10:42 +02:00
|
|
|
|
2021-03-12 12:31:05 +02:00
|
|
|
set_target_properties(vcmiclient PROPERTIES
|
2021-03-13 22:23:20 +02:00
|
|
|
MACOSX_BUNDLE_INFO_PLIST "${CMAKE_CURRENT_LIST_DIR}/ios/Info.plist"
|
2021-11-26 14:49:02 +02:00
|
|
|
XCODE_ATTRIBUTE_LD_RUNPATH_SEARCH_PATHS "@executable_path/Frameworks"
|
2021-12-02 14:02:34 +02:00
|
|
|
XCODE_ATTRIBUTE_CODE_SIGNING_ALLOWED "$(CODE_SIGNING_ALLOWED_FOR_APPS)"
|
2021-03-13 15:53:31 +02:00
|
|
|
XCODE_ATTRIBUTE_ASSETCATALOG_COMPILER_APPICON_NAME AppIcon
|
2021-03-12 12:31:05 +02:00
|
|
|
)
|
2021-03-10 09:57:07 +02:00
|
|
|
|
2022-08-15 13:55:39 +02:00
|
|
|
foreach(XCODE_RESOURCE LaunchScreen.storyboard Images.xcassets Settings.bundle vcmi_logo.png)
|
2022-08-07 07:58:04 +02:00
|
|
|
set(XCODE_RESOURCE_PATH ios/${XCODE_RESOURCE})
|
|
|
|
target_sources(vcmiclient PRIVATE ${XCODE_RESOURCE_PATH})
|
|
|
|
set_source_files_properties(${XCODE_RESOURCE_PATH} PROPERTIES MACOSX_PACKAGE_LOCATION Resources)
|
|
|
|
|
|
|
|
# workaround to prevent CMAKE_SKIP_PRECOMPILE_HEADERS being added as compile flag
|
2023-01-24 19:18:09 +02:00
|
|
|
if(CMAKE_VERSION VERSION_GREATER_EQUAL "3.22.0" AND CMAKE_VERSION VERSION_LESS "3.25.0")
|
2022-08-07 07:58:04 +02:00
|
|
|
set_source_files_properties(${XCODE_RESOURCE_PATH} PROPERTIES LANGUAGE CXX)
|
|
|
|
endif()
|
|
|
|
endforeach()
|
2021-03-13 15:53:31 +02:00
|
|
|
|
2022-08-07 07:58:04 +02:00
|
|
|
set(CMAKE_EXE_LINKER_FLAGS "-Wl,-e,_client_main")
|
2014-07-10 01:06:37 +03:00
|
|
|
endif()
|
|
|
|
|
2022-12-06 00:00:56 +02:00
|
|
|
if(ENABLE_SINGLE_APP_BUILD)
|
2022-07-27 11:23:37 +02:00
|
|
|
target_link_libraries(vcmiclient PRIVATE vcmiserver)
|
2022-08-03 09:49:04 +02:00
|
|
|
if(ENABLE_LAUNCHER)
|
|
|
|
target_link_libraries(vcmiclient PRIVATE vcmilauncher)
|
|
|
|
endif()
|
2022-07-27 11:23:37 +02:00
|
|
|
endif()
|
2019-03-20 21:58:15 +02:00
|
|
|
target_link_libraries(vcmiclient PRIVATE
|
2022-07-27 11:23:37 +02:00
|
|
|
${VCMI_LIB_TARGET} SDL2::SDL2 SDL2::Image SDL2::Mixer SDL2::TTF
|
2017-08-15 20:18:02 +02:00
|
|
|
)
|
2019-01-19 01:57:54 +02:00
|
|
|
|
2022-09-17 13:54:22 +02:00
|
|
|
if(ffmpeg_LIBRARIES)
|
|
|
|
target_link_libraries(vcmiclient PRIVATE
|
2022-06-27 12:01:23 +02:00
|
|
|
${ffmpeg_LIBRARIES}
|
2022-09-17 13:54:22 +02:00
|
|
|
)
|
|
|
|
else()
|
|
|
|
target_compile_definitions(vcmiclient PRIVATE DISABLE_VIDEO)
|
|
|
|
endif()
|
|
|
|
|
2023-01-22 20:09:37 +02:00
|
|
|
target_include_directories(vcmiclient PUBLIC
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}
|
|
|
|
)
|
|
|
|
|
|
|
|
if (ffmpeg_INCLUDE_DIRS)
|
|
|
|
target_include_directories(vcmiclient PRIVATE
|
|
|
|
${ffmpeg_INCLUDE_DIRS}
|
|
|
|
)
|
|
|
|
endif()
|
2019-01-19 01:57:54 +02:00
|
|
|
|
2017-07-04 22:46:49 +02:00
|
|
|
vcmi_set_output_dir(vcmiclient "")
|
2022-06-16 22:02:36 +02:00
|
|
|
enable_pch(vcmiclient)
|
2014-02-01 16:37:26 +03:00
|
|
|
|
2021-03-11 10:52:09 +02:00
|
|
|
if(APPLE_IOS)
|
2022-10-13 12:04:32 +02:00
|
|
|
vcmi_install_conan_deps("\${CMAKE_INSTALL_PREFIX}")
|
2021-03-11 10:52:09 +02:00
|
|
|
add_custom_command(TARGET vcmiclient POST_BUILD
|
2022-09-30 11:33:00 +02:00
|
|
|
COMMAND ios/set_build_version.sh "$<TARGET_BUNDLE_CONTENT_DIR:vcmiclient>"
|
2022-08-11 11:12:33 +02:00
|
|
|
COMMAND ${CMAKE_COMMAND} --install "${CMAKE_BINARY_DIR}" --component "${CMAKE_INSTALL_DEFAULT_COMPONENT_NAME}" --config "$<CONFIG>" --prefix "$<TARGET_BUNDLE_CONTENT_DIR:vcmiclient>"
|
2022-10-17 10:23:08 +02:00
|
|
|
COMMAND ios/rpath_remove_symlinks.sh
|
2022-09-30 11:33:00 +02:00
|
|
|
COMMAND ios/codesign.sh
|
|
|
|
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
|
2021-03-11 10:52:09 +02:00
|
|
|
)
|
2022-08-11 11:12:33 +02:00
|
|
|
install(TARGETS vcmiclient DESTINATION Payload COMPONENT app) # for ipa generation with cpack
|
2021-03-11 10:52:09 +02:00
|
|
|
else()
|
|
|
|
install(TARGETS vcmiclient DESTINATION ${BIN_DIR})
|
|
|
|
endif()
|
2017-08-12 20:58:09 +02:00
|
|
|
|
|
|
|
#install icons and desktop file on Linux
|
|
|
|
if(NOT WIN32 AND NOT APPLE)
|
|
|
|
#FIXME: move to client makefile?
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/client/icons/vcmiclient.64x64.png" DESTINATION share/icons/hicolor/64x64/apps RENAME vcmiclient.png)
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/client/icons/vcmiclient.48x48.png" DESTINATION share/icons/hicolor/48x48/apps RENAME vcmiclient.png)
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/client/icons/vcmiclient.32x32.png" DESTINATION share/icons/hicolor/32x32/apps RENAME vcmiclient.png)
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/client/icons/vcmiclient.256x256.png" DESTINATION share/icons/hicolor/256x256/apps RENAME vcmiclient.png)
|
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/client/icons/vcmiclient.desktop" DESTINATION share/applications)
|
|
|
|
endif()
|