2024-08-09 15:00:30 +00:00
|
|
|
set(HEADERS
|
|
|
|
gr.h
|
2024-09-23 00:16:07 +00:00
|
|
|
lib2d.h
|
|
|
|
)
|
2024-04-20 12:35:20 +00:00
|
|
|
set(CPPS
|
2024-04-21 09:02:27 +00:00
|
|
|
font.cpp
|
|
|
|
hardsurf.cpp
|
|
|
|
memsurf.cpp
|
|
|
|
pen.cpp
|
|
|
|
pentext.cpp
|
|
|
|
screen.cpp
|
|
|
|
surface.cpp
|
2024-07-27 19:20:14 +00:00
|
|
|
viewport.cpp
|
|
|
|
)
|
2024-04-16 03:43:29 +00:00
|
|
|
|
2024-08-09 15:00:30 +00:00
|
|
|
add_library(2dlib STATIC ${HEADERS} ${CPPS})
|
2024-04-21 20:54:02 +00:00
|
|
|
target_link_libraries(2dlib PRIVATE
|
|
|
|
cfile
|
2024-09-23 00:16:07 +00:00
|
|
|
ddebug
|
2024-09-10 09:40:19 +00:00
|
|
|
logger
|
2024-06-19 21:31:58 +00:00
|
|
|
mem
|
2024-04-21 20:54:02 +00:00
|
|
|
)
|
2024-07-27 19:20:14 +00:00
|
|
|
target_include_directories(2dlib PUBLIC
|
|
|
|
$<BUILD_INTERFACE:
|
|
|
|
${PROJECT_SOURCE_DIR}/2dlib
|
|
|
|
>
|
|
|
|
)
|