|
37 | 37 | <ConfigurationType>DynamicLibrary</ConfigurationType> |
38 | 38 | <CharacterSet>Unicode</CharacterSet> |
39 | 39 | <PlatformToolset>v143</PlatformToolset> |
| 40 | + <UseDebugLibraries>true</UseDebugLibraries> |
40 | 41 | </PropertyGroup> |
41 | 42 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration"> |
42 | 43 | <ConfigurationType>DynamicLibrary</ConfigurationType> |
43 | 44 | <CharacterSet>Unicode</CharacterSet> |
44 | 45 | <PlatformToolset>v143</PlatformToolset> |
| 46 | + <WholeProgramOptimization>true</WholeProgramOptimization> |
45 | 47 | </PropertyGroup> |
46 | 48 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration"> |
47 | 49 | <ConfigurationType>DynamicLibrary</ConfigurationType> |
48 | 50 | <CharacterSet>Unicode</CharacterSet> |
49 | 51 | <PlatformToolset>v143</PlatformToolset> |
| 52 | + <WholeProgramOptimization>true</WholeProgramOptimization> |
50 | 53 | </PropertyGroup> |
51 | 54 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM64'" Label="Configuration"> |
52 | 55 | <ConfigurationType>DynamicLibrary</ConfigurationType> |
53 | 56 | <CharacterSet>Unicode</CharacterSet> |
54 | 57 | <PlatformToolset>v143</PlatformToolset> |
| 58 | + <WholeProgramOptimization>true</WholeProgramOptimization> |
55 | 59 | </PropertyGroup> |
56 | 60 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration"> |
57 | 61 | <ConfigurationType>DynamicLibrary</ConfigurationType> |
58 | 62 | <CharacterSet>Unicode</CharacterSet> |
59 | 63 | <PlatformToolset>v143</PlatformToolset> |
| 64 | + <UseDebugLibraries>true</UseDebugLibraries> |
60 | 65 | </PropertyGroup> |
61 | 66 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'" Label="Configuration"> |
62 | 67 | <ConfigurationType>DynamicLibrary</ConfigurationType> |
63 | 68 | <CharacterSet>Unicode</CharacterSet> |
64 | 69 | <PlatformToolset>v143</PlatformToolset> |
| 70 | + <UseDebugLibraries>true</UseDebugLibraries> |
65 | 71 | </PropertyGroup> |
66 | 72 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> |
67 | 73 | <ImportGroup Label="ExtensionSettings"> |
|
107 | 113 | <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental> |
108 | 114 | </PropertyGroup> |
109 | 115 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> |
110 | | - <IncludePath>$(SolutionDir)UtilityLib;$(SolutionDir)external\npp;$(SolutionDir)external\rapidjson\include;$(IncludePath)</IncludePath> |
| 116 | + <IncludePath>$(SolutionDir)UtilityLib;$(IncludePath)</IncludePath> |
| 117 | + <ExternalIncludePath>$(SolutionDir)external\npp;$(SolutionDir)external\rapidjson\include;$(ExternalIncludePath)</ExternalIncludePath> |
111 | 118 | </PropertyGroup> |
112 | 119 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> |
113 | | - <IncludePath>$(SolutionDir)UtilityLib;$(SolutionDir)external\npp;$(SolutionDir)external\rapidjson\include;$(IncludePath)</IncludePath> |
| 120 | + <IncludePath>$(SolutionDir)UtilityLib;$(IncludePath)</IncludePath> |
| 121 | + <ExternalIncludePath>$(SolutionDir)external\npp;$(SolutionDir)external\rapidjson\include;$(ExternalIncludePath)</ExternalIncludePath> |
114 | 122 | </PropertyGroup> |
115 | 123 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> |
116 | | - <IncludePath>$(SolutionDir)UtilityLib;$(SolutionDir)external\npp;$(SolutionDir)external\rapidjson\include;$(IncludePath)</IncludePath> |
| 124 | + <IncludePath>$(SolutionDir)UtilityLib;$(IncludePath)</IncludePath> |
| 125 | + <ExternalIncludePath>$(SolutionDir)external\npp;$(SolutionDir)external\rapidjson\include;$(ExternalIncludePath)</ExternalIncludePath> |
117 | 126 | </PropertyGroup> |
118 | 127 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'"> |
119 | | - <IncludePath>$(SolutionDir)UtilityLib;$(SolutionDir)external\npp;$(SolutionDir)external\rapidjson\include;$(IncludePath)</IncludePath> |
| 128 | + <IncludePath>$(SolutionDir)UtilityLib;$(IncludePath)</IncludePath> |
| 129 | + <ExternalIncludePath>$(SolutionDir)external\npp;$(SolutionDir)external\rapidjson\include;$(ExternalIncludePath)</ExternalIncludePath> |
120 | 130 | </PropertyGroup> |
121 | 131 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> |
122 | | - <IncludePath>$(SolutionDir)UtilityLib;$(SolutionDir)external\npp;$(SolutionDir)external\rapidjson\include;$(IncludePath)</IncludePath> |
| 132 | + <IncludePath>$(SolutionDir)UtilityLib;$(IncludePath)</IncludePath> |
| 133 | + <ExternalIncludePath>$(SolutionDir)external\npp;$(SolutionDir)external\rapidjson\include;$(ExternalIncludePath)</ExternalIncludePath> |
123 | 134 | </PropertyGroup> |
124 | 135 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM64'"> |
125 | | - <IncludePath>$(SolutionDir)UtilityLib;$(SolutionDir)external\npp;$(SolutionDir)external\rapidjson\include;$(IncludePath)</IncludePath> |
| 136 | + <IncludePath>$(SolutionDir)UtilityLib;$(IncludePath)</IncludePath> |
| 137 | + <ExternalIncludePath>$(SolutionDir)external\npp;$(SolutionDir)external\rapidjson\include;$(ExternalIncludePath)</ExternalIncludePath> |
126 | 138 | </PropertyGroup> |
127 | 139 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> |
128 | 140 | <ClCompile> |
129 | 141 | <Optimization>Disabled</Optimization> |
130 | | - <PreprocessorDefinitions>WIN32;_CRT_SECURE_NO_WARNINGS;_DEBUG;_WINDOWS;_USRDLL;NPPJSONVIEWER_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
| 142 | + <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;NPPJSONVIEWER_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
131 | 143 | <MinimalRebuild>false</MinimalRebuild> |
132 | 144 | <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks> |
133 | 145 | <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary> |
|
144 | 156 | <GenerateDebugInformation>true</GenerateDebugInformation> |
145 | 157 | <SubSystem>Windows</SubSystem> |
146 | 158 | <TargetMachine>MachineX64</TargetMachine> |
| 159 | + <TreatLinkerWarningAsErrors>true</TreatLinkerWarningAsErrors> |
147 | 160 | </Link> |
148 | 161 | </ItemDefinitionGroup> |
149 | 162 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'"> |
150 | 163 | <ClCompile> |
151 | 164 | <Optimization>Disabled</Optimization> |
152 | | - <PreprocessorDefinitions>WIN32;_CRT_SECURE_NO_WARNINGS;_DEBUG;_WINDOWS;_USRDLL;NPPJSONVIEWER_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
| 165 | + <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;NPPJSONVIEWER_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
153 | 166 | <MinimalRebuild>false</MinimalRebuild> |
154 | 167 | <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks> |
155 | 168 | <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary> |
|
165 | 178 | <AdditionalDependencies>shlwapi.lib;comctl32.lib;Version.lib;%(AdditionalDependencies)</AdditionalDependencies> |
166 | 179 | <GenerateDebugInformation>true</GenerateDebugInformation> |
167 | 180 | <SubSystem>Windows</SubSystem> |
| 181 | + <TreatLinkerWarningAsErrors>true</TreatLinkerWarningAsErrors> |
168 | 182 | </Link> |
169 | 183 | </ItemDefinitionGroup> |
170 | 184 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> |
171 | 185 | <ClCompile> |
172 | | - <PreprocessorDefinitions>WIN32;_CRT_SECURE_NO_WARNINGS;NDEBUG;_WINDOWS;_USRDLL;NPPJSONVIEWER_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
| 186 | + <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;NPPJSONVIEWER_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
173 | 187 | <RuntimeLibrary>MultiThreaded</RuntimeLibrary> |
174 | 188 | <WarningLevel>Level4</WarningLevel> |
175 | 189 | <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> |
|
186 | 200 | <OptimizeReferences>true</OptimizeReferences> |
187 | 201 | <EnableCOMDATFolding>true</EnableCOMDATFolding> |
188 | 202 | <TargetMachine>MachineX64</TargetMachine> |
| 203 | + <TreatLinkerWarningAsErrors>true</TreatLinkerWarningAsErrors> |
189 | 204 | </Link> |
190 | 205 | </ItemDefinitionGroup> |
191 | 206 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM64'"> |
192 | 207 | <ClCompile> |
193 | | - <PreprocessorDefinitions>WIN32;_CRT_SECURE_NO_WARNINGS;NDEBUG;_WINDOWS;_USRDLL;NPPJSONVIEWER_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
| 208 | + <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;NPPJSONVIEWER_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
194 | 209 | <RuntimeLibrary>MultiThreaded</RuntimeLibrary> |
195 | 210 | <WarningLevel>Level4</WarningLevel> |
196 | 211 | <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> |
|
206 | 221 | <SubSystem>Windows</SubSystem> |
207 | 222 | <OptimizeReferences>true</OptimizeReferences> |
208 | 223 | <EnableCOMDATFolding>true</EnableCOMDATFolding> |
| 224 | + <TreatLinkerWarningAsErrors>true</TreatLinkerWarningAsErrors> |
209 | 225 | </Link> |
210 | 226 | </ItemDefinitionGroup> |
211 | 227 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> |
212 | 228 | <ClCompile> |
213 | | - <PreprocessorDefinitions>WIN32;_CRT_SECURE_NO_WARNINGS;NDEBUG;_WINDOWS;_USRDLL;NPPJSONVIEWER_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
| 229 | + <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;NPPJSONVIEWER_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
214 | 230 | <RuntimeLibrary>MultiThreaded</RuntimeLibrary> |
215 | 231 | <WarningLevel>Level4</WarningLevel> |
216 | 232 | <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> |
|
227 | 243 | <OptimizeReferences>true</OptimizeReferences> |
228 | 244 | <EnableCOMDATFolding>true</EnableCOMDATFolding> |
229 | 245 | <TargetMachine>MachineX86</TargetMachine> |
| 246 | + <TreatLinkerWarningAsErrors>true</TreatLinkerWarningAsErrors> |
230 | 247 | </Link> |
231 | 248 | </ItemDefinitionGroup> |
232 | 249 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> |
233 | 250 | <ClCompile> |
234 | 251 | <Optimization>Disabled</Optimization> |
235 | | - <PreprocessorDefinitions>WIN32;_CRT_SECURE_NO_WARNINGS;_DEBUG;_WINDOWS;_USRDLL;NPPJSONVIEWER_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
| 252 | + <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;NPPJSONVIEWER_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
236 | 253 | <MinimalRebuild>false</MinimalRebuild> |
237 | 254 | <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks> |
238 | 255 | <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary> |
|
249 | 266 | <GenerateDebugInformation>true</GenerateDebugInformation> |
250 | 267 | <SubSystem>Windows</SubSystem> |
251 | 268 | <TargetMachine>MachineX86</TargetMachine> |
| 269 | + <TreatLinkerWarningAsErrors>true</TreatLinkerWarningAsErrors> |
252 | 270 | </Link> |
253 | 271 | </ItemDefinitionGroup> |
254 | 272 | <ItemGroup> |
|
0 commit comments