mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2024-12-12 05:32:30 +00:00
daa037b0d3
This set of changes implements audio drivers for Android, OpenSLES and Oboe. The changes in the original sources are kept minimal so that it should be easily maintained.
18 lines
674 B
CMake
18 lines
674 B
CMake
cmake_minimum_required(VERSION 3.6.0)
|
|
|
|
project ( fluidsynth-assetloader C )
|
|
|
|
set ( fluidsynth-assetloader_sources fluid_androidasset.c )
|
|
|
|
add_library ( fluidsynth-assetloader SHARED ${fluidsynth-assetloader_sources} )
|
|
|
|
target_compile_options ( fluidsynth-assetloader
|
|
PRIVATE -v
|
|
PRIVATE -Wall
|
|
PRIVATE "$<$<CONFIG:DEBUG>:-Werror>") # Only include -Werror when building debug config
|
|
|
|
include_directories ( ../../../include )
|
|
|
|
set ( CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -L../../../dist/${ANDROID_ABI} -lfluidsynth" )
|
|
|
|
target_link_libraries ( fluidsynth-assetloader PRIVATE log android )
|