evmc/examples/CMakeLists.txt

9 lines
337 B
CMake
Raw Normal View History

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)
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)