mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-12-29 04:30:57 +01:00
b7ba126db0
The Java implementation of getting the list of post-processing shaders only looked in the Sys folder and not the User folder. This could be fixed in the Java implementation, but it's simpler to just call the C++ implementation instead.
40 lines
1.0 KiB
CMake
40 lines
1.0 KiB
CMake
add_library(main SHARED
|
|
Config/NativeConfig.cpp
|
|
Config/PostProcessing.cpp
|
|
GameList/GameFile.cpp
|
|
GameList/GameFile.h
|
|
GameList/GameFileCache.cpp
|
|
IniFile.cpp
|
|
MainAndroid.cpp
|
|
WiiUtils.cpp
|
|
)
|
|
|
|
target_link_libraries(main
|
|
PRIVATE
|
|
androidcommon
|
|
common
|
|
core
|
|
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)
|