Bootstrap vmtester tool

This commit is contained in:
Paweł Bylica 2018-04-12 11:01:24 +02:00
parent 69a932f1c8
commit 31a333df14
No known key found for this signature in database
GPG Key ID: 7A0C037434FE77EF
4 changed files with 24 additions and 1 deletions

View File

@ -26,7 +26,12 @@ project(evmc)
add_library(evmc INTERFACE)
target_include_directories(evmc INTERFACE include)
option(EVMC_BUILD_EXAMPLES "Build EVMC examples" ON)
option(EVMC_BUILD_TESTS "Build EVMC tests and test tools" OFF)
if(EVMC_BUILD_TESTS)
add_subdirectory(test)
endif()
option(EVMC_BUILD_EXAMPLES "Build EVMC examples" OFF)
if(EVMC_BUILD_EXAMPLES)
add_subdirectory(examples)
endif()

5
test/CMakeLists.txt Normal file
View File

@ -0,0 +1,5 @@
# EVMC -- Ethereum Client-VM Connector API
# Copyright 2018 Pawel Bylica.
# Licensed under the MIT License. See the LICENSE file.
add_subdirectory(vmtester)

View File

@ -0,0 +1,5 @@
# EVMC -- Ethereum Client-VM Connector API
# Copyright 2018 Pawel Bylica.
# Licensed under the MIT License. See the LICENSE file.
add_executable(vmtester vmtester.cpp)

View File

@ -0,0 +1,8 @@
// EVMC -- Ethereum Client-VM Connector API
// Copyright 2018 Pawel Bylica.
// Licensed under the MIT License. See the LICENSE file.
int main()
{
return 0;
}