mirror of
https://github.com/YACReader/yacreader
synced 2025-05-28 03:10:27 -04:00
Pass the build number as a define to qmake
This commit is contained in:
parent
debe3d6b11
commit
816334dfce
@ -21,7 +21,7 @@ jobs:
|
||||
libqt5opengl5-dev libglu1-mesa-dev libunarr-dev qtdeclarative5-dev
|
||||
displayName: 'Install dependencies'
|
||||
- script: |
|
||||
qmake CONFIG+="unarr"
|
||||
qmake CONFIG+="unarr" DEFINES+="BUILD_NUMBER $(buildNumber)"
|
||||
make
|
||||
displayName: 'Build'
|
||||
- job: MacOS
|
||||
@ -73,7 +73,7 @@ jobs:
|
||||
- script: |
|
||||
call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Auxiliary\Build\vcvars64.bat"
|
||||
set PATH=%PATH%;C:\Qt\Qt5.12.4\5.12.4\msvc2017_64\bin
|
||||
qmake CONFIG+="7zip"
|
||||
qmake CONFIG+="7zip" DEFINES+="BUILD_NUMBER $(buildNumber)"
|
||||
nmake
|
||||
displayName: 'Build'
|
||||
- script: |
|
||||
|
Loading…
Reference in New Issue
Block a user