2024-08-09 15:00:30 +00:00
|
|
|
set(HEADERS
|
|
|
|
cfile.h
|
|
|
|
hogfile.h
|
|
|
|
inffile.h)
|
2024-04-20 12:35:20 +00:00
|
|
|
set(CPPS
|
2024-04-21 20:54:02 +00:00
|
|
|
cfile.cpp
|
|
|
|
hogfile.cpp
|
|
|
|
inffile.cpp
|
|
|
|
)
|
2024-04-16 03:43:29 +00:00
|
|
|
|
2024-08-09 15:00:30 +00:00
|
|
|
add_library(cfile STATIC ${HEADERS} ${CPPS})
|
2024-05-22 09:33:33 +00:00
|
|
|
target_link_libraries(cfile PRIVATE
|
2024-09-23 00:16:07 +00:00
|
|
|
ddebug
|
2024-05-22 21:59:23 +00:00
|
|
|
ddio
|
2024-09-10 09:40:19 +00:00
|
|
|
logger
|
2024-06-19 21:31:58 +00:00
|
|
|
mem
|
2024-06-26 21:09:50 +00:00
|
|
|
misc
|
2024-05-22 09:33:33 +00:00
|
|
|
)
|
2024-04-21 20:54:02 +00:00
|
|
|
target_include_directories(cfile PUBLIC
|
|
|
|
$<BUILD_INTERFACE:
|
|
|
|
${PROJECT_SOURCE_DIR}/cfile
|
|
|
|
>
|
|
|
|
)
|
2024-06-27 16:02:39 +00:00
|
|
|
|
|
|
|
if(BUILD_TESTING)
|
|
|
|
add_subdirectory(tests)
|
|
|
|
endif()
|