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