mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #528 from rainbeam/use-add_exe-wrapper
Use add exe wrapper for solc, soltest, lllc
This commit is contained in:
commit
bee80f1d81
@ -4,7 +4,7 @@ set(EXECUTABLE lllc)
|
|||||||
|
|
||||||
file(GLOB HEADERS "*.h")
|
file(GLOB HEADERS "*.h")
|
||||||
include_directories(BEFORE ..)
|
include_directories(BEFORE ..)
|
||||||
add_executable(${EXECUTABLE} ${SRC_LIST} ${HEADERS})
|
eth_simple_add_executable(${EXECUTABLE} ${SRC_LIST} ${HEADERS})
|
||||||
|
|
||||||
eth_use(${EXECUTABLE} REQUIRED Solidity::lll Dev::buildinfo Solidity::evmasm)
|
eth_use(${EXECUTABLE} REQUIRED Solidity::lll Dev::buildinfo Solidity::evmasm)
|
||||||
|
|
||||||
|
@ -6,7 +6,7 @@ include_directories(BEFORE ..)
|
|||||||
set(EXECUTABLE solc)
|
set(EXECUTABLE solc)
|
||||||
|
|
||||||
file(GLOB HEADERS "*.h")
|
file(GLOB HEADERS "*.h")
|
||||||
add_executable(${EXECUTABLE} ${SRC_LIST} ${HEADERS})
|
eth_simple_add_executable(${EXECUTABLE} ${SRC_LIST} ${HEADERS})
|
||||||
|
|
||||||
eth_use(${EXECUTABLE} REQUIRED Solidity::solidity)
|
eth_use(${EXECUTABLE} REQUIRED Solidity::solidity)
|
||||||
target_link_libraries(${EXECUTABLE} ${Boost_PROGRAM_OPTIONS_LIBRARIES})
|
target_link_libraries(${EXECUTABLE} ${Boost_PROGRAM_OPTIONS_LIBRARIES})
|
||||||
|
@ -42,7 +42,7 @@ endforeach(file)
|
|||||||
|
|
||||||
file(GLOB HEADERS "*.h")
|
file(GLOB HEADERS "*.h")
|
||||||
set(EXECUTABLE soltest)
|
set(EXECUTABLE soltest)
|
||||||
add_executable(${EXECUTABLE} ${SRC_LIST} ${HEADERS})
|
eth_simple_add_executable(${EXECUTABLE} ${SRC_LIST} ${HEADERS})
|
||||||
|
|
||||||
eth_use(${EXECUTABLE} REQUIRED Solidity::solidity Eth::ethereum Eth::ethcore)
|
eth_use(${EXECUTABLE} REQUIRED Solidity::solidity Eth::ethereum Eth::ethcore)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user