Retire legacy sources and verify managed iOS deployment
This commit is contained in:
+4
-4
@@ -55,9 +55,9 @@ find_package(protobuf CONFIG REQUIRED)
|
||||
# Generate C++ from voicecat.proto into the build tree.
|
||||
protobuf_generate(
|
||||
TARGET voicecat
|
||||
PROTOS proto/voicecat.proto
|
||||
PROTOS ../proto/voicecat.proto
|
||||
LANGUAGE cpp
|
||||
IMPORT_DIRS ${CMAKE_CURRENT_SOURCE_DIR}/proto
|
||||
IMPORT_DIRS ${CMAKE_CURRENT_SOURCE_DIR}/../proto
|
||||
PROTOC_OUT_DIR ${CMAKE_CURRENT_BINARY_DIR}/generated/proto)
|
||||
# Generated .pb.h files are included by protocol/envelope.h (consumed by tests and server),
|
||||
# so the generated dir and protobuf itself must be PUBLIC.
|
||||
@@ -74,12 +74,12 @@ find_package(protobuf CONFIG REQUIRED)
|
||||
|
||||
target_compile_definitions(voicecat PUBLIC VOICECAT_HAS_OPUS VOICECAT_HAS_AUDIO)
|
||||
|
||||
# ── RNNoise vendored noise-suppression DSP (third_party/rnnoise, BSD-3 + CC0). ──────────
|
||||
# ── RNNoise vendored noise-suppression DSP (native/rnnoise, BSD-3 + CC0). ──────────
|
||||
# The real backend behind ApmProcessor . Built as a standalone C
|
||||
# static lib with NO run-time CPU dispatch (RTCD off): portable scalar path on x86,
|
||||
# auto-NEON on arm64. -DDISABLE_DEBUG_FLOAT selects the int8-quantized weights that match our
|
||||
# shrunk model (third_party/README.md). The vcpkg port is !windows !arm, so we vendor it.
|
||||
set(RNNOISE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/../third_party/rnnoise)
|
||||
set(RNNOISE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/../native/rnnoise)
|
||||
add_library(rnnoise STATIC
|
||||
${RNNOISE_DIR}/src/denoise.c
|
||||
${RNNOISE_DIR}/src/rnn.c
|
||||
|
||||
Reference in New Issue
Block a user