mirror of
https://github.com/Boof2015/astra-mobile.git
synced 2026-08-17 11:12:33 +02:00
m3, ui/ux, and more
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
cmake_minimum_required(VERSION 3.13)
|
||||
project(astrascope)
|
||||
|
||||
set(CMAKE_CXX_STANDARD 17)
|
||||
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
||||
|
||||
# Pure portable DSP + a plain-JNI bridge. No prefab / ReactAndroid / fbjni:
|
||||
# <jni.h> comes from the NDK sysroot and we only link liblog.
|
||||
add_library(astrascope SHARED
|
||||
../cpp/dsp_utils.cpp
|
||||
../cpp/spectrum.cpp
|
||||
../cpp/oscilloscope.cpp
|
||||
../cpp/vectorscope.cpp
|
||||
../cpp/scope_jni.cpp)
|
||||
|
||||
target_include_directories(astrascope PRIVATE ../cpp)
|
||||
|
||||
find_library(log-lib log)
|
||||
target_link_libraries(astrascope ${log-lib})
|
||||
Reference in New Issue
Block a user