mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2024-09-05 06:39:02 +00:00
Port citra-emu/citra#4214: "Set citra-qt project as default StartUp Project in Visual Studio"
This commit is contained in:
parent
fb9f273e90
commit
f90b75cc4c
@ -440,8 +440,12 @@ enable_testing()
|
|||||||
add_subdirectory(externals)
|
add_subdirectory(externals)
|
||||||
add_subdirectory(src)
|
add_subdirectory(src)
|
||||||
|
|
||||||
# Set yuzu project as default StartUp Project in Visual Studio
|
# Set yuzu project or yuzu-cmd project as default StartUp Project in Visual Studio depending on whether QT is enabled or not
|
||||||
set_property(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} PROPERTY VS_STARTUP_PROJECT yuzu)
|
if(ENABLE_QT)
|
||||||
|
set_property(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} PROPERTY VS_STARTUP_PROJECT yuzu)
|
||||||
|
else()
|
||||||
|
set_property(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} PROPERTY VS_STARTUP_PROJECT yuzu-cmd)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
|
||||||
# Installation instructions
|
# Installation instructions
|
||||||
|
Loading…
Reference in New Issue
Block a user