set(HEADERS polymodel.h ) set(CPPS newstyle.cpp polymodel.cpp ) add_library(model STATIC ${HEADERS} ${CPPS}) target_link_libraries(model PRIVATE cfile ddebug logger mem misc physics ) target_include_directories(model PUBLIC $ )