2019-05-11 16:41:45 -06:00
|
|
|
if (NOT Qt5_DIR AND MSVC)
|
2020-01-04 02:08:42 -07:00
|
|
|
if(_M_ARM_64)
|
2020-08-22 12:08:38 -06:00
|
|
|
set(Qt5_DIR "${CMAKE_SOURCE_DIR}/Externals/Qt/Qt5.15.0/msvc2019_arm64/lib/cmake/Qt5")
|
2020-01-04 02:08:42 -07:00
|
|
|
else()
|
2020-08-22 12:08:38 -06:00
|
|
|
set(Qt5_DIR "${CMAKE_SOURCE_DIR}/Externals/Qt/Qt5.15.0/msvc2019_64/lib/cmake/Qt5")
|
2020-01-04 02:08:42 -07:00
|
|
|
endif()
|
2019-05-11 16:41:45 -06:00
|
|
|
endif()
|
|
|
|
|
2018-07-09 01:17:33 -06:00
|
|
|
find_package(Qt5 5.9 REQUIRED COMPONENTS Gui Widgets)
|
2017-09-04 11:35:38 -06:00
|
|
|
|
2017-06-03 16:47:13 -06:00
|
|
|
set_property(TARGET Qt5::Core PROPERTY INTERFACE_COMPILE_FEATURES "")
|
2017-01-26 06:00:28 -07:00
|
|
|
message(STATUS "Found Qt version ${Qt5Core_VERSION}")
|
|
|
|
|
2015-11-27 01:33:07 -07:00
|
|
|
set(CMAKE_AUTOMOC ON)
|
|
|
|
|
2018-01-26 01:26:45 -07:00
|
|
|
add_executable(dolphin-emu
|
2016-02-11 04:59:44 -07:00
|
|
|
AboutDialog.cpp
|
2019-05-29 03:11:51 -06:00
|
|
|
AboutDialog.h
|
2018-03-25 20:17:47 -06:00
|
|
|
CheatsManager.cpp
|
2019-05-29 03:11:51 -06:00
|
|
|
CheatsManager.h
|
2020-04-04 15:18:15 -06:00
|
|
|
ConvertDialog.cpp
|
|
|
|
ConvertDialog.h
|
2018-07-03 15:50:08 -06:00
|
|
|
DiscordHandler.cpp
|
2019-05-29 03:11:51 -06:00
|
|
|
DiscordHandler.h
|
2018-07-20 16:27:43 -06:00
|
|
|
DiscordJoinRequestDialog.cpp
|
2019-05-29 03:11:51 -06:00
|
|
|
DiscordJoinRequestDialog.h
|
2018-05-14 14:01:23 -06:00
|
|
|
FIFO/FIFOPlayerWindow.cpp
|
2019-05-29 03:11:51 -06:00
|
|
|
FIFO/FIFOPlayerWindow.h
|
2018-05-14 14:01:23 -06:00
|
|
|
FIFO/FIFOAnalyzer.cpp
|
2019-05-29 03:11:51 -06:00
|
|
|
FIFO/FIFOAnalyzer.h
|
2015-12-19 22:24:48 -07:00
|
|
|
Host.cpp
|
2019-05-29 03:11:51 -06:00
|
|
|
Host.h
|
|
|
|
HotkeyScheduler.cpp
|
|
|
|
HotkeyScheduler.h
|
2015-11-27 01:33:07 -07:00
|
|
|
Main.cpp
|
|
|
|
MainWindow.cpp
|
2019-05-29 03:11:51 -06:00
|
|
|
MainWindow.h
|
2015-12-19 22:24:48 -07:00
|
|
|
MenuBar.cpp
|
2019-05-29 03:11:51 -06:00
|
|
|
MenuBar.h
|
2020-06-15 05:16:01 -06:00
|
|
|
NKitWarningDialog.cpp
|
|
|
|
NKitWarningDialog.h
|
2015-11-27 01:33:07 -07:00
|
|
|
RenderWidget.cpp
|
2019-05-29 03:11:51 -06:00
|
|
|
RenderWidget.h
|
2015-11-27 01:33:07 -07:00
|
|
|
Resources.cpp
|
2019-05-29 03:11:51 -06:00
|
|
|
Resources.h
|
2018-03-21 04:13:53 -06:00
|
|
|
SearchBar.cpp
|
2019-05-29 03:11:51 -06:00
|
|
|
SearchBar.h
|
2015-12-20 16:36:39 -07:00
|
|
|
Settings.cpp
|
2019-05-29 03:11:51 -06:00
|
|
|
Settings.h
|
2015-12-03 21:41:17 -07:00
|
|
|
ToolBar.cpp
|
2019-05-29 03:11:51 -06:00
|
|
|
ToolBar.h
|
2017-07-17 15:50:40 -06:00
|
|
|
Translation.cpp
|
2019-05-29 03:11:51 -06:00
|
|
|
Translation.h
|
2017-06-14 03:58:11 -06:00
|
|
|
WiiUpdate.cpp
|
|
|
|
WiiUpdate.h
|
2018-01-01 13:01:58 -07:00
|
|
|
Config/ARCodeWidget.cpp
|
2019-05-29 03:11:51 -06:00
|
|
|
Config/ARCodeWidget.h
|
|
|
|
Config/CheatCodeEditor.cpp
|
|
|
|
Config/CheatCodeEditor.h
|
2017-09-10 11:10:45 -06:00
|
|
|
Config/CheatWarningWidget.cpp
|
2019-05-29 03:11:51 -06:00
|
|
|
Config/CheatWarningWidget.h
|
2021-01-23 11:16:56 -07:00
|
|
|
Config/CommonControllersWidget.cpp
|
|
|
|
Config/CommonControllersWidget.h
|
2020-05-09 14:44:45 -06:00
|
|
|
Config/ControllerInterface/DualShockUDPClientAddServerDialog.cpp
|
|
|
|
Config/ControllerInterface/DualShockUDPClientAddServerDialog.h
|
2019-10-26 10:05:16 -06:00
|
|
|
Config/ControllerInterface/DualShockUDPClientWidget.cpp
|
|
|
|
Config/ControllerInterface/DualShockUDPClientWidget.h
|
2019-10-22 17:49:48 -06:00
|
|
|
Config/ControllerInterface/ControllerInterfaceWindow.cpp
|
|
|
|
Config/ControllerInterface/ControllerInterfaceWindow.h
|
2020-07-12 23:26:43 -06:00
|
|
|
Config/ControllerInterface/ServerStringValidator.cpp
|
|
|
|
Config/ControllerInterface/ServerStringValidator.h
|
2017-05-09 10:49:10 -06:00
|
|
|
Config/ControllersWindow.cpp
|
2019-05-29 03:11:51 -06:00
|
|
|
Config/ControllersWindow.h
|
2016-02-29 01:52:15 -07:00
|
|
|
Config/FilesystemWidget.cpp
|
2019-05-29 03:11:51 -06:00
|
|
|
Config/FilesystemWidget.h
|
2020-06-11 23:27:34 -06:00
|
|
|
Config/FreeLookWidget.cpp
|
|
|
|
Config/FreeLookWidget.h
|
|
|
|
Config/FreeLookWindow.cpp
|
|
|
|
Config/FreeLookWindow.h
|
2021-01-23 11:44:21 -07:00
|
|
|
Config/GamecubeControllersWidget.cpp
|
|
|
|
Config/GamecubeControllersWidget.h
|
2018-07-13 04:56:58 -06:00
|
|
|
Config/GameConfigEdit.cpp
|
2019-05-29 03:11:51 -06:00
|
|
|
Config/GameConfigEdit.h
|
2018-07-13 04:56:58 -06:00
|
|
|
Config/GameConfigHighlighter.cpp
|
2019-05-29 03:11:51 -06:00
|
|
|
Config/GameConfigHighlighter.h
|
2018-03-01 05:12:31 -07:00
|
|
|
Config/GameConfigWidget.cpp
|
2019-05-29 03:11:51 -06:00
|
|
|
Config/GameConfigWidget.h
|
2017-09-10 11:10:45 -06:00
|
|
|
Config/GeckoCodeWidget.cpp
|
2019-05-29 03:11:51 -06:00
|
|
|
Config/GeckoCodeWidget.h
|
2017-06-15 17:42:12 -06:00
|
|
|
Config/Graphics/AdvancedWidget.cpp
|
2019-05-29 03:11:51 -06:00
|
|
|
Config/Graphics/AdvancedWidget.h
|
2020-10-16 23:05:00 -06:00
|
|
|
Config/Graphics/BalloonTip.cpp
|
|
|
|
Config/Graphics/BalloonTip.h
|
2017-06-15 17:42:12 -06:00
|
|
|
Config/Graphics/EnhancementsWidget.cpp
|
2019-05-29 03:11:51 -06:00
|
|
|
Config/Graphics/EnhancementsWidget.h
|
2017-06-15 17:42:12 -06:00
|
|
|
Config/Graphics/GeneralWidget.cpp
|
2019-05-29 03:11:51 -06:00
|
|
|
Config/Graphics/GeneralWidget.h
|
2017-06-15 17:42:12 -06:00
|
|
|
Config/Graphics/GraphicsBool.cpp
|
2019-05-29 03:11:51 -06:00
|
|
|
Config/Graphics/GraphicsBool.h
|
2017-06-15 17:42:12 -06:00
|
|
|
Config/Graphics/GraphicsChoice.cpp
|
2019-05-29 03:11:51 -06:00
|
|
|
Config/Graphics/GraphicsChoice.h
|
2019-07-17 12:15:25 -06:00
|
|
|
Config/Graphics/GraphicsInteger.cpp
|
|
|
|
Config/Graphics/GraphicsInteger.h
|
2018-03-16 07:10:22 -06:00
|
|
|
Config/Graphics/GraphicsRadio.cpp
|
2019-05-29 03:11:51 -06:00
|
|
|
Config/Graphics/GraphicsRadio.h
|
2017-06-15 17:42:12 -06:00
|
|
|
Config/Graphics/GraphicsSlider.cpp
|
2019-05-29 03:11:51 -06:00
|
|
|
Config/Graphics/GraphicsSlider.h
|
|
|
|
Config/Graphics/GraphicsWidget.h
|
2017-06-15 17:42:12 -06:00
|
|
|
Config/Graphics/GraphicsWindow.cpp
|
2019-05-29 03:11:51 -06:00
|
|
|
Config/Graphics/GraphicsWindow.h
|
|
|
|
Config/Graphics/HacksWidget.cpp
|
|
|
|
Config/Graphics/HacksWidget.h
|
2018-05-20 16:03:40 -06:00
|
|
|
Config/Graphics/PostProcessingConfigWindow.cpp
|
2019-05-29 03:11:51 -06:00
|
|
|
Config/Graphics/PostProcessingConfigWindow.h
|
2017-06-15 17:43:14 -06:00
|
|
|
Config/Graphics/SoftwareRendererWidget.cpp
|
2019-05-29 03:11:51 -06:00
|
|
|
Config/Graphics/SoftwareRendererWidget.h
|
2016-02-29 01:52:15 -07:00
|
|
|
Config/InfoWidget.cpp
|
2019-05-29 03:11:51 -06:00
|
|
|
Config/InfoWidget.h
|
2017-08-27 16:10:06 -06:00
|
|
|
Config/LogConfigWidget.cpp
|
2019-05-29 03:11:51 -06:00
|
|
|
Config/LogConfigWidget.h
|
2017-08-27 16:10:06 -06:00
|
|
|
Config/LogWidget.cpp
|
2019-05-29 03:11:51 -06:00
|
|
|
Config/LogWidget.h
|
2020-06-11 23:27:34 -06:00
|
|
|
Config/Mapping/FreeLookGeneral.cpp
|
|
|
|
Config/Mapping/FreeLookGeneral.h
|
2021-03-10 23:41:15 -07:00
|
|
|
Config/Mapping/FreeLookRotation.cpp
|
|
|
|
Config/Mapping/FreeLookRotation.h
|
2021-07-04 05:17:32 -06:00
|
|
|
Config/Mapping/GBAPadEmu.cpp
|
|
|
|
Config/Mapping/GBAPadEmu.h
|
2017-05-20 09:53:17 -06:00
|
|
|
Config/Mapping/GCKeyboardEmu.cpp
|
2019-05-29 03:11:51 -06:00
|
|
|
Config/Mapping/GCKeyboardEmu.h
|
2018-01-04 11:38:09 -07:00
|
|
|
Config/Mapping/GCMicrophone.cpp
|
2019-05-29 03:11:51 -06:00
|
|
|
Config/Mapping/GCMicrophone.h
|
2017-05-20 09:53:17 -06:00
|
|
|
Config/Mapping/GCPadEmu.cpp
|
2019-05-29 03:11:51 -06:00
|
|
|
Config/Mapping/GCPadEmu.h
|
2017-11-04 19:45:37 -06:00
|
|
|
Config/Mapping/GCPadWiiUConfigDialog.cpp
|
2019-05-29 03:11:51 -06:00
|
|
|
Config/Mapping/GCPadWiiUConfigDialog.h
|
2017-06-06 05:49:49 -06:00
|
|
|
Config/Mapping/Hotkey3D.cpp
|
2019-05-29 03:11:51 -06:00
|
|
|
Config/Mapping/Hotkey3D.h
|
2018-04-13 22:51:32 -06:00
|
|
|
Config/Mapping/HotkeyControllerProfile.cpp
|
2019-05-29 03:11:51 -06:00
|
|
|
Config/Mapping/HotkeyControllerProfile.h
|
2018-02-14 15:25:01 -07:00
|
|
|
Config/Mapping/HotkeyDebugging.cpp
|
2019-05-29 03:11:51 -06:00
|
|
|
Config/Mapping/HotkeyDebugging.h
|
2021-07-04 05:26:47 -06:00
|
|
|
Config/Mapping/HotkeyGBA.cpp
|
|
|
|
Config/Mapping/HotkeyGBA.h
|
2017-06-06 05:49:49 -06:00
|
|
|
Config/Mapping/HotkeyGeneral.cpp
|
2019-05-29 03:11:51 -06:00
|
|
|
Config/Mapping/HotkeyGeneral.h
|
2017-06-06 05:49:49 -06:00
|
|
|
Config/Mapping/HotkeyGraphics.cpp
|
2019-05-29 03:11:51 -06:00
|
|
|
Config/Mapping/HotkeyGraphics.h
|
2017-06-06 05:49:49 -06:00
|
|
|
Config/Mapping/HotkeyStates.cpp
|
2019-05-29 03:11:51 -06:00
|
|
|
Config/Mapping/HotkeyStates.h
|
2018-06-03 04:41:58 -06:00
|
|
|
Config/Mapping/HotkeyStatesOther.cpp
|
2019-05-29 03:11:51 -06:00
|
|
|
Config/Mapping/HotkeyStatesOther.h
|
2017-06-06 05:49:49 -06:00
|
|
|
Config/Mapping/HotkeyTAS.cpp
|
2019-05-29 03:11:51 -06:00
|
|
|
Config/Mapping/HotkeyTAS.h
|
2017-06-06 05:49:49 -06:00
|
|
|
Config/Mapping/HotkeyWii.cpp
|
2019-05-29 03:11:51 -06:00
|
|
|
Config/Mapping/HotkeyWii.h
|
2017-06-13 09:16:41 -06:00
|
|
|
Config/Mapping/IOWindow.cpp
|
2017-05-20 09:53:17 -06:00
|
|
|
Config/Mapping/MappingButton.cpp
|
2019-05-29 03:11:51 -06:00
|
|
|
Config/Mapping/MappingButton.h
|
2017-06-13 09:16:41 -06:00
|
|
|
Config/Mapping/MappingCommon.cpp
|
2019-05-29 03:11:51 -06:00
|
|
|
Config/Mapping/MappingCommon.h
|
2018-02-07 10:16:15 -07:00
|
|
|
Config/Mapping/MappingIndicator.cpp
|
2019-05-29 03:11:51 -06:00
|
|
|
Config/Mapping/MappingIndicator.h
|
2017-05-20 09:53:17 -06:00
|
|
|
Config/Mapping/MappingNumeric.cpp
|
2019-05-29 03:11:51 -06:00
|
|
|
Config/Mapping/MappingNumeric.h
|
2017-05-20 09:53:17 -06:00
|
|
|
Config/Mapping/MappingWidget.cpp
|
2019-05-29 03:11:51 -06:00
|
|
|
Config/Mapping/MappingWidget.h
|
2017-05-20 09:53:17 -06:00
|
|
|
Config/Mapping/MappingWindow.cpp
|
2019-05-29 03:11:51 -06:00
|
|
|
Config/Mapping/MappingWindow.h
|
2017-05-20 09:53:17 -06:00
|
|
|
Config/Mapping/WiimoteEmuExtension.cpp
|
2019-05-29 03:11:51 -06:00
|
|
|
Config/Mapping/WiimoteEmuExtension.h
|
2019-11-03 20:19:33 -07:00
|
|
|
Config/Mapping/WiimoteEmuExtensionMotionInput.cpp
|
|
|
|
Config/Mapping/WiimoteEmuExtensionMotionInput.h
|
|
|
|
Config/Mapping/WiimoteEmuExtensionMotionSimulation.cpp
|
|
|
|
Config/Mapping/WiimoteEmuExtensionMotionSimulation.h
|
2017-05-20 09:53:17 -06:00
|
|
|
Config/Mapping/WiimoteEmuGeneral.cpp
|
2019-05-29 03:11:51 -06:00
|
|
|
Config/Mapping/WiimoteEmuGeneral.h
|
2017-05-20 09:53:17 -06:00
|
|
|
Config/Mapping/WiimoteEmuMotionControl.cpp
|
2019-05-29 03:11:51 -06:00
|
|
|
Config/Mapping/WiimoteEmuMotionControl.h
|
2019-09-06 09:09:30 -06:00
|
|
|
Config/Mapping/WiimoteEmuMotionControlIMU.cpp
|
|
|
|
Config/Mapping/WiimoteEmuMotionControlIMU.h
|
2018-02-16 06:53:52 -07:00
|
|
|
Config/NewPatchDialog.cpp
|
2019-05-29 03:11:51 -06:00
|
|
|
Config/NewPatchDialog.h
|
2018-02-16 06:53:52 -07:00
|
|
|
Config/PatchesWidget.cpp
|
2019-05-29 03:11:51 -06:00
|
|
|
Config/PatchesWidget.h
|
2016-02-29 01:52:15 -07:00
|
|
|
Config/PropertiesDialog.cpp
|
2019-05-29 03:11:51 -06:00
|
|
|
Config/PropertiesDialog.h
|
2016-05-09 07:34:07 -06:00
|
|
|
Config/SettingsWindow.cpp
|
2019-05-29 03:11:51 -06:00
|
|
|
Config/SettingsWindow.h
|
2020-10-20 00:37:03 -06:00
|
|
|
Config/ToolTipControls/ToolTipCheckBox.cpp
|
|
|
|
Config/ToolTipControls/ToolTipCheckBox.h
|
|
|
|
Config/ToolTipControls/ToolTipComboBox.cpp
|
|
|
|
Config/ToolTipControls/ToolTipComboBox.h
|
|
|
|
Config/ToolTipControls/ToolTipRadioButton.cpp
|
|
|
|
Config/ToolTipControls/ToolTipRadioButton.h
|
|
|
|
Config/ToolTipControls/ToolTipSlider.cpp
|
|
|
|
Config/ToolTipControls/ToolTipSlider.h
|
|
|
|
Config/ToolTipControls/ToolTipSpinBox.cpp
|
|
|
|
Config/ToolTipControls/ToolTipSpinBox.h
|
|
|
|
Config/ToolTipControls/ToolTipWidget.h
|
2019-03-21 16:04:56 -06:00
|
|
|
Config/VerifyWidget.cpp
|
2019-05-29 03:11:51 -06:00
|
|
|
Config/VerifyWidget.h
|
2021-01-23 12:05:04 -07:00
|
|
|
Config/WiimoteControllersWidget.cpp
|
|
|
|
Config/WiimoteControllersWidget.h
|
2017-10-03 10:43:44 -06:00
|
|
|
Debugger/BreakpointWidget.cpp
|
2019-05-29 03:11:51 -06:00
|
|
|
Debugger/BreakpointWidget.h
|
2018-02-14 15:25:01 -07:00
|
|
|
Debugger/CodeViewWidget.cpp
|
2019-05-29 03:11:51 -06:00
|
|
|
Debugger/CodeViewWidget.h
|
2018-02-14 15:25:01 -07:00
|
|
|
Debugger/CodeWidget.cpp
|
2019-05-29 03:11:51 -06:00
|
|
|
Debugger/CodeWidget.h
|
2018-04-09 07:31:20 -06:00
|
|
|
Debugger/JITWidget.cpp
|
2019-05-29 03:11:51 -06:00
|
|
|
Debugger/JITWidget.h
|
2018-03-16 05:39:53 -06:00
|
|
|
Debugger/MemoryViewWidget.cpp
|
2019-05-29 03:11:51 -06:00
|
|
|
Debugger/MemoryViewWidget.h
|
2018-03-16 05:39:53 -06:00
|
|
|
Debugger/MemoryWidget.cpp
|
2019-05-29 03:11:51 -06:00
|
|
|
Debugger/MemoryWidget.h
|
2020-04-19 13:30:50 -06:00
|
|
|
Debugger/NetworkWidget.cpp
|
|
|
|
Debugger/NetworkWidget.h
|
2017-10-03 10:43:44 -06:00
|
|
|
Debugger/NewBreakpointDialog.cpp
|
2019-05-29 03:11:51 -06:00
|
|
|
Debugger/NewBreakpointDialog.h
|
2019-04-23 13:42:37 -06:00
|
|
|
Debugger/PatchInstructionDialog.cpp
|
2019-05-29 03:11:51 -06:00
|
|
|
Debugger/PatchInstructionDialog.h
|
2017-09-13 11:33:45 -06:00
|
|
|
Debugger/RegisterColumn.cpp
|
2019-05-29 03:11:51 -06:00
|
|
|
Debugger/RegisterColumn.h
|
2017-09-13 11:33:45 -06:00
|
|
|
Debugger/RegisterWidget.cpp
|
2019-05-29 03:11:51 -06:00
|
|
|
Debugger/RegisterWidget.h
|
2020-03-21 01:48:49 -06:00
|
|
|
Debugger/ThreadWidget.cpp
|
|
|
|
Debugger/ThreadWidget.h
|
2017-09-27 00:53:05 -06:00
|
|
|
Debugger/WatchWidget.cpp
|
2019-05-29 03:11:51 -06:00
|
|
|
Debugger/WatchWidget.h
|
2015-11-27 01:33:07 -07:00
|
|
|
GameList/GameList.cpp
|
2019-05-29 03:11:51 -06:00
|
|
|
GameList/GameList.h
|
2015-11-27 01:33:07 -07:00
|
|
|
GameList/GameListModel.cpp
|
2019-05-29 03:11:51 -06:00
|
|
|
GameList/GameListModel.h
|
2015-12-19 22:24:48 -07:00
|
|
|
GameList/GameTracker.cpp
|
2019-05-29 03:11:51 -06:00
|
|
|
GameList/GameTracker.h
|
2017-08-05 02:28:53 -06:00
|
|
|
GameList/GridProxyModel.cpp
|
2019-05-29 03:11:51 -06:00
|
|
|
GameList/GridProxyModel.h
|
2015-12-03 21:41:17 -07:00
|
|
|
GameList/ListProxyModel.cpp
|
2019-05-29 03:11:51 -06:00
|
|
|
GameList/ListProxyModel.h
|
2019-11-20 13:47:10 -07:00
|
|
|
GCMemcardCreateNewDialog.cpp
|
|
|
|
GCMemcardCreateNewDialog.h
|
2018-01-25 11:54:50 -07:00
|
|
|
GCMemcardManager.cpp
|
2019-05-29 03:11:51 -06:00
|
|
|
GCMemcardManager.h
|
2017-06-26 23:44:10 -06:00
|
|
|
QtUtils/BlockUserInputFilter.cpp
|
2019-05-29 03:11:51 -06:00
|
|
|
QtUtils/BlockUserInputFilter.h
|
2018-10-18 02:33:05 -06:00
|
|
|
NetPlay/ChunkedProgressDialog.cpp
|
2019-05-29 03:11:51 -06:00
|
|
|
NetPlay/ChunkedProgressDialog.h
|
2017-07-21 14:48:21 -06:00
|
|
|
NetPlay/GameListDialog.cpp
|
2019-05-29 03:11:51 -06:00
|
|
|
NetPlay/GameListDialog.h
|
2017-07-21 14:48:21 -06:00
|
|
|
NetPlay/MD5Dialog.cpp
|
2019-05-29 03:11:51 -06:00
|
|
|
NetPlay/MD5Dialog.h
|
2019-03-30 07:50:57 -06:00
|
|
|
NetPlay/NetPlayBrowser.cpp
|
2019-05-29 03:11:51 -06:00
|
|
|
NetPlay/NetPlayBrowser.h
|
2017-07-21 14:48:21 -06:00
|
|
|
NetPlay/NetPlayDialog.cpp
|
2019-05-29 03:11:51 -06:00
|
|
|
NetPlay/NetPlayDialog.h
|
2017-07-21 14:48:21 -06:00
|
|
|
NetPlay/NetPlaySetupDialog.cpp
|
2019-05-29 03:11:51 -06:00
|
|
|
NetPlay/NetPlaySetupDialog.h
|
2017-07-21 14:48:21 -06:00
|
|
|
NetPlay/PadMappingDialog.cpp
|
2019-05-29 03:11:51 -06:00
|
|
|
NetPlay/PadMappingDialog.h
|
2017-05-31 01:16:23 -06:00
|
|
|
QtUtils/DoubleClickEventFilter.cpp
|
2019-05-29 03:11:51 -06:00
|
|
|
QtUtils/DoubleClickEventFilter.h
|
2017-05-31 00:08:14 -06:00
|
|
|
QtUtils/ElidedButton.cpp
|
2019-05-29 03:11:51 -06:00
|
|
|
QtUtils/ElidedButton.h
|
2019-06-11 15:00:02 -06:00
|
|
|
QtUtils/FileOpenEventFilter.cpp
|
|
|
|
QtUtils/FileOpenEventFilter.h
|
2018-07-19 16:10:37 -06:00
|
|
|
QtUtils/FlowLayout.cpp
|
2019-05-29 03:11:51 -06:00
|
|
|
QtUtils/FlowLayout.h
|
2019-03-04 12:48:40 -07:00
|
|
|
QtUtils/ModalMessageBox.cpp
|
2019-05-29 03:11:51 -06:00
|
|
|
QtUtils/ModalMessageBox.h
|
2020-03-29 16:28:16 -06:00
|
|
|
QtUtils/ParallelProgressDialog.h
|
2017-12-31 12:33:36 -07:00
|
|
|
QtUtils/ImageConverter.cpp
|
2019-05-29 03:11:51 -06:00
|
|
|
QtUtils/ImageConverter.h
|
2020-07-16 16:47:51 -06:00
|
|
|
QtUtils/UTF8CodePointCountValidator.cpp
|
|
|
|
QtUtils/UTF8CodePointCountValidator.h
|
2017-06-14 19:49:56 -06:00
|
|
|
QtUtils/WindowActivationEventFilter.cpp
|
2019-05-29 03:11:51 -06:00
|
|
|
QtUtils/WindowActivationEventFilter.h
|
2018-03-26 00:13:15 -06:00
|
|
|
QtUtils/WinIconHelper.cpp
|
2019-05-29 03:11:51 -06:00
|
|
|
QtUtils/WinIconHelper.h
|
2018-03-17 09:07:51 -06:00
|
|
|
QtUtils/WrapInScrollArea.cpp
|
2019-05-29 03:11:51 -06:00
|
|
|
QtUtils/WrapInScrollArea.h
|
2018-01-27 06:35:02 -07:00
|
|
|
QtUtils/AspectRatioWidget.cpp
|
2019-05-29 03:11:51 -06:00
|
|
|
QtUtils/AspectRatioWidget.h
|
2019-03-30 20:49:57 -06:00
|
|
|
ResourcePackManager.cpp
|
2019-05-29 03:11:51 -06:00
|
|
|
ResourcePackManager.h
|
2017-06-27 22:36:27 -06:00
|
|
|
Settings/AdvancedPane.cpp
|
2019-05-29 03:11:51 -06:00
|
|
|
Settings/AdvancedPane.h
|
2017-06-21 02:27:21 -06:00
|
|
|
Settings/AudioPane.cpp
|
2019-05-29 03:11:51 -06:00
|
|
|
Settings/AudioPane.h
|
2018-01-03 17:41:31 -07:00
|
|
|
Settings/GameCubePane.cpp
|
2019-05-29 03:11:51 -06:00
|
|
|
Settings/GameCubePane.h
|
2017-05-03 22:19:51 -06:00
|
|
|
Settings/GeneralPane.cpp
|
2019-05-29 03:11:51 -06:00
|
|
|
Settings/GeneralPane.h
|
2017-05-04 01:47:59 -06:00
|
|
|
Settings/InterfacePane.cpp
|
2019-05-29 03:11:51 -06:00
|
|
|
Settings/InterfacePane.h
|
2017-05-31 02:08:04 -06:00
|
|
|
Settings/PathPane.cpp
|
2019-05-29 03:11:51 -06:00
|
|
|
Settings/PathPane.h
|
2017-07-21 03:22:01 -06:00
|
|
|
Settings/WiiPane.cpp
|
2019-05-29 03:11:51 -06:00
|
|
|
Settings/WiiPane.h
|
2017-07-21 03:22:01 -06:00
|
|
|
Settings/USBDeviceAddToWhitelistDialog.cpp
|
2019-05-29 03:11:51 -06:00
|
|
|
Settings/USBDeviceAddToWhitelistDialog.h
|
2018-01-27 06:35:02 -07:00
|
|
|
TAS/GCTASInputWindow.cpp
|
2019-05-29 03:11:51 -06:00
|
|
|
TAS/GCTASInputWindow.h
|
2018-01-31 04:35:09 -07:00
|
|
|
TAS/WiiTASInputWindow.cpp
|
2019-05-29 03:11:51 -06:00
|
|
|
TAS/WiiTASInputWindow.h
|
2019-03-30 20:49:57 -06:00
|
|
|
TAS/TASCheckBox.cpp
|
2019-05-29 03:11:51 -06:00
|
|
|
TAS/TASCheckBox.h
|
2018-07-06 23:51:34 -06:00
|
|
|
TAS/TASInputWindow.cpp
|
2019-05-29 03:11:51 -06:00
|
|
|
TAS/TASInputWindow.h
|
2020-10-18 05:47:00 -06:00
|
|
|
TAS/TASSlider.cpp
|
|
|
|
TAS/TASSlider.h
|
2018-01-27 06:35:02 -07:00
|
|
|
TAS/StickWidget.cpp
|
2019-05-29 03:11:51 -06:00
|
|
|
TAS/StickWidget.h
|
2018-02-06 04:10:28 -07:00
|
|
|
TAS/IRWidget.cpp
|
2019-05-29 03:11:51 -06:00
|
|
|
TAS/IRWidget.h
|
2018-03-22 05:20:15 -06:00
|
|
|
Updater.cpp
|
2019-05-29 03:11:51 -06:00
|
|
|
Updater.h
|
2015-11-27 01:33:07 -07:00
|
|
|
)
|
|
|
|
|
2019-05-08 13:10:41 -06:00
|
|
|
if (NOT WIN32)
|
2019-05-29 03:11:51 -06:00
|
|
|
target_sources(dolphin-emu PRIVATE
|
|
|
|
QtUtils/SignalDaemon.cpp
|
|
|
|
QtUtils/SignalDaemon.h
|
|
|
|
)
|
2019-05-08 13:10:41 -06:00
|
|
|
endif()
|
|
|
|
|
2018-01-26 01:26:45 -07:00
|
|
|
target_compile_definitions(dolphin-emu
|
2018-04-05 05:52:21 -06:00
|
|
|
PRIVATE
|
|
|
|
-DQT_USE_QSTRINGBUILDER
|
|
|
|
-DQT_NO_CAST_FROM_ASCII
|
|
|
|
-DQT_NO_CAST_TO_ASCII
|
|
|
|
)
|
|
|
|
|
2018-01-26 01:26:45 -07:00
|
|
|
target_include_directories(dolphin-emu
|
2018-04-05 05:52:21 -06:00
|
|
|
PRIVATE
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}
|
|
|
|
${Qt5Gui_PRIVATE_INCLUDE_DIRS}
|
|
|
|
)
|
|
|
|
|
2018-01-26 01:26:45 -07:00
|
|
|
target_link_libraries(dolphin-emu
|
2018-04-02 10:32:28 -06:00
|
|
|
PRIVATE
|
|
|
|
core
|
|
|
|
Qt5::Widgets
|
|
|
|
uicommon
|
2018-10-10 05:41:52 -06:00
|
|
|
imgui
|
2018-04-02 10:32:28 -06:00
|
|
|
)
|
2015-11-27 01:33:07 -07:00
|
|
|
|
2020-02-11 16:07:56 -07:00
|
|
|
if (WIN32)
|
|
|
|
target_link_libraries(dolphin-emu
|
|
|
|
PRIVATE
|
|
|
|
gdi32.lib
|
|
|
|
shell32.lib
|
|
|
|
)
|
|
|
|
endif()
|
|
|
|
|
2021-03-04 01:29:30 -07:00
|
|
|
if (MSVC)
|
2021-05-15 12:32:56 -06:00
|
|
|
# Don't propogate warnings in qt headers to Dolphin
|
|
|
|
target_compile_options(dolphin-emu PRIVATE /experimental:external)
|
|
|
|
target_compile_options(dolphin-emu PRIVATE /external:W0)
|
|
|
|
target_compile_options(dolphin-emu PRIVATE "/external:I${Qt5Gui_PRIVATE_INCLUDE_DIRS}")
|
|
|
|
target_compile_options(dolphin-emu PRIVATE "/external:I${Qt5Widgets_PRIVATE_INCLUDE_DIRS}")
|
2021-03-04 01:29:30 -07:00
|
|
|
endif()
|
|
|
|
|
2017-02-10 00:46:23 -07:00
|
|
|
if(WIN32)
|
2019-05-08 15:55:44 -06:00
|
|
|
target_sources(dolphin-emu PRIVATE DolphinQt.manifest DolphinQt.rc)
|
|
|
|
|
|
|
|
set_target_properties(dolphin-emu PROPERTIES
|
2019-06-17 21:24:49 -06:00
|
|
|
DEBUG_POSTFIX D
|
|
|
|
OUTPUT_NAME Dolphin
|
2019-05-08 15:55:44 -06:00
|
|
|
WIN32_EXECUTABLE TRUE
|
|
|
|
)
|
|
|
|
|
|
|
|
# Copy Sys dir
|
2019-05-15 02:18:28 -06:00
|
|
|
add_custom_command(TARGET dolphin-emu POST_BUILD
|
|
|
|
COMMAND ${CMAKE_COMMAND} -E copy_directory "${CMAKE_SOURCE_DIR}/Data/Sys" "${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/Sys"
|
|
|
|
)
|
2019-05-08 15:55:44 -06:00
|
|
|
|
2021-08-17 20:40:27 -06:00
|
|
|
# Copy COPYING
|
2021-04-24 15:59:11 -06:00
|
|
|
add_custom_command(TARGET dolphin-emu POST_BUILD
|
2021-08-17 20:40:27 -06:00
|
|
|
COMMAND ${CMAKE_COMMAND} -E copy_if_different "${CMAKE_SOURCE_DIR}/COPYING" "${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/COPYING"
|
|
|
|
)
|
|
|
|
|
|
|
|
# Copy Licenses dir
|
|
|
|
add_custom_command(TARGET dolphin-emu POST_BUILD
|
|
|
|
COMMAND ${CMAKE_COMMAND} -E copy_directory "${CMAKE_SOURCE_DIR}/LICENSES" "${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/Licenses"
|
2021-04-24 15:59:11 -06:00
|
|
|
)
|
|
|
|
|
2019-05-08 15:55:44 -06:00
|
|
|
# Copy qt.conf
|
2019-05-15 02:18:28 -06:00
|
|
|
add_custom_command(TARGET dolphin-emu POST_BUILD
|
2019-06-17 22:03:59 -06:00
|
|
|
COMMAND ${CMAKE_COMMAND} -E copy_if_different "${CMAKE_CURRENT_SOURCE_DIR}/qt.conf.win" "${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/qt.conf"
|
2019-05-15 02:18:28 -06:00
|
|
|
)
|
|
|
|
|
2019-06-17 22:03:59 -06:00
|
|
|
# Delegate to Qt's official deployment binary on Windows to copy over the necessary Qt-specific libraries, etc.
|
|
|
|
get_target_property(MOC_EXECUTABLE_LOCATION Qt5::moc IMPORTED_LOCATION)
|
|
|
|
get_filename_component(QT_BINARY_DIRECTORY "${MOC_EXECUTABLE_LOCATION}" DIRECTORY)
|
|
|
|
find_program(WINDEPLOYQT_EXE windeployqt HINTS "${QT_BINARY_DIRECTORY}")
|
|
|
|
|
|
|
|
# Note: We set the PATH for the duration of this command so that the
|
|
|
|
# deployment application is able to locate the Qt libraries to copy.
|
|
|
|
# if the necessary paths aren't already set beforehand.
|
|
|
|
#
|
|
|
|
# For example, consider a hypothetical emulation project named Orca.
|
|
|
|
# Orca supplies its own version of Qt instead of having developers actually
|
|
|
|
# install the officially supported Qt libraries -- a method that would make
|
|
|
|
# wrangling around with Qt through CMake much nicer and lessen the external
|
|
|
|
# library maintenance burden of the project, but alas.
|
|
|
|
#
|
|
|
|
# In this case, as Qt is not installed through the official binary, this also
|
|
|
|
# means proper path variables will not be set up, thus the need to ensure they're
|
|
|
|
# always set up.
|
|
|
|
#
|
2019-05-15 02:18:28 -06:00
|
|
|
add_custom_command(TARGET dolphin-emu POST_BUILD
|
2019-06-17 22:03:59 -06:00
|
|
|
COMMAND "${CMAKE_COMMAND}" -E env PATH="${QT_BINARY_DIRECTORY}"
|
|
|
|
"${WINDEPLOYQT_EXE}" --libdir="${CMAKE_RUNTIME_OUTPUT_DIRECTORY}"
|
|
|
|
--plugindir="${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/QtPlugins"
|
|
|
|
$<IF:$<CONFIG:Debug>,--debug,--release>
|
|
|
|
--no-translations
|
|
|
|
--no-compiler-runtime
|
2021-04-24 16:32:23 -06:00
|
|
|
--no-system-d3d-compiler
|
|
|
|
--no-angle
|
|
|
|
--no-opengl-sw
|
2019-06-17 22:03:59 -06:00
|
|
|
"$<TARGET_FILE:dolphin-emu>"
|
2019-05-15 02:18:28 -06:00
|
|
|
)
|
2017-02-10 00:46:23 -07:00
|
|
|
endif()
|
|
|
|
|
2017-07-17 15:50:40 -06:00
|
|
|
# Handle localization
|
|
|
|
find_package(Gettext)
|
2019-05-08 15:55:44 -06:00
|
|
|
|
|
|
|
if(WIN32 AND NOT Gettext_FOUND)
|
|
|
|
message(STATUS "Using Gettext from Externals")
|
|
|
|
set(GETTEXT_MSGFMT_EXECUTABLE "${CMAKE_SOURCE_DIR}/Externals/gettext/msgfmt.exe")
|
|
|
|
endif()
|
|
|
|
|
2019-05-15 02:19:07 -06:00
|
|
|
if(GETTEXT_MSGFMT_EXECUTABLE)
|
2017-07-17 15:50:40 -06:00
|
|
|
set(pot_file "${CMAKE_SOURCE_DIR}/Languages/po/dolphin-emu.pot")
|
|
|
|
file(GLOB LINGUAS ${CMAKE_SOURCE_DIR}/Languages/po/*.po)
|
|
|
|
|
2018-01-26 01:26:45 -07:00
|
|
|
target_sources(dolphin-emu PRIVATE ${pot_file} ${LINGUAS})
|
2017-07-17 15:50:40 -06:00
|
|
|
source_group("Localization" FILES ${LINGUAS})
|
|
|
|
source_group("Localization\\\\Generated" FILES ${pot_file})
|
|
|
|
|
|
|
|
foreach(po ${LINGUAS})
|
|
|
|
get_filename_component(lang ${po} NAME_WE)
|
2021-04-24 17:15:14 -06:00
|
|
|
if(WIN32)
|
|
|
|
set(mo_dir ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/Languages/${lang})
|
|
|
|
else()
|
|
|
|
set(mo_dir ${CMAKE_CURRENT_BINARY_DIR}/${lang})
|
|
|
|
endif()
|
2017-07-17 15:50:40 -06:00
|
|
|
set(mo ${mo_dir}/dolphin-emu.mo)
|
|
|
|
|
2018-01-26 01:26:45 -07:00
|
|
|
target_sources(dolphin-emu PRIVATE ${mo})
|
2017-07-17 15:50:40 -06:00
|
|
|
source_group("Localization\\\\Generated" FILES ${mo})
|
|
|
|
|
|
|
|
if(CMAKE_SYSTEM_NAME STREQUAL "Darwin")
|
|
|
|
set_source_files_properties(${mo} PROPERTIES MACOSX_PACKAGE_LOCATION "Resources/${lang}.lproj")
|
|
|
|
else()
|
|
|
|
install(FILES ${mo} DESTINATION share/locale/${lang}/LC_MESSAGES)
|
|
|
|
endif()
|
|
|
|
|
2019-05-08 15:55:44 -06:00
|
|
|
if(WIN32)
|
|
|
|
add_custom_command(OUTPUT ${mo}
|
|
|
|
COMMAND ${CMAKE_COMMAND} -E make_directory ${mo_dir}
|
|
|
|
COMMAND ${GETTEXT_MSGFMT_EXECUTABLE} -o ${mo} ${po}
|
|
|
|
DEPENDS ${po}
|
|
|
|
)
|
|
|
|
else()
|
|
|
|
add_custom_command(OUTPUT ${mo}
|
|
|
|
COMMAND ${CMAKE_COMMAND} -E make_directory ${mo_dir}
|
|
|
|
COMMAND ${GETTEXT_MSGMERGE_EXECUTABLE} --quiet --update --backup=none -s ${po} ${pot_file}
|
|
|
|
COMMAND ${GETTEXT_MSGFMT_EXECUTABLE} -o ${mo} ${po}
|
|
|
|
DEPENDS ${po}
|
|
|
|
)
|
|
|
|
endif()
|
2017-07-17 15:50:40 -06:00
|
|
|
endforeach()
|
|
|
|
endif()
|
|
|
|
|
2016-05-04 00:25:53 -06:00
|
|
|
if(APPLE)
|
|
|
|
include(BundleUtilities)
|
2018-01-26 01:26:45 -07:00
|
|
|
set(BUNDLE_PATH ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/Dolphin.app)
|
2016-05-04 00:25:53 -06:00
|
|
|
|
|
|
|
# Ask for an application bundle.
|
2018-01-26 01:26:45 -07:00
|
|
|
set_target_properties(dolphin-emu PROPERTIES
|
2016-05-04 00:25:53 -06:00
|
|
|
MACOSX_BUNDLE true
|
|
|
|
MACOSX_BUNDLE_INFO_PLIST ${CMAKE_CURRENT_SOURCE_DIR}/Info.plist.in
|
2021-01-13 07:23:57 -07:00
|
|
|
XCODE_ATTRIBUTE_CODE_SIGN_ENTITLEMENTS "${CMAKE_CURRENT_SOURCE_DIR}/DolphinEmu.entitlements"
|
2021-04-17 17:53:08 -06:00
|
|
|
XCODE_ATTRIBUTE_OTHER_CODE_SIGN_FLAGS "--deep --options=runtime"
|
2018-01-26 01:26:45 -07:00
|
|
|
OUTPUT_NAME Dolphin
|
2016-05-04 00:25:53 -06:00
|
|
|
)
|
|
|
|
|
2017-02-03 17:10:59 -07:00
|
|
|
# Copy qt.conf into the bundle
|
2018-01-26 01:26:45 -07:00
|
|
|
target_sources(dolphin-emu PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}/qt.conf")
|
2017-02-03 17:10:59 -07:00
|
|
|
set_source_files_properties("${CMAKE_CURRENT_SOURCE_DIR}/qt.conf" PROPERTIES MACOSX_PACKAGE_LOCATION Resources)
|
|
|
|
|
2018-02-24 13:12:22 -07:00
|
|
|
# Copy icon into the bundle
|
2018-01-26 01:26:45 -07:00
|
|
|
target_sources(dolphin-emu PRIVATE "${CMAKE_SOURCE_DIR}/Data/Dolphin.icns")
|
2018-02-24 13:12:22 -07:00
|
|
|
set_source_files_properties("${CMAKE_SOURCE_DIR}/Data/Dolphin.icns" PROPERTIES MACOSX_PACKAGE_LOCATION Resources)
|
|
|
|
|
2017-02-03 17:10:59 -07:00
|
|
|
# Copy Qt plugins into the bundle
|
|
|
|
get_target_property(qtcocoa_location Qt5::QCocoaIntegrationPlugin LOCATION)
|
2018-01-26 01:26:45 -07:00
|
|
|
target_sources(dolphin-emu PRIVATE "${qtcocoa_location}")
|
2017-02-03 17:10:59 -07:00
|
|
|
set_source_files_properties("${qtcocoa_location}" PROPERTIES MACOSX_PACKAGE_LOCATION MacOS/platforms)
|
2017-02-01 19:51:00 -07:00
|
|
|
|
2018-02-24 10:48:29 -07:00
|
|
|
get_target_property(qtmacstyle_location Qt5::QMacStylePlugin LOCATION)
|
2018-01-26 01:26:45 -07:00
|
|
|
target_sources(dolphin-emu PRIVATE "${qtmacstyle_location}")
|
2018-02-24 10:48:29 -07:00
|
|
|
set_source_files_properties("${qtmacstyle_location}" PROPERTIES MACOSX_PACKAGE_LOCATION MacOS/styles)
|
|
|
|
|
2017-02-03 17:10:59 -07:00
|
|
|
# Copy resources into the bundle
|
2017-02-05 23:21:39 -07:00
|
|
|
set_property(DIRECTORY APPEND PROPERTY CMAKE_CONFIGURE_DEPENDS "${CMAKE_SOURCE_DIR}/Data/Sys")
|
2017-02-01 19:51:00 -07:00
|
|
|
file(GLOB_RECURSE resources RELATIVE "${CMAKE_SOURCE_DIR}/Data" "${CMAKE_SOURCE_DIR}/Data/Sys/*")
|
|
|
|
foreach(res ${resources})
|
2018-01-26 01:26:45 -07:00
|
|
|
target_sources(dolphin-emu PRIVATE "${CMAKE_SOURCE_DIR}/Data/${res}")
|
2017-02-01 19:51:00 -07:00
|
|
|
get_filename_component(resdir "${res}" DIRECTORY)
|
|
|
|
set_source_files_properties("${CMAKE_SOURCE_DIR}/Data/${res}" PROPERTIES
|
|
|
|
MACOSX_PACKAGE_LOCATION "Resources/${resdir}")
|
|
|
|
source_group("Resources" FILES "${CMAKE_SOURCE_DIR}/Data/${res}")
|
|
|
|
endforeach()
|
2017-02-03 17:10:59 -07:00
|
|
|
|
2018-11-30 21:35:45 -07:00
|
|
|
# Copy MoltenVK into the bundle
|
|
|
|
target_sources(dolphin-emu PRIVATE "${CMAKE_SOURCE_DIR}/Externals/MoltenVK/libvulkan.dylib")
|
|
|
|
set_source_files_properties("${CMAKE_SOURCE_DIR}/Externals/MoltenVK/libvulkan.dylib" PROPERTIES MACOSX_PACKAGE_LOCATION Frameworks)
|
|
|
|
|
2017-02-03 17:10:59 -07:00
|
|
|
# Update library references to make the bundle portable
|
|
|
|
include(DolphinPostprocessBundle)
|
2018-01-26 01:26:45 -07:00
|
|
|
dolphin_postprocess_bundle(dolphin-emu)
|
2019-10-26 18:27:21 -06:00
|
|
|
# Fix rpath
|
2020-07-16 16:47:51 -06:00
|
|
|
add_custom_command(TARGET dolphin-emu
|
|
|
|
POST_BUILD COMMAND
|
2019-10-26 18:27:21 -06:00
|
|
|
${CMAKE_INSTALL_NAME_TOOL} -add_rpath "@executable_path/../Frameworks/"
|
|
|
|
$<TARGET_FILE:dolphin-emu>)
|
2021-01-16 21:31:48 -07:00
|
|
|
|
|
|
|
if(MACOS_CODE_SIGNING)
|
|
|
|
# Code sign make file builds
|
|
|
|
add_custom_command(TARGET dolphin-emu
|
|
|
|
POST_BUILD COMMAND
|
2021-08-12 08:04:02 -06:00
|
|
|
/usr/bin/codesign -f -s "${MACOS_CODE_SIGNING_IDENTITY}" --deep --options=runtime --entitlements "${CMAKE_SOURCE_DIR}/Source/Core/DolphinQt/DolphinEmu$<$<CONFIG:Debug>:Debug>.entitlements" "${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/Dolphin.app" || true)
|
2021-01-16 21:31:48 -07:00
|
|
|
|
|
|
|
# Code sign builds for build systems that do have release/debug variants (Xcode)
|
|
|
|
add_custom_command(TARGET dolphin-emu
|
|
|
|
POST_BUILD COMMAND
|
2021-08-12 08:04:02 -06:00
|
|
|
/usr/bin/codesign -f -s "${MACOS_CODE_SIGNING_IDENTITY}" --deep --options=runtime --entitlements "${CMAKE_SOURCE_DIR}/Source/Core/DolphinQt/DolphinEmuDebug.entitlements" "${CMAKE_RUNTIME_OUTPUT_DIRECTORY_DEBUG}/Dolphin.app" || true)
|
2021-01-16 21:31:48 -07:00
|
|
|
|
|
|
|
add_custom_command(TARGET dolphin-emu
|
|
|
|
POST_BUILD COMMAND
|
2021-04-17 17:53:08 -06:00
|
|
|
/usr/bin/codesign -f -s "${MACOS_CODE_SIGNING_IDENTITY}" --deep --options=runtime --entitlements "${CMAKE_SOURCE_DIR}/Source/Core/DolphinQt/DolphinEmu.entitlements" "${CMAKE_RUNTIME_OUTPUT_DIRECTORY_RELEASE}/Dolphin.app" || true)
|
2021-01-16 21:31:48 -07:00
|
|
|
endif()
|
2016-05-04 00:25:53 -06:00
|
|
|
else()
|
2018-01-26 01:26:45 -07:00
|
|
|
install(TARGETS dolphin-emu RUNTIME DESTINATION ${bindir})
|
2016-05-04 00:25:53 -06:00
|
|
|
endif()
|
2018-06-08 14:56:11 -06:00
|
|
|
|
2021-07-04 05:23:30 -06:00
|
|
|
if(USE_MGBA)
|
|
|
|
target_sources(dolphin-emu PRIVATE
|
|
|
|
GBAHost.cpp
|
|
|
|
GBAHost.h
|
|
|
|
GBAWidget.cpp
|
|
|
|
GBAWidget.h
|
|
|
|
)
|
|
|
|
endif()
|
|
|
|
|
2018-06-08 14:56:11 -06:00
|
|
|
if(USE_DISCORD_PRESENCE)
|
|
|
|
target_compile_definitions(dolphin-emu PRIVATE -DUSE_DISCORD_PRESENCE)
|
|
|
|
endif()
|