1
0
mirror of synced 2025-01-21 01:58:52 +01:00

Merge pull request #26 from nzgamer41/master

Embed build number into the file
This commit is contained in:
Reaver 2019-04-21 06:23:58 +03:00 committed by GitHub
commit 3a0a066067
5 changed files with 24 additions and 2 deletions

View File

@ -6,7 +6,8 @@ project "OpenParrot"
files files
{ {
"src/**.cpp", "src/**.h", "src/**.cpp", "src/**.h",
"deps/cpp/**.cpp", "deps/inc/**.h" "deps/cpp/**.cpp", "deps/inc/**.h",
"src/OpenParrot.aps", "src/OpenParrot.rc"
} }
includedirs { "src", "deps/inc/" } includedirs { "src", "deps/inc/" }

Binary file not shown.

Binary file not shown.

14
OpenParrot/src/resource.h Normal file
View File

@ -0,0 +1,14 @@
//{{NO_DEPENDENCIES}}
// Microsoft Visual C++ generated include file.
// Used by OpenParrot.rc
// Next default values for new objects
//
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_NEXT_RESOURCE_VALUE 101
#define _APS_NEXT_COMMAND_VALUE 40001
#define _APS_NEXT_CONTROL_VALUE 1001
#define _APS_NEXT_SYMED_VALUE 101
#endif
#endif

View File

@ -14,6 +14,13 @@ assembly_info:
assembly_informational_version: '{version}' assembly_informational_version: '{version}'
before_build: before_build:
- cmd: premake5.exe vs2017 - cmd: premake5.exe vs2017
- ps: >-
Get-Content .\OpenParrot\src\OpenParrot.rc | ForEach-Object { $_ -replace "1.0.0.0", $env:appveyor_build_version } | Set-Content .\OpenParrot\src\OpenParrot2.rc
del .\OpenParrot\src\OpenParrot.rc
mv .\OpenParrot\src\OpenParrot2.rc .\OpenParrot\src\OpenParrot.rc
build: build:
project: OpenParrot.sln project: OpenParrot.sln
verbosity: minimal verbosity: minimal