mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #786 from bobsummerwill/jsonrpcstub
Remove unused jsonrpcstub code in cmake/
This commit is contained in:
commit
94715aa5a9
@ -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()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user