Descent3/cfile/CMakeLists.txt
Azamat H. Hackimov 4826c37a69 Add BUILD_INTERFACE to cfile module
Other modules that depends on it, can reuse includes on linking.
There some files formally not belonging any packages (lib directory), as workaround there temporary include_directories(cfile) on root of project. After migrating all modules this can be removed.
2024-04-24 00:41:02 +03:00

13 lines
185 B
CMake

set(CPPS
cfile.cpp
hogfile.cpp
inffile.cpp
)
add_library(cfile STATIC ${CPPS})
target_include_directories(cfile PUBLIC
$<BUILD_INTERFACE:
${PROJECT_SOURCE_DIR}/cfile
>
)