Set macros for ResourceCompile
This commit is contained in:
parent
d64475051c
commit
d073fb8b1d
|
@ -1,4 +1,5 @@
|
|||
*.aps
|
||||
*.binlog
|
||||
*.ncb
|
||||
*.opensdf
|
||||
*.sdf
|
||||
|
|
|
@ -25,6 +25,15 @@
|
|||
VERSION_BUILD_YEAR=$([System.DateTime]::Now.ToString(`yyyy`))
|
||||
</PreprocessorDefinitions>
|
||||
</ClCompile>
|
||||
<ResourceCompile>
|
||||
<PreprocessorDefinitions>
|
||||
%(PreprocessorDefinitions);
|
||||
GIT_REVISION=$(GitRevision);
|
||||
GIT_REVISION_SHORT=$(GitRevisionShort);
|
||||
VERSION_BUILD=$(GitRevisionCount);
|
||||
VERSION_BUILD_YEAR=$([System.DateTime]::Now.ToString(`yyyy`))
|
||||
</PreprocessorDefinitions>
|
||||
</ResourceCompile>
|
||||
</ItemGroup>
|
||||
</Target>
|
||||
|
||||
|
|
Loading…
Reference in New Issue