mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
cmake refactor in progress
This commit is contained in:
parent
6945c2eb89
commit
f47ca4ad14
@ -5,9 +5,9 @@ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DSTATICLIB")
|
||||
|
||||
aux_source_directory(. SRC_LIST)
|
||||
|
||||
include_directories(BEFORE ${JSONCPP_INCLUDE_DIRS})
|
||||
#include_directories(BEFORE ${JSONCPP_INCLUDE_DIRS})
|
||||
include_directories(BEFORE ..)
|
||||
include_directories(${Boost_INCLUDE_DIRS})
|
||||
#include_directories(${Boost_INCLUDE_DIRS})
|
||||
|
||||
set(EXECUTABLE lll)
|
||||
|
||||
@ -15,7 +15,8 @@ file(GLOB HEADERS "*.h")
|
||||
|
||||
add_library(${EXECUTABLE} ${SRC_LIST} ${HEADERS})
|
||||
|
||||
target_link_libraries(${EXECUTABLE} evmasm)
|
||||
eth_use(${EXECUTABLE} REQUIRED Eth::evmasm)
|
||||
#target_link_libraries(${EXECUTABLE} evmasm)
|
||||
|
||||
install( TARGETS ${EXECUTABLE} RUNTIME DESTINATION bin ARCHIVE DESTINATION lib LIBRARY DESTINATION lib )
|
||||
install( FILES ${HEADERS} DESTINATION include/${EXECUTABLE} )
|
||||
|
Loading…
Reference in New Issue
Block a user