diff options
Diffstat (limited to '')
-rw-r--r-- | src/Directory.vcxproj.targets | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/src/Directory.vcxproj.targets b/src/Directory.vcxproj.targets index 16e9f80c..15ad909d 100644 --- a/src/Directory.vcxproj.targets +++ b/src/Directory.vcxproj.targets | |||
@@ -3,46 +3,6 @@ | |||
3 | 3 | ||
4 | <Project> | 4 | <Project> |
5 | <PropertyGroup> | 5 | <PropertyGroup> |
6 | <PrepareForBuildDependsOn> | ||
7 | $(PrepareForBuildDependsOn); | ||
8 | __SetVersionResource | ||
9 | </PrepareForBuildDependsOn> | ||
10 | </PropertyGroup> | ||
11 | |||
12 | <Target Name="__SetVersionResource" DependsOnTargets="__SetPropertiesFromGit" | ||
13 | Condition=" '$(ConfigurationType)'=='Application' or '$(ConfigurationType)'=='DynamicLibrary' "> | ||
14 | <PropertyGroup> | ||
15 | <_ResourceFileType Condition=" '$(ConfigurationType)'=='Application' ">VFT_APP</_ResourceFileType> | ||
16 | <_ResourceFileType Condition=" '$(ConfigurationType)'=='DynamicLibrary' ">VFT_DLL</_ResourceFileType> | ||
17 | <Description Condition=" '$(Description)'=='' ">$(TargetName)</Description> | ||
18 | <Title Condition=" '$(Title)'=='' ">$(Description)</Title> | ||
19 | </PropertyGroup> | ||
20 | |||
21 | <ItemGroup> | ||
22 | <ResourceCompile Include="$(MSBuildThisFileDirectory)ver.rc"> | ||
23 | <PreprocessorDefinitions> | ||
24 | %(PreprocessorDefinitions); | ||
25 | GITVER_FILEVER=$(FileVersion.Replace('.', ',')); | ||
26 | GITVER_PRODUCTVER=$(AssemblyVersion.Replace('.', ',')); | ||
27 | GITVER_FILE_VERSION=$(FileVersion); | ||
28 | GITVER_PRODUCT_VERSION=$(AssemblyVersion); | ||
29 | GITVER_FILE_TYPE=$(_ResourceFileType); | ||
30 | GITVER_CODEPAGE=0; | ||
31 | GITVER_LCID=$([System.Convert]::ToInt32('%(Culture)', 16)); | ||
32 | GITVER_VERSION_BLOCK=$([System.Convert]::ToString($([MSBuild]::Multiply($([System.Convert]::ToUint64('%(Culture)', 16)), 65536)), 16).PadLeft(8, '0')); | ||
33 | GITVER_COMPANY=$(Company); | ||
34 | GITVER_COPYRIGHT=$(Copyright); | ||
35 | GITVER_TITLE=$(Title); | ||
36 | GITVER_PRODUCT=$(Product); | ||
37 | GITVER_INFORMATIONAL_VERSION=$(InformationalVersion); | ||
38 | GITVER_INTERNAL_NAME=$(TargetName); | ||
39 | GITVER_FILE_NAME=$(TargetFileName); | ||
40 | </PreprocessorDefinitions> | ||
41 | </ResourceCompile> | ||
42 | </ItemGroup> | ||
43 | </Target> | ||
44 | |||
45 | <PropertyGroup> | ||
46 | <AfterLinkTargets> | 6 | <AfterLinkTargets> |
47 | $(AfterLinkTargets); | 7 | $(AfterLinkTargets); |
48 | PublicizeNativePdb; | 8 | PublicizeNativePdb; |