aboutsummaryrefslogtreecommitdiffstats
path: root/cmake
diff options
context:
space:
mode:
authorBob Summerwill <bob@summerwill.net>2016-08-01 18:54:34 +0800
committerBob Summerwill <bob@summerwill.net>2016-08-01 18:54:34 +0800
commit8c715b7f975d28aa425682134ae483b226ce55da (patch)
tree161725d07adc7cf1f541454d915e7ab21b227b3c /cmake
parent8c5a56d8648c9722d96638bf6dc1be94c7828cb3 (diff)
downloaddexon-solidity-8c715b7f975d28aa425682134ae483b226ce55da.tar.gz
dexon-solidity-8c715b7f975d28aa425682134ae483b226ce55da.tar.zst
dexon-solidity-8c715b7f975d28aa425682134ae483b226ce55da.zip
Remove unused jsonrpcstub code in cmake/
Fixes https://github.com/ethereum/solidity/issues/779
Diffstat (limited to 'cmake')
-rw-r--r--cmake/EthExecutableHelper.cmake42
1 files changed, 0 insertions, 42 deletions
diff --git a/cmake/EthExecutableHelper.cmake b/cmake/EthExecutableHelper.cmake
index 921b37e7..746ba42e 100644
--- a/cmake/EthExecutableHelper.cmake
+++ b/cmake/EthExecutableHelper.cmake
@@ -141,45 +141,3 @@ macro (eth_name KEY VALUE)
set(${KEY} ${VALUE})
endif()
endmacro()
-
-macro(jsonrpcstub_client_create SPEC CLIENTNAME CLIENTDIR CLIENTFILENAME)
- if (ETH_JSON_RPC_STUB)
- add_custom_target(${SPEC}stub)
- add_custom_command(
- TARGET ${SPEC}stub
- POST_BUILD
- DEPENDS "${CMAKE_CURRENT_SOURCE_DIR}/${SPEC}"
- WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
- COMMAND ${CMAKE_COMMAND} -DETH_SPEC_PATH="${CMAKE_CURRENT_SOURCE_DIR}/${SPEC}" -DETH_SOURCE_DIR="${CMAKE_SOURCE_DIR}" -DETH_CMAKE_DIR="${ETH_CMAKE_DIR}"
- -DETH_CLIENT_DIR="${CLIENTDIR}"
- -DETH_CLIENT_NAME=${CLIENTNAME}
- -DETH_CLIENT_FILENAME=${CLIENTFILENAME}
- -DETH_JSON_RPC_STUB="${ETH_JSON_RPC_STUB}"
- -P "${ETH_SCRIPTS_DIR}/jsonrpcstub.cmake"
- )
- add_dependencies(${EXECUTABLE} ${SPEC}stub)
- endif ()
-endmacro()
-
-macro(jsonrpcstub_create SPEC SERVERNAME SERVERDIR SERVERFILENAME CLIENTNAME CLIENTDIR CLIENTFILENAME)
- if (ETH_JSON_RPC_STUB)
- add_custom_target(${SPEC}stub)
- add_custom_command(
- TARGET ${SPEC}stub
- POST_BUILD
- DEPENDS "${CMAKE_CURRENT_SOURCE_DIR}/${SPEC}"
- WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
- COMMAND ${CMAKE_COMMAND} -DETH_SPEC_PATH="${CMAKE_CURRENT_SOURCE_DIR}/${SPEC}" -DETH_SOURCE_DIR="${CMAKE_SOURCE_DIR}" -DETH_CMAKE_DIR="${ETH_CMAKE_DIR}"
- -DETH_CLIENT_DIR="${CLIENTDIR}"
- -DETH_CLIENT_NAME=${CLIENTNAME}
- -DETH_CLIENT_FILENAME=${CLIENTFILENAME}
- -DETH_SERVER_DIR="${SERVERDIR}"
- -DETH_SERVER_NAME=${SERVERNAME}
- -DETH_SERVER_FILENAME=${SERVERFILENAME}
- -DETH_JSON_RPC_STUB="${ETH_JSON_RPC_STUB}"
- -P "${ETH_SCRIPTS_DIR}/jsonrpcstub.cmake"
- )
- add_dependencies(${EXECUTABLE} ${SPEC}stub)
- endif ()
-endmacro()
-