mirror of
https://github.com/monero-project/monero-gui.git
synced 2025-01-26 04:25:53 +00:00
win32/64: build settings
This commit is contained in:
parent
3039a008dc
commit
533715ad6f
2 changed files with 5 additions and 4 deletions
|
@ -61,12 +61,13 @@ elif [ "$platform" == "linux32" ]; then
|
||||||
elif [ "$platform" == "mingw64" ]; then
|
elif [ "$platform" == "mingw64" ]; then
|
||||||
# Do something under Windows NT platform
|
# Do something under Windows NT platform
|
||||||
echo "Configuring build for MINGW64.."
|
echo "Configuring build for MINGW64.."
|
||||||
BOOST_ROOT=/msys2/mingw64/boost
|
BOOST_ROOT=/mingw64/boost
|
||||||
cmake -D CMAKE_BUILD_TYPE=$BUILD_TYPE -D STATIC=ON BOOST_ROOT="$BOOST_ROOT" -D ARCH="x86-64" -D BUILD_GUI_DEPS=ON -D INSTALL_VENDORED_LIBUNBOUND=ON -D CMAKE_INSTALL_PREFIX="$MONERO_DIR" -G "MSYS Makefiles" ../..
|
cmake -D CMAKE_BUILD_TYPE=$BUILD_TYPE -D STATIC=ON -D BOOST_ROOT="$BOOST_ROOT" -D ARCH="x86-64" -D BUILD_GUI_DEPS=ON -D INSTALL_VENDORED_LIBUNBOUND=ON -D CMAKE_INSTALL_PREFIX="$MONERO_DIR" -G "MSYS Makefiles" ../..
|
||||||
elif [ "$platform" == "mingw32" ]; then
|
elif [ "$platform" == "mingw32" ]; then
|
||||||
# Do something under Windows NT platform
|
# Do something under Windows NT platform
|
||||||
echo "Configuring build for MINGW32.."
|
echo "Configuring build for MINGW32.."
|
||||||
cmake -D CMAKE_BUILD_TYPE=$BUILD_TYPE -D STATIC=ON -D ARCH="i686" -D BUILD_64=OFF -D BUILD_GUI_DEPS=ON -D INSTALL_VENDORED_LIBUNBOUND=ON -D CMAKE_INSTALL_PREFIX="$MONERO_DIR" -G "MSYS Makefiles" ../..
|
BOOST_ROOT=/mingw32/boost
|
||||||
|
cmake -D CMAKE_BUILD_TYPE=$BUILD_TYPE -D STATIC=ON -D Boost_DEBUG=ON -D BOOST_ROOT="$BOOST_ROOT" -D ARCH="i686" -D BUILD_64=OFF -D BUILD_GUI_DEPS=ON -D INSTALL_VENDORED_LIBUNBOUND=ON -D CMAKE_INSTALL_PREFIX="$MONERO_DIR" -G "MSYS Makefiles" ../..
|
||||||
make_exec="mingw32-make"
|
make_exec="mingw32-make"
|
||||||
else
|
else
|
||||||
echo "Unsupported platform: $platform"
|
echo "Unsupported platform: $platform"
|
||||||
|
|
|
@ -91,7 +91,7 @@ win32 {
|
||||||
MSYS_PATH=c:/msys32/mingw32
|
MSYS_PATH=c:/msys32/mingw32
|
||||||
|
|
||||||
# boost root path
|
# boost root path
|
||||||
BOOST_PATH=/c/Qt/Qt5.7.0/Tools/mingw530_32/boost
|
BOOST_PATH=c:/msys32/mingw32/boost
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue