cmake_minimum_required(VERSION 3.27)
|
|
project(ink C)
|
|
|
|
set(CMAKE_C_STANDARD 90)
|
|
|
|
add_library(ink lib.c ink.h)
|
|
add_executable(ink_exe main.c)
|
|
target_link_libraries(ink_exe PUBLIC ink)
|