mirror of
https://github.com/Lime3DS/Lime3DS.git
synced 2025-03-08 08:27:57 +01:00
citra-room: Updated filename and cmake target name formatting for consistency
This commit is contained in:
parent
4a84df0732
commit
99d59c6775
@ -452,7 +452,7 @@ if (NOT ANDROID AND NOT IOS)
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
if (ENABLE_DEDICATED_ROOM)
|
if (ENABLE_DEDICATED_ROOM)
|
||||||
bundle_target(citra-room)
|
bundle_target(citra_room)
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
@ -1,34 +1,36 @@
|
|||||||
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${PROJECT_SOURCE_DIR}/CMakeModules)
|
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${PROJECT_SOURCE_DIR}/CMakeModules)
|
||||||
|
|
||||||
add_executable(citra-room
|
add_executable(citra_room
|
||||||
precompiled_headers.h
|
precompiled_headers.h
|
||||||
citra-room.cpp
|
citra_room.cpp
|
||||||
citra-room.rc
|
citra_room.rc
|
||||||
)
|
)
|
||||||
|
|
||||||
create_target_directory_groups(citra-room)
|
set_target_properties(citra_room PROPERTIES OUTPUT_NAME "citra-room")
|
||||||
|
|
||||||
target_link_libraries(citra-room PRIVATE citra_common network)
|
create_target_directory_groups(citra_room)
|
||||||
|
|
||||||
|
target_link_libraries(citra_room PRIVATE citra_common network)
|
||||||
if (ENABLE_WEB_SERVICE)
|
if (ENABLE_WEB_SERVICE)
|
||||||
target_link_libraries(citra-room PRIVATE web_service)
|
target_link_libraries(citra_room PRIVATE web_service)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
target_link_libraries(citra-room PRIVATE cryptopp)
|
target_link_libraries(citra_room PRIVATE cryptopp)
|
||||||
if (MSVC)
|
if (MSVC)
|
||||||
target_link_libraries(citra-room PRIVATE getopt)
|
target_link_libraries(citra_room PRIVATE getopt)
|
||||||
endif()
|
endif()
|
||||||
target_link_libraries(citra-room PRIVATE ${PLATFORM_LIBRARIES} Threads::Threads)
|
target_link_libraries(citra_room PRIVATE ${PLATFORM_LIBRARIES} Threads::Threads)
|
||||||
|
|
||||||
if(UNIX AND NOT APPLE)
|
if(UNIX AND NOT APPLE)
|
||||||
install(TARGETS citra-room RUNTIME DESTINATION "${CMAKE_INSTALL_PREFIX}/bin")
|
install(TARGETS citra_room RUNTIME DESTINATION "${CMAKE_INSTALL_PREFIX}/bin")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if (CITRA_USE_PRECOMPILED_HEADERS)
|
if (CITRA_USE_PRECOMPILED_HEADERS)
|
||||||
target_precompile_headers(citra-room PRIVATE precompiled_headers.h)
|
target_precompile_headers(citra_room PRIVATE precompiled_headers.h)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# Bundle in-place on MSVC so dependencies can be resolved by builds.
|
# Bundle in-place on MSVC so dependencies can be resolved by builds.
|
||||||
if (MSVC)
|
if (MSVC)
|
||||||
include(BundleTarget)
|
include(BundleTarget)
|
||||||
bundle_target_in_place(citra-room)
|
bundle_target_in_place(citra_room)
|
||||||
endif()
|
endif()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user