obs-filters: Remove unnecessary files
parent
0608506e98
commit
e2bad8e79d
|
@ -1,39 +0,0 @@
|
||||||
cmake_minimum_required(VERSION 3.1)
|
|
||||||
project(rnnoise)
|
|
||||||
|
|
||||||
option(RNNOISE_COMPILE_OPUS ON)
|
|
||||||
|
|
||||||
if(RNNOISE_COMPILE_OPUS)
|
|
||||||
add_definitions(-DCOMPILE_OPUS)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
# Ignore CRT warnings
|
|
||||||
add_definitions(-D_CRT_SECURE_NO_WARNINGS)
|
|
||||||
|
|
||||||
# Get source files
|
|
||||||
file(GLOB SOURCES "src/*.c" "src/*.h" "include/*.h")
|
|
||||||
|
|
||||||
# Build rnnoise
|
|
||||||
add_definitions(-DRNNOISE_BUILD)
|
|
||||||
|
|
||||||
# Compile the library
|
|
||||||
add_library(rnnoise ${SOURCES})
|
|
||||||
|
|
||||||
# Build DLL if needed
|
|
||||||
if(BUILD_SHARED_LIBS)
|
|
||||||
if(WIN32)
|
|
||||||
target_compile_definitions(rnnoise PRIVATE DLL_EXPORT)
|
|
||||||
else()
|
|
||||||
include(CheckCCompilerFlag)
|
|
||||||
check_c_compiler_flag(-fvisibility=hidden COMPILER_HAS_HIDDEN_VISIBILITY)
|
|
||||||
if(COMPILER_HAS_HIDDEN_VISIBILITY)
|
|
||||||
set_target_properties(rnnoise PROPERTIES C_VISIBILITY_PRESET hidden)
|
|
||||||
endif()
|
|
||||||
endif()
|
|
||||||
endif()
|
|
||||||
|
|
||||||
# Include dirs
|
|
||||||
target_include_directories(rnnoise PUBLIC
|
|
||||||
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
|
|
||||||
$<INSTALL_INTERFACE:include>
|
|
||||||
PRIVATE src)
|
|
|
@ -1,10 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
# Run this to set up the build system: configure, makefiles, etc.
|
|
||||||
set -e
|
|
||||||
|
|
||||||
srcdir=`dirname $0`
|
|
||||||
test -n "$srcdir" && cd "$srcdir"
|
|
||||||
|
|
||||||
echo "Updating build configuration files for rnnoise, please wait...."
|
|
||||||
|
|
||||||
autoreconf -isf
|
|
|
@ -1,13 +0,0 @@
|
||||||
# rnnoise uninstalled pkg-config file
|
|
||||||
|
|
||||||
prefix=
|
|
||||||
exec_prefix=
|
|
||||||
libdir=${pcfiledir}/.libs
|
|
||||||
includedir=${pcfiledir}/@top_srcdir@/include
|
|
||||||
|
|
||||||
Name: rnnoise uninstalled
|
|
||||||
Description: RNN-based noise suppression (not installed)
|
|
||||||
Version: @PACKAGE_VERSION@
|
|
||||||
Conflicts:
|
|
||||||
Libs: ${libdir}/librnnoise.la @lrintf_lib@
|
|
||||||
Cflags: -I${includedir}
|
|
|
@ -1,14 +0,0 @@
|
||||||
# rnnoise installed pkg-config file
|
|
||||||
|
|
||||||
prefix=@prefix@
|
|
||||||
exec_prefix=@exec_prefix@
|
|
||||||
libdir=@libdir@
|
|
||||||
includedir=@includedir@
|
|
||||||
|
|
||||||
Name: rnnoise
|
|
||||||
Description: RNN-based noise suppression
|
|
||||||
Version: @PACKAGE_VERSION@
|
|
||||||
Conflicts:
|
|
||||||
Libs: -L${libdir} -lrnnoise
|
|
||||||
Libs.private: @lrintf_lib@
|
|
||||||
Cflags: -I${includedir}/
|
|
Loading…
Reference in New Issue