Debian Codegraph @

cfile/CMakeLists.txt

raw
1 set(HEADERS
2 cfile.h
3 hogfile.h
4 inffile.h)
5 set(CPPS
6 cfile.cpp
7 hogfile.cpp
8 inffile.cpp
9 )
10
11 add_library(cfile STATIC ${HEADERS} ${CPPS})
12 target_link_libraries(cfile PRIVATE
13 ddio
14 mem
15 misc
16 )
17 target_include_directories(cfile PUBLIC
18 $<BUILD_INTERFACE:
19 ${PROJECT_SOURCE_DIR}/cfile
20 >
21 )
22
23 if(BUILD_TESTING)
24 add_subdirectory(tests)
25 endif()