summaryrefslogtreecommitdiffstats
path: root/src/metaflac/CMakeLists.txt
blob: b8af705831d246564c520fd26635d429a51da306 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
add_executable(metaflac
    main.c
    operations.c
    operations_shorthand_cuesheet.c
    operations_shorthand_picture.c
    operations_shorthand_seektable.c
    operations_shorthand_streaminfo.c
    operations_shorthand_vorbiscomment.c
    options.c
    usage.c
    utils.c
    version.rc
    $<$<BOOL:${WIN32}>:../../include/share/win_utf8_io.h>
    $<$<BOOL:${WIN32}>:../share/win_utf8_io/win_utf8_io.c>)
target_link_libraries(metaflac FLAC getopt utf8)

install(TARGETS metaflac EXPORT targets
    RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}")