2018-04-02 10:47:26 -06:00
|
|
|
add_library(main SHARED
|
2021-07-17 11:47:11 -06:00
|
|
|
Cheats/ARCheat.cpp
|
2021-08-07 08:08:07 -06:00
|
|
|
Cheats/Cheats.h
|
2021-07-17 11:47:11 -06:00
|
|
|
Cheats/GeckoCheat.cpp
|
2022-07-23 09:14:26 -06:00
|
|
|
Cheats/GraphicsMod.cpp
|
|
|
|
Cheats/GraphicsModGroup.cpp
|
2021-07-17 11:47:11 -06:00
|
|
|
Cheats/PatchCheat.cpp
|
2021-05-20 08:34:30 -06:00
|
|
|
Config/NativeConfig.cpp
|
|
|
|
Config/PostProcessing.cpp
|
2018-06-01 01:36:29 -06:00
|
|
|
GameList/GameFile.cpp
|
2020-06-26 09:52:31 -06:00
|
|
|
GameList/GameFile.h
|
2018-06-01 01:36:29 -06:00
|
|
|
GameList/GameFileCache.cpp
|
2021-04-03 05:49:26 -06:00
|
|
|
Input/InputOverrider.cpp
|
2020-07-06 08:57:49 -06:00
|
|
|
IniFile.cpp
|
2018-04-02 10:47:26 -06:00
|
|
|
MainAndroid.cpp
|
2021-10-24 13:06:59 -06:00
|
|
|
RiivolutionPatches.cpp
|
2023-01-25 17:10:58 -07:00
|
|
|
SkylanderConfig.cpp
|
2021-01-17 14:15:13 -07:00
|
|
|
WiiUtils.cpp
|
2018-04-02 10:47:26 -06:00
|
|
|
)
|
2016-01-06 14:35:15 -07:00
|
|
|
|
2018-04-02 10:47:26 -06:00
|
|
|
target_link_libraries(main
|
|
|
|
PRIVATE
|
2020-06-26 09:52:31 -06:00
|
|
|
androidcommon
|
2020-10-14 12:50:38 -06:00
|
|
|
common
|
2018-04-02 10:47:26 -06:00
|
|
|
core
|
|
|
|
uicommon
|
|
|
|
)
|
2016-01-06 14:35:15 -07:00
|
|
|
|
2018-04-02 10:47:26 -06:00
|
|
|
target_link_libraries(main
|
|
|
|
PRIVATE
|
|
|
|
android
|
|
|
|
log
|
|
|
|
"-Wl,--no-warn-mismatch"
|
|
|
|
"-Wl,--whole-archive"
|
|
|
|
"-Wl,--no-whole-archive"
|
2016-01-20 09:32:53 -07:00
|
|
|
)
|
2016-06-08 11:49:46 -06:00
|
|
|
|
|
|
|
file(MAKE_DIRECTORY ${CMAKE_SOURCE_DIR}/Source/Android/app/src/main/assets/)
|
2017-09-09 03:27:24 -06:00
|
|
|
file(REMOVE_RECURSE ${CMAKE_SOURCE_DIR}/Source/Android/app/src/main/assets/Sys/)
|
|
|
|
file(COPY ${CMAKE_SOURCE_DIR}/Data/Sys DESTINATION ${CMAKE_SOURCE_DIR}/Source/Android/app/src/main/assets/)
|
2018-06-03 03:11:24 -06:00
|
|
|
|
|
|
|
# Delete folders that aren't used by the Android version of Dolphin
|
|
|
|
file(REMOVE_RECURSE ${CMAKE_SOURCE_DIR}/Source/Android/app/src/main/assets/Sys/Resources/)
|
|
|
|
file(REMOVE_RECURSE ${CMAKE_SOURCE_DIR}/Source/Android/app/src/main/assets/Sys/Themes/)
|
2016-01-06 14:35:15 -07:00
|
|
|
|
2018-04-02 10:47:26 -06:00
|
|
|
set(CPACK_PACKAGE_EXECUTABLES ${CPACK_PACKAGE_EXECUTABLES} main)
|
2020-06-26 09:52:31 -06:00
|
|
|
|
|
|
|
add_subdirectory(AndroidCommon)
|