evmc/examples/CMakeLists.txt

9 lines
363 B
CMake
Raw Normal View History

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)
target_compile_options(example-vm PRIVATE -Wno-extra)
2017-01-09 22:42:24 +00:00
add_executable(example-capi capi.c)
target_include_directories(example-capi PRIVATE ../include)
target_link_libraries(example-capi PRIVATE example-vm)
target_compile_options(example-capi PRIVATE -Wno-extra)