Descent3/bitmap/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

27 lines
364 B
CMake

set(HEADERS
NewBitmap.h
iff.h)
set(CPPS
NewBitmap.cpp
bitmain.cpp
bumpmap.cpp
iff.cpp
lightmap.cpp
pcx.cpp
tga.cpp)
add_library(bitmap STATIC ${HEADERS} ${CPPS})
target_link_libraries(bitmap PRIVATE
cfile
ddebug
ddio
mem
misc
stb
)
target_include_directories(bitmap PUBLIC
$<BUILD_INTERFACE:
${PROJECT_SOURCE_DIR}/bitmap
>
)