Descent3/2dlib/CMakeLists.txt
Azamat H. Hackimov 506521695a Isolate 2dlib submodule
Isolate 2dlib from rest of the project, minor cleanups
2024-07-27 22:21:29 +03:00

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
>
)