set(SOURCES instance.cpp engine.cpp utils.cpp window.cpp surface.cpp physicaldevice.cpp logicaldevice.cpp swapchain.cpp ) set(HEADERS instance.h engine.h utils.h window.h surface.h physicaldevice.h logicaldevice.h swapchain.h ) add_library(engine STATIC ${SOURCES}) target_include_directories(engine PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})