mirror of https://github.com/status-im/evmc.git
9 lines
363 B
CMake
9 lines
363 B
CMake
add_library(example-vm STATIC examplevm.c)
|
|
target_include_directories(example-vm PRIVATE ../include)
|
|
target_compile_options(example-vm PRIVATE -Wno-extra)
|
|
|
|
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)
|