From c25ccc2acbfc5f4cfb6927a473f0fd5365a2929d Mon Sep 17 00:00:00 2001 From: Michael Pavlyshko Date: Fri, 11 Jul 2014 01:09:00 +0300 Subject: [PATCH] Rename: vcmi.dll -> VCMI_lib.dll, vcmilauncher.exe -> VCMI_launcher.exe --- launcher/CMakeLists.txt | 1 + lib/CMakeLists.txt | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/launcher/CMakeLists.txt b/launcher/CMakeLists.txt index 91120e709..2c5123cb8 100644 --- a/launcher/CMakeLists.txt +++ b/launcher/CMakeLists.txt @@ -53,6 +53,7 @@ qt5_wrap_ui(launcher_UI_HEADERS ${launcher_FORMS}) if(WIN32) add_executable(vcmilauncher WIN32 ${launcher_SRCS} ${launcher_UI_HEADERS}) + set_target_properties(vcmilauncher PROPERTIES OUTPUT_NAME VCMI_launcher) else() add_executable(vcmilauncher ${launcher_SRCS} ${launcher_UI_HEADERS}) endif() diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt index b17f5e9fb..2bb5890bd 100644 --- a/lib/CMakeLists.txt +++ b/lib/CMakeLists.txt @@ -135,6 +135,10 @@ set_target_properties(vcmi PROPERTIES XCODE_ATTRIBUTE_LD_DYLIB_INSTALL_NAME "@rp set_target_properties(vcmi PROPERTIES COMPILE_DEFINITIONS "VCMI_DLL=1") target_link_libraries(vcmi minizip ${Boost_LIBRARIES} ${SDL_LIBRARY} ${ZLIB_LIBRARIES} ${SYSTEM_LIBS}) +if(WIN32) + set_target_properties(vcmi PROPERTIES OUTPUT_NAME VCMI_lib) +endif() + set_target_properties(vcmi PROPERTIES ${PCH_PROPERTIES}) cotire(vcmi)