Skip to content

Commit

Permalink
macOS build script improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
sowle committed Dec 15, 2018
1 parent b801efd commit 98c2915
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion utils/build_script_mac_osx.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ curr_path=${BASH_SOURCE%/*}
: "${BOOST_ROOT:?BOOST_ROOT should be set to the root of Boost, ex.: /home/user/boost_1_56_0}"
: "${BOOST_LIBS_PATH:?BOOST_LIBS_PATH should be set to libs folder of Boost, ex.: /home/user/boost_1_56_0/stage/lib}"
: "${QT_PREFIX_PATH:?QT_PREFIX_PATH should be set to Qt libs folder, ex.: /home/user/Qt5.5.1/5.5/}"
: "${CMAKE_OSX_SYSROOT:?CMAKE_OSX_SYSROOT should be set to macOS SDK path, e.g.: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk}"

echo "entering directory $curr_path/.."
cd $curr_path/..
Expand All @@ -13,7 +14,7 @@ rm -rf build
mkdir -p build/release
cd build/release

cmake -D BUILD_GUI=TRUE -D CMAKE_PREFIX_PATH="$QT_PREFIX_PATH/clang_64" -D CMAKE_BUILD_TYPE=Release ../..
cmake -D CMAKE_OSX_SYSROOT=$CMAKE_OSX_SYSROOT -D BUILD_GUI=TRUE -D CMAKE_PREFIX_PATH="$QT_PREFIX_PATH/clang_64" -D CMAKE_BUILD_TYPE=Release ../..

make -j Boolberry
make -j connectivity_tool simplewallet daemon
Expand Down

0 comments on commit 98c2915

Please sign in to comment.