2018-06-19 11:38:08 +02:00
|
|
|
# EVMC: Ethereum Client-VM Connector API.
|
2018-08-21 09:44:18 +02:00
|
|
|
# Copyright 2018 The EVMC Authors.
|
2018-08-22 13:57:25 +02:00
|
|
|
# Licensed under the Apache License, Version 2.0. See the LICENSE file.
|
2018-06-19 11:38:08 +02:00
|
|
|
|
|
|
|
# This example shows how to use evmc::instructions library from evmc CMake package.
|
|
|
|
|
|
|
|
cmake_minimum_required(VERSION 3.5)
|
|
|
|
|
|
|
|
project(use_instructions_in_cmake)
|
|
|
|
|
|
|
|
find_package(evmc CONFIG REQUIRED)
|
|
|
|
|
|
|
|
add_executable(use_instructions_in_cmake use_instructions_in_cmake.c)
|
|
|
|
target_link_libraries(use_instructions_in_cmake PRIVATE evmc::instructions)
|