- #!/bin/bash
- #
- # buildrdecygwin.bash - build ROVEMA RDE using Cygwin
- #
- set -o errexit
- set -o nounset # debug
- set -o xtrace
- boost_Version='1_71_0'
- qt_Version='5_15_2'
- git_rde_dependicies_dir='/cygdrive/c/cygwin64/home/roland.mainz/work/rde/bins/Dependencies/win/'
- boostpath="${git_rde_dependicies_dir}/boost/boost_${boost_Version}/"
- qtpath="${git_rde_dependicies_dir}/qt/qt_${qt_Version}/"
- printf $"# building with boost version %s and qt version %s\n" "$boost_Version" "qt_Version"
- export PATH="$qtpath/Tools/mingw810_64/bin:$qtpath/5.15.2/mingw81_64/bin:$qtpath/Tools/CMake_64/bin:$boostpath/bin:$boostpath/lib:$PATH"
- printf $"# Probing PATH for tools...\n"
- which -a gcc
- which -a cmake
- printf $"mkdir \$(Build.SourcesDirectory)\build | cd build\n"
- printf "# Running build configuration via cmake\n"
- cmake -G "MinGW Makefiles" -DBOOST_ROOT="$boostpath" -DBoost_LIB_PREFIX="lib" -DBoost_USE_STATIC_LIBS=TRUE -DBoost_ARCHITECTURE="-x64" -DBUILD_TESTS=ON ".."
- printf $"# Building..."
- cmake --build . -j 1
- echo "finished cmake"
- # EOF.
RDE: buildrdecygwin.bash
Posted by Anonymous on Tue 30th May 2023 11:26
raw | new post
view followups (newest first): RDE: buildrdecygwin.bash by Anonymous
Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.