pastebin - collaborative debugging tool
rovema.kpaste.net RSS

Difference between
modified post d09cb by Anonymous on Fri 23rd Jun 2023 15:34
original post cf4281 by Anonymous on Wed 21st Jun 2023 16:07
Download diff
Show old version | new version | both versions

    
11
#!/bin/bash
22
33
#
44
# buildrdecygwin.bash - build ROVEMA RDE using Cygwin
55
#
66
77
set -o errexit
88
set -o nounset # debug
99
set -o xtrace
1010
1111
printf $"%s: Start ...\n" "$0"
1212
1313
#
1414
# Configuration paths
1515
#
1616
boost_Version='1_71_0'
1717
qt_Version='5_15_2'
1818
1919
#
2020
# Prebuild RDE build tools (compiler etc)
2121
# (from $ git clone https://RovemaDevelopment@dev.azure.com/RovemaDevelopment/RDE-Development/_git/Dependencies #)
2222
#
2323
git_rde_dependicies_dir='/cygdrive/h/tmp/winnfstest/hummingbirdnfstest1/rde_windows_developmement/Dependencies/win/'
2424
#git_rde_dependicies_dir='/home/roland_mainz/work/rde/build_dep/Dependencies/win/'
2525
2626
boostpath="${git_rde_dependicies_dir}/boost/boost_${boost_Version}/"
2727
qtpath="${git_rde_dependicies_dir}/qt/qt_${qt_Version}/"
2828
2929
printf $"# building with boost version %s and qt version %s\n" "$boost_Version" "qt_Version"
3030
3131
#
3232
# Setting-up PATH
3333
#
3434
3535
export PATH="$qtpath/Tools/mingw810_64/bin/:$qtpath/5.15.2/mingw81_64/bin/:$qtpath/Tools/CMake_64/bin/:$boostpath/bin/:$boostpath/lib/:$PATH"
3636
3737
printf $"# PATH=%s\n# Windows PATH=%s\n" "$PATH" "$(cygpath -p -w "$PATH")"
3838
printf $"# Probing PATH for tools ...\n"
3939
which -a gcc
4040
which -a g++
4141
which -a cmake
4242
which -a make
4343
4444
#
4545
# Build
4646
#
4747
48-
printf "# Cleanup old build stuff ...\n"
48+
printf $"# Cleanup old build stuff ...\n"
4949
rm -Rf CMake* CPack* CTestTestfile.cmake app_translations.qrc cmake_install.cmake nowide tests RDS Makefile *.qm rde.rc rde_autogen tmp versioninfo.cpp
5050
51-
printf "# Running build configuration via cmake ...\n"
51+
printf $"# Running build configuration via cmake ...\n"
5252
# note: Windows/minGW uses '-G "MinGW Makefiles"', while compiling with Cygwin requires '-G "Unix Makefiles"'
5353
cmake -G "Unix Makefiles" -DBOOST_ROOT="$boostpath" -DBoost_LIB_PREFIX="lib" -DBoost_USE_STATIC_LIBS=TRUE -DBoost_ARCHITECTURE="-x64" -DBUILD_TESTS=ON ".."
5454
5555
printf $"# Target clean ..."
5656
cmake --build . -j 1 --target clean
5757
5858
printf $"# Building ..."
5959
cmake --build . -j 4
6060
#cmake --build . -j 4
6161
6262
echo $"# finished cmake."
6363
6464
printf $"%s: Done.\n" "$0"
6565
exit 0
6666
6767
# EOF.
6868

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