Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
cmake_minimum_required(VERSION 3.10)

project(rnnoise)

set(CMAKE_CXX_STANDARD 11)

add_subdirectory( src )
17 changes: 17 additions & 0 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
set (library_sources
denoise.c
rnn.c
rnn_data.c
rnn_reader.c
pitch.c
kiss_fft.c
celt_lpc.c
)

add_library(rnnoise SHARED ${library_sources})
include_directories(rnnoise ../include)
add_library(rnnoise_static ${library_sources})
include_directories(rnnoise_static ../include)
set_target_properties(rnnoise_static PROPERTIES OUTPUT_NAME rnnoise)