|
4 | 4 |
|
5 | 5 | <PropertyGroup Label="Globals"> |
6 | 6 | <VCProjectVersion>16.0</VCProjectVersion> |
7 | | - <VcpkgTriplet Condition="'$(Platform)'=='Win32'">x86-windows-static</VcpkgTriplet> |
8 | | - <VcpkgTriplet Condition="'$(Platform)'=='x64'">x64-windows-static</VcpkgTriplet> |
9 | 7 | <UseNativeEnvironment>true</UseNativeEnvironment> |
10 | 8 | </PropertyGroup> |
11 | 9 |
|
|
16 | 14 | <VcpkgUseStatic>true</VcpkgUseStatic> |
17 | 15 | <VcpkgAutoLink>true</VcpkgAutoLink> |
18 | 16 | <VcpkgConfiguration>$(Configuration)</VcpkgConfiguration> |
| 17 | + <VcpkgTriplet Condition="'$(Platform)'=='Win32'">x86-windows-static</VcpkgTriplet> |
| 18 | + <VcpkgTriplet Condition="'$(Platform)'=='x64'">x64-windows-static</VcpkgTriplet> |
19 | 19 | </PropertyGroup> |
20 | 20 |
|
21 | 21 | <PropertyGroup Condition="'$(WindowsTargetPlatformVersion)'=='' and !Exists('$(WindowsSdkDir)\DesignTime\CommonConfiguration\Neutral\Windows.props')"> |
|
45 | 45 | </ProjectConfiguration> |
46 | 46 | </ItemGroup> |
47 | 47 |
|
48 | | - <PropertyGroup Condition="'$(Configuration)'=='Debug'" Label="Configuration"> |
49 | | - <LinkIncremental>true</LinkIncremental> |
50 | | - <WholeProgramOptimization>false</WholeProgramOptimization> |
51 | | - <UseDebugLibraries>true</UseDebugLibraries> |
| 48 | + <PropertyGroup Condition="'$(Configuration)'=='Release'" Label="Configuration"> |
| 49 | + <LinkIncremental>false</LinkIncremental> |
| 50 | + <UseDebugLibraries>false</UseDebugLibraries> |
52 | 51 | <PlatformToolset>v142</PlatformToolset> |
53 | 52 | <CharacterSet>Unicode</CharacterSet> |
| 53 | + <GenerateManifest>No</GenerateManifest> |
54 | 54 | <OutDir>$(SolutionDir)$(Platform)\$(Configuration)\$(ProjectName)\</OutDir> |
55 | 55 | <IntDir>$(Platform)\$(Configuration)\$(ProjectName)\</IntDir> |
56 | 56 | </PropertyGroup> |
57 | | - <PropertyGroup Condition="'$(Configuration)'=='Release'" Label="Configuration"> |
58 | | - <LinkIncremental>false</LinkIncremental> |
59 | | - <WholeProgramOptimization>true</WholeProgramOptimization> |
60 | | - <UseDebugLibraries>false</UseDebugLibraries> |
| 57 | + |
| 58 | + <PropertyGroup Condition="'$(Configuration)'=='Debug'" Label="Configuration"> |
| 59 | + <LinkIncremental>true</LinkIncremental> |
| 60 | + <UseDebugLibraries>true</UseDebugLibraries> |
61 | 61 | <PlatformToolset>v142</PlatformToolset> |
62 | 62 | <CharacterSet>Unicode</CharacterSet> |
63 | 63 | <OutDir>$(SolutionDir)$(Platform)\$(Configuration)\$(ProjectName)\</OutDir> |
64 | 64 | <IntDir>$(Platform)\$(Configuration)\$(ProjectName)\</IntDir> |
65 | 65 | </PropertyGroup> |
66 | 66 |
|
67 | | -<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> |
68 | | - <ClCompile> |
69 | | - <Optimization>MaxSpeed</Optimization> |
70 | | - <FunctionLevelLinking>true</FunctionLevelLinking> |
71 | | - <IntrinsicFunctions>true</IntrinsicFunctions> |
72 | | - <SDLCheck>true</SDLCheck> |
73 | | - <RuntimeLibrary>MultiThreaded</RuntimeLibrary> |
74 | | - </ClCompile> |
75 | | - <Link> |
76 | | - <EnableCOMDATFolding>true</EnableCOMDATFolding> |
77 | | - <OptimizeReferences>true</OptimizeReferences> |
78 | | - </Link> |
79 | | - </ItemDefinitionGroup> |
80 | | - |
81 | | - <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> |
| 67 | +<ItemDefinitionGroup Condition="'$(Configuration)'=='Release'"> |
82 | 68 | <ClCompile> |
83 | 69 | <Optimization>Disabled</Optimization> |
84 | | - <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
85 | | - <SDLCheck>true</SDLCheck> |
86 | | - <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary> |
87 | | - <AdditionalOptions>/bigobj %(AdditionalOptions)</AdditionalOptions> |
88 | | - </ClCompile> |
89 | | - </ItemDefinitionGroup> |
90 | | - |
91 | | - <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> |
92 | | - <ClCompile> |
93 | | - <Optimization>MaxSpeed</Optimization> |
| 70 | + <WholeProgramOptimization>false</WholeProgramOptimization> |
94 | 71 | <FunctionLevelLinking>true</FunctionLevelLinking> |
95 | 72 | <IntrinsicFunctions>true</IntrinsicFunctions> |
96 | 73 | <SDLCheck>true</SDLCheck> |
97 | 74 | <RuntimeLibrary>MultiThreaded</RuntimeLibrary> |
| 75 | + <DebugInformationFormat>None</DebugInformationFormat> |
98 | 76 | </ClCompile> |
99 | 77 | <Link> |
100 | | - <EnableCOMDATFolding>true</EnableCOMDATFolding> |
101 | | - <OptimizeReferences>true</OptimizeReferences> |
| 78 | + <EnableCOMDATFolding>false</EnableCOMDATFolding> |
| 79 | + <OptimizeReferences>false</OptimizeReferences> |
| 80 | + <AdditionalOptions>/LTCG:OFF</AdditionalOptions> |
102 | 81 | </Link> |
103 | 82 | </ItemDefinitionGroup> |
104 | 83 |
|
105 | | - <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> |
| 84 | + <ItemDefinitionGroup Condition="'$(Configuration)'=='Debug'"> |
106 | 85 | <ClCompile> |
107 | 86 | <Optimization>Disabled</Optimization> |
| 87 | + <WholeProgramOptimization>false</WholeProgramOptimization> |
108 | 88 | <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
109 | 89 | <SDLCheck>true</SDLCheck> |
110 | 90 | <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary> |
|
124 | 104 | </ClCompile> |
125 | 105 | <Link> |
126 | 106 | <SubSystem>Console</SubSystem> |
127 | | - <GenerateDebugInformation>true</GenerateDebugInformation> |
128 | 107 | <AdditionalDependencies>Iphlpapi.lib;ws2_32.lib;Shlwapi.lib;kernel32.lib;user32.lib;gdi32.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies)</AdditionalDependencies> |
129 | 108 | </Link> |
130 | 109 | <Lib> |
|
0 commit comments