summaryrefslogtreecommitdiff
path: root/src/test_libFLAC/CMakeLists.txt
blob: 5679cf25708ecb51785f72387bb6be42b552b1ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
add_executable(test_libFLAC
    bitreader.c
    bitwriter.c
    crc.c
    decoders.c
    encoders.c
    endswap.c
    format.c
    main.c
    metadata.c
    metadata_manip.c
    metadata_object.c
    md5.c)

target_compile_definitions(test_libFLAC PRIVATE
    $<$<BOOL:${ENABLE_64_BIT_WORDS}>:ENABLE_64_BIT_WORDS>)
target_include_directories(test_libFLAC PRIVATE "$<TARGET_PROPERTY:FLAC-static,SOURCE_DIR>/include")
target_link_libraries(test_libFLAC FLAC-static grabbag test_libs_common)