Merge pull request #4214 from FreddyFunk/citra-qt-startup-project

Set citra-qt project as default StartUp Project in Visual Studio
This commit is contained in:
Weiyi Wang 2018-09-21 12:30:53 -04:00 committed by GitHub
commit a6fb17bf66
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -384,6 +384,13 @@ add_subdirectory(src)
add_subdirectory(dist/installer)
# Set citra-qt project or citra project as default StartUp Project in Visual Studio depending on whether QT is enabled or not
if(ENABLE_QT)
set_property(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} PROPERTY VS_STARTUP_PROJECT citra-qt)
else()
set_property(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} PROPERTY VS_STARTUP_PROJECT citra)
endif()
# Installation instructions
# =========================