mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Build jsoncpp from source using jsoncpp.cmake script
This commit is contained in:
committed by
Alex Beregszaszi
parent
5875890576
commit
4bde0a2d36
@@ -52,20 +52,6 @@ rm -rf .git
|
||||
)
|
||||
echo -en 'travis_fold:end:compiling_cryptopp\\r'
|
||||
|
||||
# Json-CPP
|
||||
echo -en 'travis_fold:start:compiling_jsoncpp\\r'
|
||||
cd "$WORKSPACE/jsoncpp"
|
||||
# if .git exists, it is a fresh checkout, otherwise it comes from the cache
|
||||
# and is already compiled
|
||||
test -e .git && (
|
||||
emcmake cmake -DJSONCPP_LIB_BUILD_STATIC=ON -DJSONCPP_LIB_BUILD_SHARED=OFF \
|
||||
-DJSONCPP_WITH_TESTS=OFF -DJSONCPP_WITH_POST_BUILD_UNITTEST=OFF \
|
||||
-G "Unix Makefiles" .
|
||||
emmake make -j 4
|
||||
rm -rf .git
|
||||
)
|
||||
echo -en 'travis_fold:end:compiling_jsoncpp\\r'
|
||||
|
||||
# Boost
|
||||
echo -en 'travis_fold:start:compiling_boost\\r'
|
||||
cd "$WORKSPACE"/boost_1_57_0
|
||||
@@ -112,8 +98,6 @@ emcmake cmake \
|
||||
-DBoost_THREAD_LIBRARIES="$WORKSPACE"/boost_1_57_0/libboost_thread.a \
|
||||
-DBoost_UNIT_TEST_FRAMEWORK_LIBRARY="$WORKSPACE"/boost_1_57_0/libboost_unit_test_framework.a \
|
||||
-DBoost_UNIT_TEST_FRAMEWORK_LIBRARIES="$WORKSPACE"/boost_1_57_0/libboost_unit_test_framework.a \
|
||||
-DJSONCPP_LIBRARY="$WORKSPACE"/jsoncpp/src/lib_json/libjsoncpp.a \
|
||||
-DJSONCPP_INCLUDE_DIR="$WORKSPACE"/jsoncpp/include/ \
|
||||
-DCRYPTOPP_LIBRARY="$WORKSPACE"/cryptopp/src/libcryptlib.a \
|
||||
-DCRYPTOPP_INCLUDE_DIR="$WORKSPACE"/cryptopp/src/ \
|
||||
-DDev_DEVCORE_LIBRARY="$WORKSPACE"/solidity/build/libdevcore/libsoldevcore.a \
|
||||
|
||||
Reference in New Issue
Block a user