mirror of
https://github.com/kevinbentley/Descent3.git
synced 2025-01-22 19:55:23 +00:00
28 lines
372 B
CMake
28 lines
372 B
CMake
set(HEADERS
|
|
cfile.h
|
|
hogfile.h
|
|
inffile.h)
|
|
set(CPPS
|
|
cfile.cpp
|
|
hogfile.cpp
|
|
inffile.cpp
|
|
)
|
|
|
|
add_library(cfile STATIC ${HEADERS} ${CPPS})
|
|
target_link_libraries(cfile PRIVATE
|
|
ddebug
|
|
ddio
|
|
logger
|
|
mem
|
|
misc
|
|
)
|
|
target_include_directories(cfile PUBLIC
|
|
$<BUILD_INTERFACE:
|
|
${PROJECT_SOURCE_DIR}/cfile
|
|
>
|
|
)
|
|
|
|
if(BUILD_TESTING)
|
|
add_subdirectory(tests)
|
|
endif()
|