123456789101112131415161718192021222324252627 |
- cmake_minimum_required(VERSION 3.5)
- list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake)
- # Require C++11.
- set(CMAKE_CXX_STANDARD 11)
- set(CMAKE_CXX_STANDARD_REQUIRED True)
- set(CMAKE_CXX_EXTENSIONS Off)
- add_compile_options(-Wall -Werror -Wextra -Wconversion -Wno-sign-conversion -Wno-unknown-pragmas)
- if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/evm2wasm/cmake/HunterGate.cmake)
- include(evm2wasm/cmake/HunterGate.cmake)
- HunterGate(
- URL "https://github.com/ruslo/hunter/archive/v0.21.19.tar.gz"
- SHA1 "5ead1e069b437930d0de8a21824b20fb52b37b50"
- )
- endif()
- project(hera)
- include(ProjectBinaryen)
- add_subdirectory(evmc)
- add_subdirectory(evm2wasm)
- add_subdirectory(src)
|