evmc/lib/instructions/CMakeLists.txt

16 lines
499 B
CMake
Raw Normal View History

# EVMC: Ethereum Client-VM Connector API.
# Copyright 2018 Pawel Bylica.
# Licensed under the MIT License. See the LICENSE file.
add_library(
instructions
${include_dir}/evmc/instructions.h
instruction_metrics.c
instruction_names.c
)
add_library(evmc::instructions ALIAS instructions)
2018-06-19 09:25:19 +00:00
target_include_directories(instructions PUBLIC $<BUILD_INTERFACE:${include_dir}>$<INSTALL_INTERFACE:include>)
install(TARGETS instructions EXPORT evmcTargets DESTINATION ${CMAKE_INSTALL_LIBDIR})