mirror of
https://github.com/kevinbentley/Descent3.git
synced 2025-01-22 19:55:23 +00:00
60c5dbf1fe
This can help with CMake IDE integration and file indexing.
16 lines
302 B
CMake
16 lines
302 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
|
|
misc
|
|
)
|
|
target_include_directories(mem PUBLIC
|
|
$<BUILD_INTERFACE:
|
|
${PROJECT_SOURCE_DIR}/mem
|
|
>
|
|
)
|