mirror of
https://github.com/kevinbentley/Descent3.git
synced 2025-01-23 03:58:59 +00:00
db8aa64d2f
Properly define MEM_USE_RTL definition only for mem library. Link other dependant modules with mem.
26 lines
356 B
CMake
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
|
|
>
|
|
)
|