- cmake_minimum_required(VERSION 3.6)
- project(magidoor)
- set(HEADERS_DIR ${CMAKE_CURRENT_SOURCE_DIR})
- set(SOURCE_FILES MD_Sendfile.c MD_Getc.c MD_Printf.c MD_Init.c MagiDoor.h)
- add_library(mdoor STATIC ${SOURCE_FILES})
- target_include_directories(mdoor PUBLIC $<BUILD_INTERFACE:${HEADERS_DIR}>)
|