|
|
@ -3,7 +3,7 @@ project(ink C) |
|
|
|
|
|
|
|
set(CMAKE_C_STANDARD 90) |
|
|
|
|
|
|
|
add_library(ink lib.c ink.h) |
|
|
|
add_library(ink lib.c include/ink.h) |
|
|
|
|
|
|
|
# Uncomment to disable the redundant arithmetic |
|
|
|
# add_definitions(-DNOEXTRAARITHMETIC) |
|
|
@ -16,6 +16,7 @@ add_library(ink lib.c ink.h) |
|
|
|
|
|
|
|
add_executable(ink_exe main.c) |
|
|
|
target_link_libraries(ink_exe PUBLIC ink) |
|
|
|
target_include_directories(ink PUBLIC include) |
|
|
|
|
|
|
|
# Benchmark is broken since the addition to coroutines |
|
|
|
# add_executable(ink_bench bench.c) |
|
|
|