Descent3/grtext/CMakeLists.txt
Louis Gombert 60c5dbf1fe CMake: add all headers to target sources
This can help with CMake IDE integration and file indexing.
2024-08-09 17:09:14 +02:00

21 lines
296 B
CMake

set(HEADERS
grtext.h
grtextlib.h)
set(CPPS
grfont.cpp
grtext.cpp
textaux.cpp
)
add_library(grtext STATIC ${HEADERS} ${CPPS})
target_link_libraries(grtext PRIVATE
ddio
mem
misc
)
target_include_directories(grtext PUBLIC
$<BUILD_INTERFACE:
${PROJECT_SOURCE_DIR}/grtext
>
)