evmc/examples/CMakeLists.txt

12 lines
347 B
CMake
Raw Normal View History

2017-01-09 22:42:24 +00:00
add_library(example-vm STATIC examplevm.c)
2018-03-28 13:19:41 +00:00
target_link_libraries(example-vm PRIVATE evmc)
2018-04-10 12:12:12 +00:00
if(NOT MSVC)
target_compile_options(example-vm PRIVATE -Wno-extra)
endif()
2017-01-09 22:42:24 +00:00
add_executable(example-capi capi.c)
2018-03-28 13:19:41 +00:00
target_link_libraries(example-capi PRIVATE evmc example-vm)
2018-04-10 12:12:12 +00:00
if(NOT MSVC)
target_compile_options(example-capi PRIVATE -Wno-extra)
endif()