1 2 3 4 5 6 7 8 9 10 11 12 13 14
cmake_minimum_required(VERSION 3.5) project(error) add_library(error src/error.c) target_include_directories(error PUBLIC include) target_link_libraries(error cstring) target_compile_options(error PRIVATE -Wall -Wextra)