You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
1.7 KiB
34 lines
1.7 KiB
cmake_policy(SET CMP0015 NEW)
|
|
|
|
file(GLOB HEADERS "*.h")
|
|
include_directories(BEFORE ${JSONCPP_INCLUDE_DIRS})
|
|
include_directories(BEFORE ..)
|
|
include_directories(BEFORE ../..)
|
|
include_directories(${Boost_INCLUDE_DIRS})
|
|
include_directories(${CRYPTOPP_INCLUDE_DIRS})
|
|
include_directories(${JSON_RPC_CPP_INCLUDE_DIRS})
|
|
|
|
add_executable(createRandomVMTest "./createRandomVMTest.cpp" "../libevm/vm.cpp" "../TestHelper.cpp" "../Stats.cpp")
|
|
add_executable(createRandomStateTest "./createRandomStateTest.cpp" "../TestHelper.cpp" "../Stats.cpp" "fuzzHelper.cpp")
|
|
add_executable(checkRandomVMTest "./checkRandomVMTest.cpp" "../libevm/vm.cpp" "../TestHelper.cpp" "../Stats.cpp" )
|
|
add_executable(checkRandomStateTest "./checkRandomStateTest.cpp" "../TestHelper.cpp" "../Stats.cpp")
|
|
|
|
list(APPEND SRCS "./fuzzHelper.cpp")
|
|
add_sources(${SRCS})
|
|
|
|
target_link_libraries(createRandomVMTest ${Boost_UNIT_TEST_FRAMEWORK_LIBRARIES})
|
|
target_link_libraries(createRandomVMTest ethereum)
|
|
target_link_libraries(createRandomVMTest ethcore)
|
|
target_link_libraries(createRandomVMTest testutils)
|
|
target_link_libraries(createRandomStateTest ${Boost_UNIT_TEST_FRAMEWORK_LIBRARIES})
|
|
target_link_libraries(createRandomStateTest ethereum)
|
|
target_link_libraries(createRandomStateTest ethcore)
|
|
target_link_libraries(createRandomStateTest testutils)
|
|
target_link_libraries(checkRandomVMTest ${Boost_UNIT_TEST_FRAMEWORK_LIBRARIES})
|
|
target_link_libraries(checkRandomVMTest ethereum)
|
|
target_link_libraries(checkRandomVMTest ethcore)
|
|
target_link_libraries(checkRandomVMTest testutils)
|
|
target_link_libraries(checkRandomStateTest ${Boost_UNIT_TEST_FRAMEWORK_LIBRARIES})
|
|
target_link_libraries(checkRandomStateTest ethereum)
|
|
target_link_libraries(checkRandomStateTest ethcore)
|
|
target_link_libraries(checkRandomStateTest testutils)
|
|
|