Duckstation/dep/libcue/CMakeLists.txt
Connor McLaughlin 52c16deba6 dep: Add libcue
2019-10-18 23:52:52 +10:00

21 lines
559 B
CMake

set(SRCS
include/libcue/cd.h
include/libcue/cdtext.h
include/libcue/libcue.h
include/libcue/rem.h
include/libcue/time.h
src/cd.c
src/cdtext.c
src/cue_parser.c
src/cue_parser.h
src/cue_scanner.c
src/rem.c
src/time.c
)
add_library(libcue ${SRCS})
target_include_directories(libcue PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}/include/libcue" "${CMAKE_CURRENT_SOURCE_DIR}/src")
target_include_directories(libcue INTERFACE "${CMAKE_CURRENT_SOURCE_DIR}/include")
set_target_properties(libcue PROPERTIES LINKER_LANGUAGE C)