aboutsummaryrefslogtreecommitdiff
path: root/android/CMakeLists.txt
diff options
context:
space:
mode:
authorVitaly Novichkov <admin@wohlnet.ru>2018-04-25 00:24:03 +0300
committerVitaly Novichkov <admin@wohlnet.ru>2018-04-25 00:24:03 +0300
commit7fd5752dd5f22bdbe175744f33ad998e43f755cf (patch)
treef31c779c873e55cc0d9a5df00f266064e550f434 /android/CMakeLists.txt
parent38d25fd5b9be25074c7d39533082b4a50197601e (diff)
parentc014aedd155d366ecbfa507317647675181a813d (diff)
downloadlibADLMIDI-7fd5752dd5f22bdbe175744f33ad998e43f755cf.tar.gz
libADLMIDI-7fd5752dd5f22bdbe175744f33ad998e43f755cf.tar.bz2
libADLMIDI-7fd5752dd5f22bdbe175744f33ad998e43f755cf.zip
Merge branch 'master' into stable
Diffstat (limited to 'android/CMakeLists.txt')
-rw-r--r--android/CMakeLists.txt34
1 files changed, 34 insertions, 0 deletions
diff --git a/android/CMakeLists.txt b/android/CMakeLists.txt
new file mode 100644
index 0000000..87c95a8
--- /dev/null
+++ b/android/CMakeLists.txt
@@ -0,0 +1,34 @@
+cmake_minimum_required(VERSION 3.4.1)
+
+set(src_DIR ../src)
+set(include_DIR ../include)
+
+set(libADLMIDI_sources
+ ${src_DIR}/adldata.cpp
+ ${src_DIR}/adlmidi_load.cpp
+ ${src_DIR}/adlmidi_midiplay.cpp
+ ${src_DIR}/adlmidi_mus2mid.c
+ ${src_DIR}/adlmidi_opl3.cpp
+ ${src_DIR}/adlmidi_private.cpp
+ ${src_DIR}/adlmidi_xmi2mid.c
+ ${src_DIR}/adlmidi.cpp
+ ${src_DIR}/wopl/wopl_file.c
+ ${src_DIR}/chips/dosbox_opl3.cpp
+ ${src_DIR}/chips/nuked_opl3_v174.cpp
+ ${src_DIR}/chips/nuked_opl3.cpp
+ ${src_DIR}/chips/opl_chip_base.cpp
+ ${src_DIR}/chips/dosbox/dbopl.cpp
+ ${src_DIR}/chips/nuked/nukedopl3_174.c
+ ${src_DIR}/chips/nuked/nukedopl3.c
+)
+
+add_library(libADLMIDI SHARED ${libADLMIDI_sources})
+
+# Specify directories which the compiler should look for headers
+target_include_directories(libADLMIDI PRIVATE
+ ${include_DIR}
+)
+
+target_include_directories(libADLMIDI INTERFACE
+ ${include_DIR}
+) \ No newline at end of file