mirror of
https://github.com/kevinbentley/Descent3.git
synced 2025-01-22 11:28:56 +00:00
17 lines
313 B
CMake
17 lines
313 B
CMake
set(HEADERS mem.h)
|
|
set(CPPS mem.cpp)
|
|
|
|
add_library(mem STATIC ${HEADERS} ${CPPS})
|
|
target_compile_definitions(mem PUBLIC
|
|
$<$<BOOL:${ENABLE_MEM_RTL}>:MEM_USE_RTL>
|
|
)
|
|
target_link_libraries(mem PRIVATE
|
|
ddebug
|
|
logger
|
|
)
|
|
target_include_directories(mem PUBLIC
|
|
$<BUILD_INTERFACE:
|
|
${PROJECT_SOURCE_DIR}/mem
|
|
>
|
|
)
|