74808f086e
* feat: Replace Legacy Media Controls with Nitro-Powered Playback * feat: Add TTS Engine Selection * chore: Remove User-Facing Error Reporting * refactor: Combine `Tts` and `TtsSession` Imports from `nitro-tts` Module --------- Co-authored-by: Claude <noreply@anthropic.com>
25 lines
433 B
CMake
25 lines
433 B
CMake
project(NitroTts)
|
|
cmake_minimum_required(VERSION 3.9.0)
|
|
|
|
set(PACKAGE_NAME NitroTts)
|
|
set(CMAKE_VERBOSE_MAKEFILE ON)
|
|
set(CMAKE_CXX_STANDARD 20)
|
|
|
|
add_library(${PACKAGE_NAME} SHARED
|
|
src/main/cpp/cpp-adapter.cpp
|
|
)
|
|
|
|
include(${CMAKE_SOURCE_DIR}/../nitrogen/generated/android/NitroTts+autolinking.cmake)
|
|
|
|
include_directories(
|
|
"src/main/cpp"
|
|
)
|
|
|
|
find_library(LOG_LIB log)
|
|
|
|
target_link_libraries(
|
|
${PACKAGE_NAME}
|
|
${LOG_LIB}
|
|
android
|
|
)
|