pastebin - collaborative debugging tool
rovema.kpaste.net RSS

Difference between
modified post cf4281 by Anonymous on Wed 21st Jun 2023 16:07
original post 8b06f0c by Anonymous on Tue 20th Jun 2023 17:19
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
19+
#
1923
git_rde_dependicies_dir='/cygdrive/h/tmp/winnfstest/hummingbirdnfstest1/rde_windows_developmement/Dependencies/win/'
2024
#git_rde_dependicies_dir='/home/roland_mainz/work/rde/build_dep/Dependencies/win/'
2125
2226
boostpath="${git_rde_dependicies_dir}/boost/boost_${boost_Version}/"
2327
qtpath="${git_rde_dependicies_dir}/qt/qt_${qt_Version}/"
2428
2529
printf $"# building with boost version %s and qt version %s\n" "$boost_Version" "qt_Version"
2630
2731
#
2832
# Setting-up PATH
2933
#
3034
3135
export PATH="$qtpath/Tools/mingw810_64/bin/:$qtpath/5.15.2/mingw81_64/bin/:$qtpath/Tools/CMake_64/bin/:$boostpath/bin/:$boostpath/lib/:$PATH"
3236
3337
printf $"# PATH=%s\n# Windows PATH=%s\n" "$PATH" "$(cygpath -p -w "$PATH")"
3438
printf $"# Probing PATH for tools ...\n"
3539
which -a gcc
3640
which -a g++
3741
which -a cmake
3842
which -a make
3943
4044
#
4145
# Build
4246
#
4347
4448
printf "# Cleanup old build stuff ...\n"
45-
rm -Rf CMake* CPack* CTestTestfile.cmake app_translations.qrc cmake_install.cmake nowide tests RDS Makefile
49+
rm -Rf CMake* CPack* CTestTestfile.cmake app_translations.qrc cmake_install.cmake nowide tests RDS Makefile *.qm rde.rc rde_autogen tmp versioninfo.cpp
4650
4751
printf "# Running build configuration via cmake ...\n"
4852
# note: Windows/minGW uses '-G "MinGW Makefiles"', while compiling with Cygwin requires '-G "Unix Makefiles"'
4953
cmake -G "Unix Makefiles" -DBOOST_ROOT="$boostpath" -DBoost_LIB_PREFIX="lib" -DBoost_USE_STATIC_LIBS=TRUE -DBoost_ARCHITECTURE="-x64" -DBUILD_TESTS=ON ".."
5054
5155
printf $"# Target clean ..."
5256
cmake --build . -j 1 --target clean
5357
5458
printf $"# Building ..."
5559
cmake --build . -j 4
60+
#cmake --build . -j 4
5661
5762
echo $"# finished cmake."
5863
5964
printf $"%s: Done.\n" "$0"
6065
exit 0
6166
6267
# EOF.
6368

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