We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9acc1e5 commit 34d6820Copy full SHA for 34d6820
CMakeLists.txt
@@ -0,0 +1,14 @@
1
+cmake_minimum_required(VERSION 3.1)
2
+project(rnnoise)
3
+
4
+# Get source files
5
+file(GLOB SOURCES "src/*.c" "src/*.h" "include/*.h")
6
7
+# Compile the library
8
+add_library(rnnoise STATIC ${SOURCES})
9
10
+# Include dirs
11
+target_include_directories(rnnoise PUBLIC
12
+ $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
13
+ $<INSTALL_INTERFACE:include>
14
+ PRIVATE src)
0 commit comments