mirror of
https://github.com/kevinbentley/Descent3.git
synced 2025-01-22 19:55:23 +00:00
4826c37a69
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.
13 lines
185 B
CMake
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
|
|
>
|
|
)
|