2022-09-17 03:24:57 +02:00
|
|
|
add_library(CemuGui
|
|
|
|
canvas/IRenderCanvas.h
|
|
|
|
canvas/OpenGLCanvas.cpp
|
|
|
|
canvas/OpenGLCanvas.h
|
|
|
|
canvas/VulkanCanvas.cpp
|
|
|
|
canvas/VulkanCanvas.h
|
|
|
|
CemuApp.cpp
|
|
|
|
CemuApp.h
|
|
|
|
CemuUpdateWindow.cpp
|
|
|
|
CemuUpdateWindow.h
|
|
|
|
ChecksumTool.cpp
|
|
|
|
ChecksumTool.h
|
|
|
|
components/TextList.cpp
|
|
|
|
components/TextList.h
|
|
|
|
components/wxDownloadManagerList.cpp
|
|
|
|
components/wxDownloadManagerList.h
|
|
|
|
components/wxGameList.cpp
|
|
|
|
components/wxGameList.h
|
|
|
|
components/wxInputDraw.cpp
|
|
|
|
components/wxInputDraw.h
|
|
|
|
components/wxLogCtrl.cpp
|
|
|
|
components/wxLogCtrl.h
|
|
|
|
components/wxTitleManagerList.cpp
|
|
|
|
components/wxTitleManagerList.h
|
|
|
|
debugger/BreakpointWindow.cpp
|
|
|
|
debugger/BreakpointWindow.h
|
|
|
|
debugger/DebuggerWindow2.cpp
|
|
|
|
debugger/DebuggerWindow2.h
|
|
|
|
debugger/DisasmCtrl.cpp
|
|
|
|
debugger/DisasmCtrl.h
|
|
|
|
debugger/DumpCtrl.cpp
|
|
|
|
debugger/DumpCtrl.h
|
|
|
|
debugger/DumpWindow.cpp
|
|
|
|
debugger/DumpWindow.h
|
|
|
|
debugger/ModuleWindow.cpp
|
|
|
|
debugger/ModuleWindow.h
|
|
|
|
debugger/RegisterCtrl.cpp
|
|
|
|
debugger/RegisterCtrl.h
|
|
|
|
debugger/RegisterWindow.cpp
|
|
|
|
debugger/RegisterWindow.h
|
|
|
|
debugger/SymbolCtrl.cpp
|
|
|
|
debugger/SymbolCtrl.h
|
|
|
|
debugger/SymbolWindow.cpp
|
|
|
|
debugger/SymbolWindow.h
|
|
|
|
dialogs/CreateAccount/wxCreateAccountDialog.cpp
|
|
|
|
dialogs/CreateAccount/wxCreateAccountDialog.h
|
|
|
|
dialogs/SaveImport/SaveImportWindow.cpp
|
|
|
|
dialogs/SaveImport/SaveImportWindow.h
|
|
|
|
dialogs/SaveImport/SaveTransfer.cpp
|
|
|
|
dialogs/SaveImport/SaveTransfer.h
|
|
|
|
DownloadGraphicPacksWindow.cpp
|
|
|
|
DownloadGraphicPacksWindow.h
|
|
|
|
GameProfileWindow.cpp
|
|
|
|
GameProfileWindow.h
|
|
|
|
GameUpdateWindow.cpp
|
|
|
|
GameUpdateWindow.h
|
|
|
|
GeneralSettings2.cpp
|
|
|
|
GeneralSettings2.h
|
|
|
|
GettingStartedDialog.cpp
|
|
|
|
GettingStartedDialog.h
|
|
|
|
GraphicPacksWindow2.cpp
|
|
|
|
GraphicPacksWindow2.h
|
|
|
|
guiWrapper.cpp
|
|
|
|
guiWrapper.h
|
|
|
|
helpers/wxControlObject.h
|
|
|
|
helpers/wxCustomData.h
|
|
|
|
helpers/wxCustomEvents.cpp
|
|
|
|
helpers/wxCustomEvents.h
|
|
|
|
helpers/wxHelpers.cpp
|
|
|
|
helpers/wxHelpers.h
|
|
|
|
helpers/wxLogEvent.h
|
2023-03-29 16:28:17 +02:00
|
|
|
helpers/wxWayland.cpp
|
|
|
|
helpers/wxWayland.h
|
2022-09-17 03:24:57 +02:00
|
|
|
input/InputAPIAddWindow.cpp
|
|
|
|
input/InputAPIAddWindow.h
|
|
|
|
input/InputSettings2.cpp
|
|
|
|
input/InputSettings2.h
|
|
|
|
input/panels/ClassicControllerInputPanel.cpp
|
|
|
|
input/panels/ClassicControllerInputPanel.h
|
|
|
|
input/panels/InputPanel.cpp
|
|
|
|
input/panels/InputPanel.h
|
|
|
|
input/panels/ProControllerInputPanel.cpp
|
|
|
|
input/panels/ProControllerInputPanel.h
|
|
|
|
input/panels/VPADInputPanel.cpp
|
|
|
|
input/panels/VPADInputPanel.h
|
|
|
|
input/panels/WiimoteInputPanel.cpp
|
|
|
|
input/panels/WiimoteInputPanel.h
|
|
|
|
input/settings/DefaultControllerSettings.cpp
|
|
|
|
input/settings/DefaultControllerSettings.h
|
|
|
|
input/settings/WiimoteControllerSettings.cpp
|
|
|
|
input/settings/WiimoteControllerSettings.h
|
|
|
|
LoggingWindow.cpp
|
|
|
|
LoggingWindow.h
|
|
|
|
MainWindow.cpp
|
|
|
|
MainWindow.h
|
|
|
|
MemorySearcherTool.cpp
|
|
|
|
MemorySearcherTool.h
|
|
|
|
PadViewFrame.cpp
|
|
|
|
PadViewFrame.h
|
2023-09-06 04:59:50 +02:00
|
|
|
PairingDialog.cpp
|
|
|
|
PairingDialog.h
|
2022-09-17 03:24:57 +02:00
|
|
|
TitleManager.cpp
|
|
|
|
TitleManager.h
|
2024-06-28 00:55:20 +02:00
|
|
|
EmulatedUSBDevices/EmulatedUSBDeviceFrame.cpp
|
|
|
|
EmulatedUSBDevices/EmulatedUSBDeviceFrame.h
|
2022-09-17 03:24:57 +02:00
|
|
|
windows/PPCThreadsViewer
|
|
|
|
windows/PPCThreadsViewer/DebugPPCThreadsWindow.cpp
|
|
|
|
windows/PPCThreadsViewer/DebugPPCThreadsWindow.h
|
|
|
|
windows/TextureRelationViewer
|
|
|
|
windows/TextureRelationViewer/TextureRelationWindow.cpp
|
|
|
|
windows/TextureRelationViewer/TextureRelationWindow.h
|
|
|
|
wxcomponents/checked2.xpm
|
|
|
|
wxcomponents/checked_dis.xpm
|
|
|
|
wxcomponents/checked_d.xpm
|
|
|
|
wxcomponents/checked_ld.xpm
|
|
|
|
wxcomponents/checkedlistctrl.cpp
|
|
|
|
wxcomponents/checkedlistctrl.h
|
|
|
|
wxcomponents/checked_mo.xpm
|
|
|
|
wxcomponents/checked.xpm
|
|
|
|
wxcomponents/checktree.cpp
|
|
|
|
wxcomponents/checktree.h
|
|
|
|
wxcomponents/unchecked2.xpm
|
|
|
|
wxcomponents/unchecked_dis.xpm
|
|
|
|
wxcomponents/unchecked_d.xpm
|
|
|
|
wxcomponents/unchecked_ld.xpm
|
|
|
|
wxcomponents/unchecked_mo.xpm
|
|
|
|
wxcomponents/unchecked.xpm
|
|
|
|
wxgui.h
|
|
|
|
wxHelper.h
|
|
|
|
)
|
2022-08-22 22:21:23 +02:00
|
|
|
|
|
|
|
set_property(TARGET CemuGui PROPERTY MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>")
|
|
|
|
|
|
|
|
|
2022-08-29 07:19:48 +02:00
|
|
|
target_include_directories(CemuGui PUBLIC "../")
|
|
|
|
# PUBLIC because rapidjson/document.h is included in ChecksumTool.h
|
|
|
|
target_include_directories(CemuGui PUBLIC ${RAPIDJSON_INCLUDE_DIRS})
|
|
|
|
|
|
|
|
target_link_libraries(CemuGui PRIVATE
|
|
|
|
CemuAudio
|
|
|
|
CemuCafe
|
|
|
|
CemuCommon
|
|
|
|
CemuComponents
|
|
|
|
CemuConfig
|
|
|
|
CemuInput
|
|
|
|
CemuResource
|
|
|
|
CemuUtil
|
|
|
|
Boost::headers
|
|
|
|
CURL::libcurl
|
|
|
|
libzip::zip
|
|
|
|
OpenSSL::Crypto
|
|
|
|
pugixml::pugixml
|
|
|
|
ZArchive::zarchive
|
|
|
|
)
|
2022-08-22 22:21:23 +02:00
|
|
|
|
2022-11-24 12:29:29 +01:00
|
|
|
if(ENABLE_WXWIDGETS AND UNIX AND NOT APPLE)
|
|
|
|
# PUBLIC because gdk/gdkkeysyms.h is included in guiWrapper.h
|
|
|
|
target_link_libraries(CemuGui PUBLIC GTK3::gtk)
|
2022-12-15 08:44:14 +01:00
|
|
|
if (ENABLE_WAYLAND)
|
2023-05-28 02:04:24 +02:00
|
|
|
target_link_libraries(CemuGui PRIVATE Wayland::Client CemuWaylandProtocols)
|
2022-12-15 08:44:14 +01:00
|
|
|
endif()
|
2022-11-24 12:29:29 +01:00
|
|
|
endif()
|
|
|
|
|
2022-08-22 22:21:23 +02:00
|
|
|
if(ENABLE_CUBEB)
|
2022-08-29 07:19:48 +02:00
|
|
|
target_link_libraries(CemuGui PRIVATE cubeb::cubeb)
|
|
|
|
endif()
|
|
|
|
|
2023-05-11 07:19:44 +02:00
|
|
|
if(UNIX AND NOT APPLE)
|
|
|
|
if(ENABLE_FERAL_GAMEMODE)
|
|
|
|
target_link_libraries(CemuGui PRIVATE gamemode)
|
|
|
|
endif()
|
|
|
|
endif()
|
2022-08-29 07:19:48 +02:00
|
|
|
if (ENABLE_WXWIDGETS)
|
|
|
|
# PUBLIC because wx/app.h is included in CemuApp.h
|
|
|
|
target_link_libraries(CemuGui PUBLIC wx::base wx::core wx::gl wx::propgrid wx::xrc)
|
2022-08-22 22:21:23 +02:00
|
|
|
endif()
|
2023-09-06 04:59:50 +02:00
|
|
|
|
|
|
|
if(WIN32)
|
|
|
|
target_link_libraries(CemuGui PRIVATE bthprops)
|
|
|
|
endif()
|