mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
commit
c07ab5aa36
@ -25,6 +25,11 @@ add_subdirectory(libethereum)
|
|||||||
add_subdirectory(libevm)
|
add_subdirectory(libevm)
|
||||||
add_subdirectory(libnatspec)
|
add_subdirectory(libnatspec)
|
||||||
add_subdirectory(libp2p)
|
add_subdirectory(libp2p)
|
||||||
|
|
||||||
|
if (JSCONSOLE)
|
||||||
|
add_subdirectory(libjsengine)
|
||||||
|
endif()
|
||||||
|
|
||||||
if (SOLIDITY)
|
if (SOLIDITY)
|
||||||
add_subdirectory(libsolidity)
|
add_subdirectory(libsolidity)
|
||||||
endif ()
|
endif ()
|
||||||
@ -41,6 +46,10 @@ include_directories(${Boost_INCLUDE_DIRS})
|
|||||||
include_directories(${CRYPTOPP_INCLUDE_DIRS})
|
include_directories(${CRYPTOPP_INCLUDE_DIRS})
|
||||||
include_directories(${JSON_RPC_CPP_INCLUDE_DIRS})
|
include_directories(${JSON_RPC_CPP_INCLUDE_DIRS})
|
||||||
|
|
||||||
|
if (JSCONSOLE)
|
||||||
|
include_directories(${V8_INCLUDE_DIRS})
|
||||||
|
endif()
|
||||||
|
|
||||||
# search for test names and create ctest tests
|
# search for test names and create ctest tests
|
||||||
enable_testing()
|
enable_testing()
|
||||||
foreach(file ${SRC_LIST})
|
foreach(file ${SRC_LIST})
|
||||||
@ -65,14 +74,22 @@ target_link_libraries(testeth ${CURL_LIBRARIES})
|
|||||||
target_link_libraries(testeth ethereum)
|
target_link_libraries(testeth ethereum)
|
||||||
target_link_libraries(testeth ethcore)
|
target_link_libraries(testeth ethcore)
|
||||||
target_link_libraries(testeth secp256k1)
|
target_link_libraries(testeth secp256k1)
|
||||||
|
|
||||||
|
if (JSCONSOLE)
|
||||||
|
target_link_libraries(testeth jsengine)
|
||||||
|
endif()
|
||||||
|
|
||||||
if (SOLIDITY)
|
if (SOLIDITY)
|
||||||
target_link_libraries(testeth solidity)
|
target_link_libraries(testeth solidity)
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
target_link_libraries(testeth testutils)
|
target_link_libraries(testeth testutils)
|
||||||
|
|
||||||
if (GUI AND NOT JUSTTESTS)
|
if (GUI AND NOT JUSTTESTS)
|
||||||
target_link_libraries(testeth webthree)
|
target_link_libraries(testeth webthree)
|
||||||
target_link_libraries(testeth natspec)
|
target_link_libraries(testeth natspec)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if (JSONRPC)
|
if (JSONRPC)
|
||||||
target_link_libraries(testeth web3jsonrpc)
|
target_link_libraries(testeth web3jsonrpc)
|
||||||
target_link_libraries(testeth ${JSON_RPC_CPP_CLIENT_LIBRARIES})
|
target_link_libraries(testeth ${JSON_RPC_CPP_CLIENT_LIBRARIES})
|
||||||
|
Loading…
Reference in New Issue
Block a user