2019-06-12 08:06:33 +02:00
|
|
|
# List startup folder.
|
|
|
|
$old_pwd=$pwd.Path
|
2020-04-27 11:05:40 +02:00
|
|
|
|
2019-06-12 08:06:33 +02:00
|
|
|
ls
|
|
|
|
echo "Qmake args are: '$env:qmake_args'."
|
|
|
|
|
2019-06-12 08:20:32 +02:00
|
|
|
# Setup env path with qmake.
|
|
|
|
$env:PATH = "$env:QTDIR\bin;" + $env:PATH
|
|
|
|
|
2019-06-12 08:06:33 +02:00
|
|
|
mkdir "rssguard-build"
|
|
|
|
cd "rssguard-build"
|
|
|
|
qmake.exe ..\build.pro "$env:qmake_args"
|
|
|
|
nmake.exe
|
2020-04-28 10:37:24 +02:00
|
|
|
|
|
|
|
cd "src\rssguard"
|
2020-04-28 10:07:07 +02:00
|
|
|
nmake.exe install
|
2019-06-12 08:06:33 +02:00
|
|
|
|
2020-04-28 10:37:24 +02:00
|
|
|
cd "app"
|
2020-04-28 10:21:49 +02:00
|
|
|
windeployqt.exe --verbose 1 --compiler-runtime --no-translations --release rssguard.exe librssguard.dll
|
2020-04-28 10:07:07 +02:00
|
|
|
cd ".."
|
2019-06-12 08:06:33 +02:00
|
|
|
nmake.exe windows_all
|
|
|
|
cd "$old_pwd"
|