mirror of
https://github.com/kevinbentley/Descent3.git
synced 2025-01-22 19:55:23 +00:00
665539dfa6
This commit is part of efforts to isolate subsystems of project into own modules.
20 lines
376 B
CMake
20 lines
376 B
CMake
set(CPPS
|
|
$<$<PLATFORM_ID:Darwin,Linux>:
|
|
lnxdebug.cpp
|
|
lnxmono.cpp
|
|
>
|
|
$<$<PLATFORM_ID:Windows>:
|
|
windebug.cpp
|
|
winmono.cpp
|
|
>
|
|
)
|
|
|
|
add_library(ddebug STATIC ${CPPS})
|
|
add_dependencies(ddebug get_git_hash)
|
|
target_include_directories(ddebug PUBLIC
|
|
$<BUILD_INTERFACE:
|
|
${PROJECT_SOURCE_DIR}/ddebug
|
|
>
|
|
PRIVATE ${PROJECT_BINARY_DIR}/lib # For d3_version.h
|
|
)
|