2021-12-13 12:12:54 +00:00
|
|
|
set(CMAKE_AUTOMOC ON)
|
|
|
|
set(CMAKE_AUTORCC ON)
|
|
|
|
set(CMAKE_AUTOUIC ON)
|
|
|
|
|
|
|
|
add_executable(pcsx2-qt)
|
|
|
|
|
|
|
|
if (PACKAGE_MODE)
|
|
|
|
install(TARGETS pcsx2-qt DESTINATION ${CMAKE_INSTALL_BINDIR})
|
|
|
|
else()
|
|
|
|
install(TARGETS pcsx2-qt DESTINATION ${CMAKE_SOURCE_DIR}/bin)
|
|
|
|
endif()
|
|
|
|
|
|
|
|
target_sources(pcsx2-qt PRIVATE
|
|
|
|
AboutDialog.cpp
|
|
|
|
AboutDialog.h
|
|
|
|
AboutDialog.ui
|
2022-05-12 16:07:09 +00:00
|
|
|
AutoUpdaterDialog.cpp
|
|
|
|
AutoUpdaterDialog.h
|
|
|
|
AutoUpdaterDialog.ui
|
2021-12-13 12:12:54 +00:00
|
|
|
DisplayWidget.cpp
|
|
|
|
DisplayWidget.h
|
2022-05-27 09:48:59 +00:00
|
|
|
EarlyHardwareCheck.cpp
|
2021-12-13 12:12:54 +00:00
|
|
|
EmuThread.cpp
|
|
|
|
EmuThread.h
|
|
|
|
MainWindow.cpp
|
|
|
|
MainWindow.h
|
|
|
|
MainWindow.ui
|
|
|
|
PrecompiledHeader.cpp
|
|
|
|
PrecompiledHeader.h
|
|
|
|
QtHost.cpp
|
|
|
|
QtHost.h
|
|
|
|
QtKeyCodes.cpp
|
|
|
|
QtUtils.cpp
|
|
|
|
QtUtils.h
|
|
|
|
SettingWidgetBinder.h
|
2022-05-07 06:32:44 +00:00
|
|
|
GameList/EmptyGameListWidget.ui
|
2021-12-13 12:12:54 +00:00
|
|
|
GameList/GameListModel.cpp
|
|
|
|
GameList/GameListModel.h
|
|
|
|
GameList/GameListRefreshThread.cpp
|
|
|
|
GameList/GameListRefreshThread.h
|
|
|
|
GameList/GameListWidget.cpp
|
|
|
|
GameList/GameListWidget.h
|
|
|
|
Settings/AdvancedSystemSettingsWidget.cpp
|
|
|
|
Settings/AdvancedSystemSettingsWidget.h
|
|
|
|
Settings/AdvancedSystemSettingsWidget.ui
|
2022-02-15 14:59:15 +00:00
|
|
|
Settings/AudioSettingsWidget.cpp
|
|
|
|
Settings/AudioSettingsWidget.h
|
|
|
|
Settings/AudioSettingsWidget.ui
|
2021-12-13 12:12:54 +00:00
|
|
|
Settings/BIOSSettingsWidget.cpp
|
|
|
|
Settings/BIOSSettingsWidget.h
|
|
|
|
Settings/BIOSSettingsWidget.ui
|
|
|
|
Settings/ControllerBindingWidget.ui
|
|
|
|
Settings/ControllerBindingWidget_DualShock2.ui
|
|
|
|
Settings/ControllerBindingWidgets.cpp
|
|
|
|
Settings/ControllerBindingWidgets.h
|
|
|
|
Settings/ControllerGlobalSettingsWidget.cpp
|
|
|
|
Settings/ControllerGlobalSettingsWidget.h
|
|
|
|
Settings/ControllerGlobalSettingsWidget.ui
|
|
|
|
Settings/ControllerSettingsDialog.cpp
|
|
|
|
Settings/ControllerSettingsDialog.h
|
|
|
|
Settings/ControllerSettingsDialog.ui
|
2022-06-08 12:15:10 +00:00
|
|
|
Settings/ControllerSettingWidgetBinder.h
|
2022-03-25 09:24:41 +00:00
|
|
|
Settings/CreateMemoryCardDialog.cpp
|
|
|
|
Settings/CreateMemoryCardDialog.h
|
|
|
|
Settings/CreateMemoryCardDialog.ui
|
2021-12-13 12:12:54 +00:00
|
|
|
Settings/EmulationSettingsWidget.cpp
|
|
|
|
Settings/EmulationSettingsWidget.h
|
|
|
|
Settings/EmulationSettingsWidget.ui
|
2022-06-18 10:20:24 +00:00
|
|
|
Settings/FolderSettingsWidget.cpp
|
|
|
|
Settings/FolderSettingsWidget.h
|
|
|
|
Settings/FolderSettingsWidget.ui
|
2021-12-13 12:12:54 +00:00
|
|
|
Settings/GameFixSettingsWidget.cpp
|
|
|
|
Settings/GameFixSettingsWidget.h
|
|
|
|
Settings/GameFixSettingsWidget.ui
|
|
|
|
Settings/GameListSettingsWidget.cpp
|
|
|
|
Settings/GameListSettingsWidget.h
|
|
|
|
Settings/GameListSettingsWidget.ui
|
2022-02-15 14:59:15 +00:00
|
|
|
Settings/GameSummaryWidget.cpp
|
|
|
|
Settings/GameSummaryWidget.h
|
|
|
|
Settings/GameSummaryWidget.ui
|
2021-12-13 12:12:54 +00:00
|
|
|
Settings/GraphicsSettingsWidget.cpp
|
|
|
|
Settings/GraphicsSettingsWidget.h
|
|
|
|
Settings/GraphicsSettingsWidget.ui
|
|
|
|
Settings/HotkeySettingsWidget.cpp
|
|
|
|
Settings/HotkeySettingsWidget.h
|
|
|
|
Settings/InputBindingDialog.cpp
|
|
|
|
Settings/InputBindingDialog.h
|
|
|
|
Settings/InputBindingDialog.ui
|
|
|
|
Settings/InputBindingWidget.cpp
|
|
|
|
Settings/InputBindingWidget.h
|
|
|
|
Settings/InterfaceSettingsWidget.cpp
|
|
|
|
Settings/InterfaceSettingsWidget.h
|
|
|
|
Settings/InterfaceSettingsWidget.ui
|
2022-02-15 14:59:15 +00:00
|
|
|
Settings/MemoryCardSettingsWidget.cpp
|
|
|
|
Settings/MemoryCardSettingsWidget.h
|
|
|
|
Settings/MemoryCardSettingsWidget.ui
|
2022-05-22 12:49:40 +00:00
|
|
|
Settings/DEV9DnsHostDialog.cpp
|
|
|
|
Settings/DEV9DnsHostDialog.h
|
|
|
|
Settings/DEV9DnsHostDialog.ui
|
2022-03-13 17:58:39 +00:00
|
|
|
Settings/DEV9SettingsWidget.cpp
|
|
|
|
Settings/DEV9SettingsWidget.h
|
|
|
|
Settings/DEV9SettingsWidget.ui
|
2022-05-22 12:35:59 +00:00
|
|
|
Settings/DEV9UiCommon.cpp
|
|
|
|
Settings/DEV9UiCommon.h
|
2022-03-13 17:58:39 +00:00
|
|
|
Settings/HddCreateQt.cpp
|
|
|
|
Settings/HddCreateQt.h
|
2021-12-13 12:12:54 +00:00
|
|
|
Settings/SettingsDialog.cpp
|
|
|
|
Settings/SettingsDialog.h
|
|
|
|
Settings/SettingsDialog.ui
|
|
|
|
Settings/SystemSettingsWidget.cpp
|
|
|
|
Settings/SystemSettingsWidget.h
|
|
|
|
Settings/SystemSettingsWidget.ui
|
2022-04-04 21:35:08 +00:00
|
|
|
Tools/InputRecording/NewInputRecordingDlg.cpp
|
|
|
|
Tools/InputRecording/NewInputRecordingDlg.h
|
|
|
|
Tools/InputRecording/NewInputRecordingDlg.ui
|
2021-12-13 12:12:54 +00:00
|
|
|
resources/resources.qrc
|
|
|
|
)
|
|
|
|
|
|
|
|
target_precompile_headers(pcsx2-qt PRIVATE PrecompiledHeader.h)
|
|
|
|
|
|
|
|
target_include_directories(pcsx2-qt PRIVATE
|
|
|
|
${Qt6Gui_PRIVATE_INCLUDE_DIRS}
|
|
|
|
"${CMAKE_BINARY_DIR}/common/include"
|
|
|
|
"${CMAKE_SOURCE_DIR}/pcsx2"
|
|
|
|
"${CMAKE_SOURCE_DIR}/pcsx2-qt"
|
|
|
|
)
|
|
|
|
|
|
|
|
target_link_libraries(pcsx2-qt PRIVATE
|
|
|
|
PCSX2_FLAGS
|
|
|
|
PCSX2
|
|
|
|
Qt6::Core
|
|
|
|
Qt6::Gui
|
|
|
|
Qt6::Widgets
|
|
|
|
Qt6::Network
|
|
|
|
)
|
2022-05-12 16:07:09 +00:00
|
|
|
|
|
|
|
# Currently, 7z is only needed for the Windows updater.
|
|
|
|
if(WIN32)
|
|
|
|
target_link_libraries(pcsx2-qt PRIVATE
|
|
|
|
LZMA::LZMA
|
|
|
|
)
|
|
|
|
endif()
|
|
|
|
|
2022-05-23 10:01:51 +00:00
|
|
|
setup_main_executable(pcsx2-qt)
|