cmake_minimum_required(VERSION 3.27) project(util) set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/") include_directories("${CMAKE_SOURCE_DIR}/include/") set(CMAKE_CXX_STANDARD 17) add_library(util OBJECT dprintf.c dprintf.h)