aboutsummaryrefslogtreecommitdiffstats
path: root/test/CMakeLists.txt
blob: 4b5c295e6e61496bfc214a050727ac704628eabf (plain) (blame)
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
CMAKE_MINIMUM_REQUIRED(VERSION 3.1)

set (CMAKE_CXX_STANDARD 11)
set (CMAKE_C_STANDARD 11)

set(atracdenc_ut
    ../src/mdct/mdct_ut.cpp
    ../src/bitstream/bitstream_ut.cpp
    ../src/util_ut.cpp
    ../src/atracdenc_ut.cpp
    ../src/transient_detector_ut.cpp
)

add_executable(atracdenc_ut ${atracdenc_ut})

target_link_libraries(atracdenc_ut
    bitstream
    fft_impl
    atracdenc_impl
    oma
    GTest::gtest_main
)

enable_testing()
add_test(ut atracdenc_ut)