diff options
author | Marek Kotewicz <marek.kotewicz@gmail.com> | 2015-08-24 21:57:48 +0800 |
---|---|---|
committer | Marek Kotewicz <marek.kotewicz@gmail.com> | 2015-08-24 21:57:48 +0800 |
commit | 40e65295ffc4678d5d316eb7c5243858e4822f7b (patch) | |
tree | f27401c1dc0c786915b26182aae18a0e2a15c8f0 /libsolidity | |
parent | ffcf18406b605afe56f545fa4a41bc3bbb870c28 (diff) | |
parent | 3ea1a62fa98e57cc2b882c8593c7d58cd8dd4701 (diff) | |
download | dexon-solidity-40e65295ffc4678d5d316eb7c5243858e4822f7b.tar dexon-solidity-40e65295ffc4678d5d316eb7c5243858e4822f7b.tar.gz dexon-solidity-40e65295ffc4678d5d316eb7c5243858e4822f7b.tar.bz2 dexon-solidity-40e65295ffc4678d5d316eb7c5243858e4822f7b.tar.lz dexon-solidity-40e65295ffc4678d5d316eb7c5243858e4822f7b.tar.xz dexon-solidity-40e65295ffc4678d5d316eb7c5243858e4822f7b.tar.zst dexon-solidity-40e65295ffc4678d5d316eb7c5243858e4822f7b.zip |
Merge pull request #26 from arkpar/cmake
Refactored CMakeLists for new module system
Diffstat (limited to 'libsolidity')
-rw-r--r-- | libsolidity/CMakeLists.txt | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/libsolidity/CMakeLists.txt b/libsolidity/CMakeLists.txt index 159405a2..fa1fd233 100644 --- a/libsolidity/CMakeLists.txt +++ b/libsolidity/CMakeLists.txt @@ -10,15 +10,12 @@ set(EXECUTABLE solidity) file(GLOB HEADERS "*.h") include_directories(BEFORE ..) +include_directories(BEFORE ${JSONCPP_INCLUDE_DIRS}) add_library(${EXECUTABLE} ${SRC_LIST} ${HEADERS}) -add_dependencies(${EXECUTABLE} BuildInfo.h) + +eth_use(${EXECUTABLE} REQUIRED EthCore) target_link_libraries(${EXECUTABLE} ${JSONCPP_LIBRARIES}) -target_link_libraries(${EXECUTABLE} ${Boost_LIBRARIES}) -target_link_libraries(${EXECUTABLE} ${ETH_DEVCORE_LIBRARY}) -target_link_libraries(${EXECUTABLE} ${ETH_EVMCORE_LIBRARY}) -target_link_libraries(${EXECUTABLE} ${ETH_EVMASM_LIBRARY}) -target_link_libraries(${EXECUTABLE} ${ETH_DEVCRYPTO_LIBRARY}) install( TARGETS ${EXECUTABLE} RUNTIME DESTINATION bin ARCHIVE DESTINATION lib LIBRARY DESTINATION lib ) install( FILES ${HEADERS} DESTINATION include/${EXECUTABLE} ) |