-
Notifications
You must be signed in to change notification settings - Fork 26
/
CMakeLists.txt
45 lines (41 loc) · 1.29 KB
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
cmake_minimum_required(VERSION 3.1)
project(STL2023 VERSION 2023)
add_definitions( -DVERSION_STL="${CMAKE_PROJECT_NAME}" )
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
#Platform-specific settings
if("${CMAKE_C_COMPILER_ID}" STREQUAL "MSVC")
message(DEBUG "libm: <<MSVC>> provides <<libm>> by default and thus __cannot_ link against <<libm>>.")
set(M_LIBRARY "")
else()
set(M_LIBRARY "m")
endif()
#Testing
enable_testing()
add_custom_target(test-verbose COMMAND ${CMAKE_CTEST_COMMAND} --verbose)
#Source folders
add_subdirectory(src/basop/test_framework)
add_subdirectory(src/basop/flc)
add_subdirectory(src/bs1770demo)
add_subdirectory(src/eid)
add_subdirectory(src/esdru)
add_subdirectory(src/fir)
add_subdirectory(src/freqresp)
add_subdirectory(src/g711)
add_subdirectory(src/g711iplc)
add_subdirectory(src/g722)
add_subdirectory(src/g726)
add_subdirectory(src/g727)
add_subdirectory(src/g728/g728fixed)
add_subdirectory(src/g728/g728float)
add_subdirectory(src/iir)
add_subdirectory(src/is54)
add_subdirectory(src/mnru)
add_subdirectory(src/reverb)
add_subdirectory(src/rpeltp)
add_subdirectory(src/stereoop)
add_subdirectory(src/sv56)
add_subdirectory(src/truncate)
add_subdirectory(src/unsup)
add_subdirectory(src/unsup/g728-vt)
add_subdirectory(src/utl)
add_subdirectory(src/wmc_tool)