1add_executable(test_libFLAC 2 bitreader.c 3 bitwriter.c 4 crc.c 5 decoders.c 6 encoders.c 7 endswap.c 8 format.c 9 main.c 10 metadata.c 11 metadata_manip.c 12 metadata_object.c 13 md5.c 14 "$<TARGET_PROPERTY:FLAC,SOURCE_DIR>/bitreader.c" 15 "$<TARGET_PROPERTY:FLAC,SOURCE_DIR>/bitwriter.c" 16 "$<TARGET_PROPERTY:FLAC,SOURCE_DIR>/crc.c" 17 "$<TARGET_PROPERTY:FLAC,SOURCE_DIR>/md5.c" 18 $<$<BOOL:${WIN32}>:../../include/share/win_utf8_io.h> 19 $<$<BOOL:${WIN32}>:../share/win_utf8_io/win_utf8_io.c>) 20 21target_compile_definitions(test_libFLAC PRIVATE 22 $<$<BOOL:${ENABLE_64_BIT_WORDS}>:ENABLE_64_BIT_WORDS>) 23target_include_directories(test_libFLAC PRIVATE 24 "$<TARGET_PROPERTY:FLAC,SOURCE_DIR>/include") 25target_link_libraries(test_libFLAC FLAC grabbag test_libs_common) 26