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)
|
target_sources(dolphin-nogui PRIVATE PlatformFBDev.cpp)
|
||||||
endif()
|
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
|
target_link_libraries(dolphin-nogui
|
||||||
PRIVATE
|
PRIVATE
|
||||||
|
|||||||
@@ -11,7 +11,14 @@ add_executable(dolphin-tool
|
|||||||
ToolMain.cpp
|
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
|
target_link_libraries(dolphin-tool
|
||||||
PRIVATE
|
PRIVATE
|
||||||
|
|||||||
Reference in New Issue
Block a user