Descent3/bitmap/CMakeLists.txt
Azamat H. Hackimov db8aa64d2f Make mem module isolated from project
Properly define MEM_USE_RTL definition only for mem library. Link other dependant modules with mem.
2024-06-20 00:43:51 +03:00

26 lines
356 B
CMake

set(HEADERS iff.h)
set(CPPS
NewBitmap.cpp
NewBitmap.h
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
stb
)
target_include_directories(bitmap PUBLIC
$<BUILD_INTERFACE:
${PROJECT_SOURCE_DIR}/bitmap
>
)