2020-01-30 05:49:04 +00:00
|
|
|
add_library(libchdr
|
2022-04-03 10:27:06 +00:00
|
|
|
include/dr_libs/dr_flac.h
|
2020-01-30 05:49:04 +00:00
|
|
|
include/libchdr/bitstream.h
|
|
|
|
include/libchdr/cdrom.h
|
|
|
|
include/libchdr/chd.h
|
2020-12-01 13:34:21 +00:00
|
|
|
include/libchdr/chdconfig.h
|
2020-01-30 05:49:04 +00:00
|
|
|
include/libchdr/coretypes.h
|
|
|
|
include/libchdr/flac.h
|
|
|
|
include/libchdr/huffman.h
|
2020-12-01 13:34:21 +00:00
|
|
|
src/libchdr_bitstream.c
|
|
|
|
src/libchdr_cdrom.c
|
|
|
|
src/libchdr_chd.c
|
|
|
|
src/libchdr_flac.c
|
|
|
|
src/libchdr_huffman.c
|
2020-01-30 05:49:04 +00:00
|
|
|
)
|
|
|
|
|
2020-12-01 13:34:21 +00:00
|
|
|
target_include_directories(libchdr PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/include")
|
2022-04-03 10:32:45 +00:00
|
|
|
target_link_libraries(libchdr PRIVATE zlib lzma)
|
2020-01-30 05:49:04 +00:00
|
|
|
|