cmake_minimum_required(VERSION 3.0) project(simple-printf) aux_source_directory("src" SOURCES) add_library(${PROJECT_NAME} STATIC ${SOURCES}) target_include_directories(${PROJECT_NAME} PUBLIC include)