mirror of
https://github.com/izzy2lost/dolphin.git
synced 2026-06-19 01:16:48 -07:00
CMake: Use rc and manifests on other targets to match VS Project
This commit is contained in:
@@ -23,7 +23,16 @@ if(${CMAKE_SYSTEM_NAME} STREQUAL "Linux")
|
||||
target_sources(dolphin-nogui PRIVATE PlatformFBDev.cpp)
|
||||
endif()
|
||||
|
||||
set_target_properties(dolphin-nogui PROPERTIES OUTPUT_NAME dolphin-emu-nogui)
|
||||
if (WIN32)
|
||||
target_sources(dolphin-nogui PRIVATE DolphinNoGUI.exe.manifest DolphinNoGUI.rc)
|
||||
|
||||
set_target_properties(dolphin-nogui PROPERTIES
|
||||
DEBUG_POSTFIX D
|
||||
OUTPUT_NAME DolphinNoGUI
|
||||
)
|
||||
else()
|
||||
set_target_properties(dolphin-nogui PROPERTIES OUTPUT_NAME dolphin-emu-nogui)
|
||||
endif()
|
||||
|
||||
target_link_libraries(dolphin-nogui
|
||||
PRIVATE
|
||||
|
||||
@@ -11,7 +11,14 @@ add_executable(dolphin-tool
|
||||
ToolMain.cpp
|
||||
)
|
||||
|
||||
set_target_properties(dolphin-tool PROPERTIES OUTPUT_NAME dolphin-tool)
|
||||
if (WIN32)
|
||||
target_sources(dolphin-tool PRIVATE DolphinTool.exe.manifest DolphinTool.rc)
|
||||
|
||||
set_target_properties(dolphin-tool PROPERTIES
|
||||
DEBUG_POSTFIX D
|
||||
OUTPUT_NAME DolphinTool
|
||||
)
|
||||
endif()
|
||||
|
||||
target_link_libraries(dolphin-tool
|
||||
PRIVATE
|
||||
|
||||
Reference in New Issue
Block a user