forked from moonpower/azahar-UWP
cmake: Added citra_room_standalone target and ENABLE_ROOM_STANDALONE option
This commit is contained in:
@@ -199,6 +199,10 @@ if (ENABLE_ROOM)
|
||||
add_subdirectory(citra_room)
|
||||
endif()
|
||||
|
||||
if (ENABLE_ROOM_STANDALONE)
|
||||
add_subdirectory(citra_room_standalone)
|
||||
endif()
|
||||
|
||||
if (ANDROID)
|
||||
add_subdirectory(android/app/src/main/jni)
|
||||
target_include_directories(citra-android PRIVATE android/app/src/main)
|
||||
|
||||
11
src/citra_room_standalone/CMakeLists.txt
Normal file
11
src/citra_room_standalone/CMakeLists.txt
Normal file
@@ -0,0 +1,11 @@
|
||||
add_executable(citra_room_standalone
|
||||
citra_room_standalone.cpp
|
||||
)
|
||||
|
||||
set_target_properties(citra_room_standalone PROPERTIES OUTPUT_NAME "azahar-room")
|
||||
|
||||
target_link_libraries(citra_room_standalone PRIVATE citra_room)
|
||||
|
||||
if(UNIX AND NOT APPLE)
|
||||
install(TARGETS citra_room_standalone RUNTIME DESTINATION "${CMAKE_INSTALL_PREFIX}/bin")
|
||||
endif()
|
||||
9
src/citra_room_standalone/citra_room_standalone.cpp
Normal file
9
src/citra_room_standalone/citra_room_standalone.cpp
Normal file
@@ -0,0 +1,9 @@
|
||||
// Copyright Citra Emulator Project / Azahar Emulator Project
|
||||
// Licensed under GPLv2 or any later version
|
||||
// Refer to the license.txt file included.
|
||||
|
||||
#include "citra_room/citra_room.h"
|
||||
|
||||
int main(int argc, char* argv[]) {
|
||||
LaunchRoom(argc, argv);
|
||||
}
|
||||
Reference in New Issue
Block a user