Warning, /education/minuet/src/plugins/csoundsoundcontroller/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 include(ExternalProject)
0002 
0003 ExternalProject_Add(Csound
0004     GIT_REPOSITORY    https://github.com/csound/csound.git
0005     GIT_TAG           6.11.0
0006     CONFIGURE_COMMAND "${CMAKE_SOURCE_DIR}/configure-csound-android.sh"
0007     BUILD_COMMAND "${CMAKE_SOURCE_DIR}/build-csound-android.sh"
0008     INSTALL_COMMAND   ""
0009 )
0010 
0011 set(CSOUND_ANDROID_LIBS_DIR ${CMAKE_CURRENT_BINARY_DIR}/Csound-prefix/src/Csound/Android/CsoundAndroid/libs/arm64-v8a/)
0012 set(CSOUND_ROOT ${CMAKE_CURRENT_BINARY_DIR}/Csound-prefix/src/Csound/)
0013 
0014 set(CSOUND_ANDROID ${CSOUND_ANDROID_LIBS_DIR}/libcsoundandroid.so)
0015 set(CSOUND_SHARED ${CSOUND_ANDROID_LIBS_DIR}/libc++_shared.so)
0016 set(CSOUND_SND ${CSOUND_ANDROID_LIBS_DIR}/libsndfile.so)
0017 
0018 set(CSOUND_LIBS ${CSOUND_ANDROID} ${CSOUND_SHARED} ${CSOUND_SND})
0019 
0020 include_directories(${CMAKE_CURRENT_BINARY_DIR}/Csound-prefix/src/Csound/include)
0021 include_directories(${CMAKE_CURRENT_BINARY_DIR}/Csound-prefix/src/Csound/Android/CsoundAndroid/jni)
0022 
0023 set(csoundsoundcontroller_PLUGIN_SRCS
0024     csengine.cpp
0025     csoundsoundcontroller.cpp
0026 )
0027 
0028 add_library(minuetcsoundsoundcontroller ${csoundsoundcontroller_PLUGIN_SRCS})
0029 add_library(Minuet::CsoundSoundController ALIAS minuetcsoundsoundcontroller)
0030 
0031 target_link_libraries(minuetcsoundsoundcontroller
0032     Qt::Core
0033     Minuet::Interfaces
0034     ${CSOUND_LIBS}
0035 )
0036 
0037 add_dependencies(minuetcsoundsoundcontroller Csound)
0038 
0039 IF(NOT ${CMAKE_SYSTEM_NAME} MATCHES "Android")
0040     install(TARGETS minuetcsoundsoundcontroller DESTINATION ${KDE_INSTALL_PLUGINDIR}/minuet/)
0041 ENDIF(NOT ${CMAKE_SYSTEM_NAME} MATCHES "Android")