Skip to content

Commit

Permalink
DolphinNoGUI: Runtime selection of platform
Browse files Browse the repository at this point in the history
  • Loading branch information
stenzek committed Oct 29, 2018
1 parent 372728b commit 5585730
Show file tree
Hide file tree
Showing 6 changed files with 467 additions and 292 deletions.
6 changes: 6 additions & 0 deletions Source/Core/DolphinNoGUI/CMakeLists.txt
Expand Up @@ -3,9 +3,15 @@ if(NOT((ENABLE_X11 AND X11_FOUND) OR ENABLE_HEADLESS))
endif()

add_executable(dolphin-nogui
Platform.cpp
PlatformHeadless.cpp
MainNoGUI.cpp
)

if(ENABLE_X11 AND X11_FOUND)
target_sources(dolphin-nogui PRIVATE PlatformX11.cpp)
endif()

set_target_properties(dolphin-nogui PROPERTIES OUTPUT_NAME dolphin-emu-nogui)

target_link_libraries(dolphin-nogui
Expand Down

0 comments on commit 5585730

Please sign in to comment.