evmc/test/CMakeLists.txt

20 lines
443 B
CMake
Raw Normal View History

# EVMC: Ethereum Client-VM Connector API.
2019-03-11 11:31:12 +00:00
# Copyright 2019 The EVMC Authors.
# Licensed under the Apache License, Version 2.0.
2018-04-12 09:01:24 +00:00
2018-06-08 10:44:33 +00:00
hunter_add_package(GTest)
find_package(GTest CONFIG REQUIRED)
if(NOT CMAKE_CXX_STANDARD)
set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_EXTENSIONS OFF)
2019-03-11 11:31:12 +00:00
set(CMAKE_C_EXTENSIONS OFF)
endif()
if(EVMC_TESTING)
add_subdirectory(integration)
add_subdirectory(unittests)
endif()
2018-04-12 09:01:24 +00:00
add_subdirectory(vmtester)