mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-02-20 07:13:49 -07:00
CMake: Use rc and manifests on other targets to match VS Project
This commit is contained in:
parent
da22171c80
commit
3bb3a05f82
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user