CMakeLists.txt 291 B

1234567
  1. cmake_minimum_required(VERSION 3.6)
  2. project(magidoor)
  3. set(HEADERS_DIR ${CMAKE_CURRENT_SOURCE_DIR})
  4. set(SOURCE_FILES MD_Sendfile.c MD_Getc.c MD_Printf.c MD_Init.c MagiDoor.h)
  5. add_library(mdoor STATIC ${SOURCE_FILES})
  6. target_include_directories(mdoor PUBLIC $<BUILD_INTERFACE:${HEADERS_DIR}>)