Duckstation/dep/libcue/CMakeLists.txt
kwyxz 31695c4ff7
Haiku port of duckstation libretro core (#716)
* Haiku build 1st attempt

* fix load on Haiku

* Removed debugging flags

* Added a couple ifndef
2020-08-22 13:20:37 +10:00

21 lines
562 B
CMake

set(SRCS
include/libcue/cd.h
include/libcue/cdtext.h
include/libcue/libcue.h
include/libcue/rem.h
include/libcue/cuetime.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)