mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 21:37:52 -07:00
c2779aef06
It's missing a lot of features from the PC version for now, like buttons for inserting functions and the ability to see what the expression evaluates to. I mostly just wanted to get something in place so you can set up rumble. Co-authored-by: Charles Lombardo <clombardo169@gmail.com>
63 lines
1.5 KiB
CMake
63 lines
1.5 KiB
CMake
add_library(main SHARED
|
|
Cheats/ARCheat.cpp
|
|
Cheats/Cheats.h
|
|
Cheats/GeckoCheat.cpp
|
|
Cheats/GraphicsMod.cpp
|
|
Cheats/GraphicsModGroup.cpp
|
|
Cheats/PatchCheat.cpp
|
|
Config/NativeConfig.cpp
|
|
Config/PostProcessing.cpp
|
|
GameList/GameFile.cpp
|
|
GameList/GameFile.h
|
|
GameList/GameFileCache.cpp
|
|
Input/Control.cpp
|
|
Input/Control.h
|
|
Input/ControlGroup.cpp
|
|
Input/ControlGroup.h
|
|
Input/ControlReference.cpp
|
|
Input/ControlReference.h
|
|
Input/CoreDevice.cpp
|
|
Input/CoreDevice.h
|
|
Input/EmulatedController.cpp
|
|
Input/EmulatedController.h
|
|
Input/InputOverrider.cpp
|
|
Input/MappingCommon.cpp
|
|
Input/NumericSetting.cpp
|
|
Input/NumericSetting.h
|
|
IniFile.cpp
|
|
MainAndroid.cpp
|
|
RiivolutionPatches.cpp
|
|
SkylanderConfig.cpp
|
|
WiiUtils.cpp
|
|
)
|
|
|
|
target_link_libraries(main
|
|
PRIVATE
|
|
androidcommon
|
|
common
|
|
core
|
|
inputcommon
|
|
uicommon
|
|
)
|
|
|
|
target_link_libraries(main
|
|
PRIVATE
|
|
android
|
|
log
|
|
"-Wl,--no-warn-mismatch"
|
|
"-Wl,--whole-archive"
|
|
"-Wl,--no-whole-archive"
|
|
)
|
|
|
|
file(MAKE_DIRECTORY ${CMAKE_SOURCE_DIR}/Source/Android/app/src/main/assets/)
|
|
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/)
|
|
|
|
# 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/)
|
|
|
|
set(CPACK_PACKAGE_EXECUTABLES ${CPACK_PACKAGE_EXECUTABLES} main)
|
|
|
|
add_subdirectory(AndroidCommon)
|