cmake_minimum_required(VERSION 3.9) file(GLOB SOURCES *.c) include_directories(../include) # add library add_library(memfd SHARED memfd.c)