2016-08-23 19:10:11 +00:00
|
|
|
add_compile_options("-Wno-extra") # Override -Wextra, I don't know better option.
|
|
|
|
|
2017-01-09 22:42:24 +00:00
|
|
|
add_library(example-vm STATIC examplevm.c)
|
2016-08-22 20:39:34 +00:00
|
|
|
target_include_directories(example-vm PRIVATE ../include)
|
2016-08-22 20:51:43 +00:00
|
|
|
|
2017-01-09 22:42:24 +00:00
|
|
|
add_executable(example-capi capi.c)
|
2016-08-22 20:51:43 +00:00
|
|
|
target_include_directories(example-capi PRIVATE ../include)
|
|
|
|
target_link_libraries(example-capi PRIVATE example-vm)
|