|
|
@ -5,6 +5,8 @@ aux_source_directory(. SRC_LIST) |
|
|
|
include_directories(..) |
|
|
|
link_directories(../libethcore) |
|
|
|
link_directories(../libethereum) |
|
|
|
link_directories(../libevm) |
|
|
|
link_directories(../libevmjit) |
|
|
|
|
|
|
|
file(GLOB HEADERS "*.h") |
|
|
|
add_executable(testeth ${SRC_LIST} ${HEADERS}) |
|
|
@ -14,6 +16,8 @@ target_link_libraries(testeth ethcore) |
|
|
|
target_link_libraries(testeth secp256k1) |
|
|
|
target_link_libraries(testeth gmp) |
|
|
|
target_link_libraries(testeth ${CRYPTOPP_LS}) |
|
|
|
target_link_libraries(testeth evm) |
|
|
|
target_link_libraries(testeth evmjit) |
|
|
|
|
|
|
|
if ("${TARGET_PLATFORM}" STREQUAL "w64") |
|
|
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -static-libgcc -static-libstdc++") |
|
|
|