mirror of
https://github.com/kevinbentley/Descent3.git
synced 2025-01-22 11:28:56 +00:00
506521695a
Isolate 2dlib from rest of the project, minor cleanups
23 lines
310 B
CMake
23 lines
310 B
CMake
set(CPPS
|
|
font.cpp
|
|
hardsurf.cpp
|
|
memsurf.cpp
|
|
pen.cpp
|
|
pentext.cpp
|
|
screen.cpp
|
|
surface.cpp
|
|
viewport.cpp
|
|
)
|
|
|
|
add_library(2dlib STATIC ${CPPS})
|
|
target_link_libraries(2dlib PRIVATE
|
|
cfile
|
|
mem
|
|
misc
|
|
)
|
|
target_include_directories(2dlib PUBLIC
|
|
$<BUILD_INTERFACE:
|
|
${PROJECT_SOURCE_DIR}/2dlib
|
|
>
|
|
)
|