duckstation/dep/libcue/CMakeLists.txt

21 lines
562 B
CMake
Raw Normal View History

2019-10-18 08:16:52 +00:00
set(SRCS
include/libcue/cd.h
include/libcue/cdtext.h
include/libcue/libcue.h
include/libcue/rem.h
include/libcue/cuetime.h
2019-10-18 08:16:52 +00:00
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)