pastebin - collaborative debugging tool
rovema.kpaste.net RSS


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

  1. #!/bin/bash
  2.  
  3. #
  4. # buildrdecygwin.bash - build ROVEMA RDE using Cygwin
  5. #
  6.  
  7. set -o errexit
  8. set -o nounset # debug
  9. set -o xtrace
  10.  
  11. boost_Version='1_71_0'
  12. qt_Version='5_15_2'
  13.  
  14. git_rde_dependicies_dir='/cygdrive/c/cygwin64/home/roland.mainz/work/rde/bins/Dependencies/win/'
  15.  
  16. boostpath="${git_rde_dependicies_dir}/boost/boost_${boost_Version}/"
  17. qtpath="${git_rde_dependicies_dir}/qt/qt_${qt_Version}/"
  18.  
  19. printf $"# building with boost version %s and qt version %s\n" "$boost_Version" "qt_Version"
  20.  
  21. export PATH="$qtpath/Tools/mingw810_64/bin:$qtpath/5.15.2/mingw81_64/bin:$qtpath/Tools/CMake_64/bin:$boostpath/bin:$boostpath/lib:$PATH"
  22.  
  23. printf $"# Probing PATH for tools...\n"
  24. which -a gcc
  25. which -a cmake
  26.  
  27. printf $"mkdir \$(Build.SourcesDirectory)\build | cd build\n"
  28.  
  29. printf "# Running build configuration via cmake\n"
  30. cmake -G "MinGW Makefiles" -DBOOST_ROOT="$boostpath" -DBoost_LIB_PREFIX="lib" -DBoost_USE_STATIC_LIBS=TRUE -DBoost_ARCHITECTURE="-x64" -DBUILD_TESTS=ON ".."
  31.  
  32. printf $"# Building..."
  33. cmake --build . -j 1
  34.  
  35. echo "finished cmake"
  36.  
  37.  
  38. # EOF.

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.

Syntax highlighting:

To highlight particular lines, prefix each line with {%HIGHLIGHT}




All content is user-submitted.
The administrators of this site (kpaste.net) are not responsible for their content.
Abuse reports should be emailed to us at