Descent3/cfile/CMakeLists.txt
2024-09-24 23:00:53 +03:00

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()