mirror of
https://github.com/kevinbentley/Descent3.git
synced 2025-01-23 03:58:59 +00:00
18 lines
283 B
CMake
18 lines
283 B
CMake
|
set(CPPS
|
||
|
$<$<PLATFORM_ID:Windows>:
|
||
|
video_win32.cpp
|
||
|
vidWin32FS.cpp
|
||
|
vidWin32Win.cpp
|
||
|
>
|
||
|
$<$<PLATFORM_ID:Linux,Darwin>:
|
||
|
video_lnx.cpp
|
||
|
>
|
||
|
)
|
||
|
|
||
|
add_library(dd_video STATIC ${CPPS})
|
||
|
target_link_libraries(dd_video PRIVATE
|
||
|
$<$<PLATFORM_ID:Linux,Darwin>:
|
||
|
linux
|
||
|
>
|
||
|
)
|