aboutsummaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorChristoph Jentzsch <jentzsch.software@gmail.com>2014-10-14 18:41:01 +0800
committerChristoph Jentzsch <jentzsch.software@gmail.com>2014-10-14 19:22:49 +0800
commit5b3c47aa05dca222f3e3956f668432acd7472189 (patch)
tree94a4686ae763074bb5b9a70c25ddfe79877f3a3d /CMakeLists.txt
parentea27fbe5f33e982babf13df25334dccd112dd96b (diff)
downloaddexon-solidity-5b3c47aa05dca222f3e3956f668432acd7472189.tar
dexon-solidity-5b3c47aa05dca222f3e3956f668432acd7472189.tar.gz
dexon-solidity-5b3c47aa05dca222f3e3956f668432acd7472189.tar.bz2
dexon-solidity-5b3c47aa05dca222f3e3956f668432acd7472189.tar.lz
dexon-solidity-5b3c47aa05dca222f3e3956f668432acd7472189.tar.xz
dexon-solidity-5b3c47aa05dca222f3e3956f668432acd7472189.tar.zst
dexon-solidity-5b3c47aa05dca222f3e3956f668432acd7472189.zip
Added random test creater
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 6936addb..4dfd1b55 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,12 +1,14 @@
cmake_policy(SET CMP0015 NEW)
aux_source_directory(. SRC_LIST)
+list(REMOVE_ITEM SRC_LIST "./createRandomTest.cpp")
include_directories(..)
link_directories(../libethcore)
link_directories(../libethereum)
add_executable(testeth ${SRC_LIST})
+add_executable(createRandomTest createRandomTest.cpp vm.cpp)
target_link_libraries(testeth ethereum)
target_link_libraries(testeth ethcore)
@@ -14,6 +16,13 @@ target_link_libraries(testeth secp256k1)
target_link_libraries(testeth gmp)
target_link_libraries(testeth ${CRYPTOPP_LS})
+target_link_libraries(createRandomTest ethereum)
+target_link_libraries(createRandomTest ethcore)
+target_link_libraries(createRandomTest boost_chrono)
+target_link_libraries(createRandomTest boost_unit_test_framework)
+
+
+
if ("${TARGET_PLATFORM}" STREQUAL "w64")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -static-libgcc -static-libstdc++")
target_link_libraries(testeth boost_system-mt-s)