mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
CMake: Make libs dependencies explicit
This commit is contained in:
parent
0712e6302e
commit
99d198ffb0
@ -2,5 +2,5 @@ file(GLOB sources "*.cpp")
|
|||||||
file(GLOB headers "*.h")
|
file(GLOB headers "*.h")
|
||||||
|
|
||||||
add_library(lll ${sources} ${headers})
|
add_library(lll ${sources} ${headers})
|
||||||
target_link_libraries(lll PUBLIC evmasm)
|
target_link_libraries(lll PUBLIC evmasm devcore)
|
||||||
target_include_directories(lll PUBLIC ..)
|
target_include_directories(lll PUBLIC ..)
|
||||||
|
@ -3,5 +3,5 @@ file(GLOB_RECURSE sources "*.cpp" "../libjulia/*.cpp")
|
|||||||
file(GLOB_RECURSE headers "*.h" "../libjulia/*.h")
|
file(GLOB_RECURSE headers "*.h" "../libjulia/*.h")
|
||||||
|
|
||||||
add_library(solidity ${sources} ${headers})
|
add_library(solidity ${sources} ${headers})
|
||||||
target_link_libraries(solidity PUBLIC evmasm PRIVATE ${Boost_REGEX_LIBRARIES})
|
target_link_libraries(solidity PUBLIC evmasm devcore PRIVATE ${Boost_REGEX_LIBRARIES})
|
||||||
target_include_directories(solidity PUBLIC ..)
|
target_include_directories(solidity PUBLIC ..)
|
||||||
|
@ -3,7 +3,7 @@ list(REMOVE_ITEM sources "${CMAKE_CURRENT_SOURCE_DIR}/fuzzer.cpp")
|
|||||||
file(GLOB_RECURSE headers "*.h")
|
file(GLOB_RECURSE headers "*.h")
|
||||||
|
|
||||||
add_executable(soltest ${sources} ${headers})
|
add_executable(soltest ${sources} ${headers})
|
||||||
target_link_libraries(soltest PRIVATE soljson solidity lll ${Boost_UNIT_TEST_FRAMEWORK_LIBRARIES})
|
target_link_libraries(soltest PRIVATE soljson solidity lll evmasm devcore ${Boost_UNIT_TEST_FRAMEWORK_LIBRARIES})
|
||||||
|
|
||||||
add_executable(solfuzzer fuzzer.cpp)
|
add_executable(solfuzzer fuzzer.cpp)
|
||||||
target_link_libraries(solfuzzer soljson evmasm ${Boost_PROGRAM_OPTIONS_LIBRARIES})
|
target_link_libraries(solfuzzer soljson evmasm ${Boost_PROGRAM_OPTIONS_LIBRARIES})
|
||||||
|
Loading…
Reference in New Issue
Block a user