1
1
<?xml version =" 1.0" encoding =" utf-8" ?>
2
- <Project DefaultTargets =" Build" ToolsVersion =" 12 .0" xmlns =" http://schemas.microsoft.com/developer/msbuild/2003" >
2
+ <Project DefaultTargets =" Build" ToolsVersion =" 14 .0" xmlns =" http://schemas.microsoft.com/developer/msbuild/2003" >
3
3
<ItemGroup Label =" ProjectConfigurations" >
4
+ <ProjectConfiguration Include =" Debug|Win32" >
5
+ <Configuration >Debug</Configuration >
6
+ <Platform >Win32</Platform >
7
+ </ProjectConfiguration >
4
8
<ProjectConfiguration Include =" Release|Win32" >
5
9
<Configuration >Release</Configuration >
6
10
<Platform >Win32</Platform >
15
19
<Keyword >MakeFileProj</Keyword >
16
20
<ProjectName >version</ProjectName >
17
21
<RootNamespace >version</RootNamespace >
18
- <WindowsTargetPlatformVersion >10.0</WindowsTargetPlatformVersion >
19
22
</PropertyGroup >
20
23
<Import Project =" $(VCTargetsPath)\Microsoft.Cpp.Default.props" />
24
+ <PropertyGroup Condition =" '$(Configuration)|$(Platform)'=='Debug|Win32'" Label =" Configuration" >
25
+ <ConfigurationType >Makefile</ConfigurationType >
26
+ <UseDebugLibraries >true</UseDebugLibraries >
27
+ <PlatformToolset Condition =" '$(VisualStudioVersion)' == '12.0'" >v120</PlatformToolset >
28
+ <PlatformToolset Condition =" '$(VisualStudioVersion)' == '14.0'" >v140</PlatformToolset >
29
+ <PlatformToolset Condition =" '$(VisualStudioVersion)' == '15.0'" >v141</PlatformToolset >
30
+ <PlatformToolset Condition =" '$(VisualStudioVersion)' == '16.0'" >v142</PlatformToolset >
31
+ </PropertyGroup >
21
32
<PropertyGroup Condition =" '$(Configuration)|$(Platform)'=='Release|Win32'" Label =" Configuration" >
22
33
<ConfigurationType >Makefile</ConfigurationType >
23
34
<UseDebugLibraries >false</UseDebugLibraries >
31
42
</ImportGroup >
32
43
<ImportGroup Label =" Shared" >
33
44
</ImportGroup >
45
+ <ImportGroup Label =" PropertySheets" Condition =" '$(Configuration)|$(Platform)'=='Debug|Win32'" >
46
+ <Import Project =" $(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition =" exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label =" LocalAppDataPlatform" />
47
+ </ImportGroup >
34
48
<ImportGroup Label =" PropertySheets" Condition =" '$(Configuration)|$(Platform)'=='Release|Win32'" >
35
49
<Import Project =" $(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition =" exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label =" LocalAppDataPlatform" />
36
50
</ImportGroup >
37
51
<PropertyGroup Label =" UserMacros" />
52
+ <PropertyGroup Condition =" '$(Configuration)|$(Platform)'=='Debug|Win32'" >
53
+ <NMakeBuildCommandLine >ECHO Setup version from Git revision
54
+ IF EXIST "$(ProjectDir)..\..\version\appversion.bat" (CALL "$(ProjectDir)..\..\version\appversion.bat" "$(ProjectDir)..\..\version\" "$(SolutionDir)..\")</NMakeBuildCommandLine >
55
+ <NMakeOutput >
56
+ </NMakeOutput >
57
+ <NMakePreprocessorDefinitions >WIN32;_DEBUG;$(NMakePreprocessorDefinitions)</NMakePreprocessorDefinitions >
58
+ <NMakeCleanCommandLine >echo ON
59
+ del /s "$(ProjectDir)..\appversion.h" > nul 2>& 1</NMakeCleanCommandLine >
60
+ <NMakeReBuildCommandLine >ECHO Setup version from Git revision
61
+ IF EXIST "$(ProjectDir)..\..\version\appversion.bat" (CALL "$(ProjectDir)..\..\version\appversion.bat" "$(ProjectDir)..\..\version\" "$(SolutionDir)..\")</NMakeReBuildCommandLine >
62
+ </PropertyGroup >
38
63
<PropertyGroup Condition =" '$(Configuration)|$(Platform)'=='Release|Win32'" >
39
64
<NMakeBuildCommandLine >ECHO Setup version from Git revision
40
65
IF EXIST "$(ProjectDir)..\..\version\appversion.bat" (CALL "$(ProjectDir)..\..\version\appversion.bat" "$(ProjectDir)..\..\version\" "$(SolutionDir)..\")</NMakeBuildCommandLine >
41
66
<NMakeOutput >
42
67
</NMakeOutput >
43
68
<NMakePreprocessorDefinitions >WIN32;NDEBUG;$(NMakePreprocessorDefinitions)</NMakePreprocessorDefinitions >
44
69
<NMakeCleanCommandLine >echo ON
45
- del /s $(ProjectDir)..\appversion.h > nul 2>& 1</NMakeCleanCommandLine >
70
+ del /s " $(ProjectDir)..\appversion.h" > nul 2>& 1</NMakeCleanCommandLine >
46
71
<NMakeReBuildCommandLine >ECHO Setup version from Git revision
47
72
IF EXIST "$(ProjectDir)..\..\version\appversion.bat" (CALL "$(ProjectDir)..\..\version\appversion.bat" "$(ProjectDir)..\..\version\" "$(SolutionDir)..\")</NMakeReBuildCommandLine >
48
73
</PropertyGroup >
@@ -51,4 +76,4 @@ IF EXIST "$(ProjectDir)..\..\version\appversion.bat" (CALL "$(ProjectDir)..\..\v
51
76
<Import Project =" $(VCTargetsPath)\Microsoft.Cpp.targets" />
52
77
<ImportGroup Label =" ExtensionTargets" >
53
78
</ImportGroup >
54
- </Project >
79
+ </Project >
0 commit comments