|
202 | 202 | </ImportGroup> |
203 | 203 | <ImportGroup Label="Shared"> |
204 | 204 | </ImportGroup> |
| 205 | + <PropertyGroup> |
| 206 | + <CustomVcpkgProps Condition="'$(CustomVcpkgProps)' == ''"> |
| 207 | + ..\..\vcpkg.props |
| 208 | + </CustomVcpkgProps> |
| 209 | + <CustomCommonProps Condition="'$(CustomCommonProps)' == ''"> |
| 210 | + ..\Common.props |
| 211 | + </CustomCommonProps> |
| 212 | + <CustomRuntimeControlProps Condition="'$(CustomRuntimeControlProps)' == ''"> |
| 213 | + ..\RuntimeControl.props |
| 214 | + </CustomRuntimeControlProps> |
| 215 | + </PropertyGroup> |
205 | 216 | <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> |
206 | 217 | <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> |
207 | | - <Import Project="..\..\vcpkg.props" /> |
208 | | - <Import Project="..\RuntimeControl.props" /> |
209 | | - <Import Project="..\Common.props" /> |
| 218 | + <Import Project="$(CustomVcpkgProps)" /> |
| 219 | + <Import Project="$(CustomRuntimeControlProps)" /> |
| 220 | + <Import Project="$(CustomCommonProps)" /> |
210 | 221 | </ImportGroup> |
211 | 222 | <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> |
212 | 223 | <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> |
213 | | - <Import Project="..\..\vcpkg.props" /> |
214 | | - <Import Project="..\RuntimeControl.props" /> |
215 | | - <Import Project="..\Common.props" /> |
| 224 | + <Import Project="$(CustomVcpkgProps)" /> |
| 225 | + <Import Project="$(CustomRuntimeControlProps)" /> |
| 226 | + <Import Project="$(CustomCommonProps)" /> |
216 | 227 | </ImportGroup> |
217 | 228 | <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> |
218 | 229 | <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> |
219 | | - <Import Project="..\..\vcpkg.props" /> |
220 | | - <Import Project="..\RuntimeControl.props" /> |
221 | | - <Import Project="..\Common.props" /> |
| 230 | + <Import Project="$(CustomVcpkgProps)" /> |
| 231 | + <Import Project="$(CustomRuntimeControlProps)" /> |
| 232 | + <Import Project="$(CustomCommonProps)" /> |
222 | 233 | </ImportGroup> |
223 | 234 | <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> |
224 | 235 | <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> |
225 | | - <Import Project="..\..\vcpkg.props" /> |
226 | | - <Import Project="..\RuntimeControl.props" /> |
227 | | - <Import Project="..\Common.props" /> |
| 236 | + <Import Project="$(CustomVcpkgProps)" /> |
| 237 | + <Import Project="$(CustomRuntimeControlProps)" /> |
| 238 | + <Import Project="$(CustomCommonProps)" /> |
228 | 239 | </ImportGroup> |
229 | 240 | <PropertyGroup Label="UserMacros" /> |
230 | 241 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> |
231 | 242 | <OutDir>$(SolutionDir)build\lib\$(ProjectName)-$(Platform)-$(Configuration)\</OutDir> |
232 | 243 | <IntDir>$(SolutionDir)build\obj\$(ProjectName)-$(Platform)-$(Configuration)\</IntDir> |
| 244 | + <TargetName>IPM$(ProjectName)</TargetName> |
233 | 245 | </PropertyGroup> |
234 | 246 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> |
235 | 247 | <OutDir>$(SolutionDir)build\lib\$(ProjectName)-$(Platform)-$(Configuration)\</OutDir> |
236 | 248 | <IntDir>$(SolutionDir)build\obj\$(ProjectName)-$(Platform)-$(Configuration)\</IntDir> |
| 249 | + <TargetName>IPM$(ProjectName)</TargetName> |
237 | 250 | </PropertyGroup> |
238 | 251 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> |
239 | 252 | <CustomBuildBeforeTargets> |
240 | 253 | </CustomBuildBeforeTargets> |
241 | 254 | <OutDir>$(SolutionDir)build\lib\$(ProjectName)-$(Platform)-$(Configuration)\</OutDir> |
| 255 | + <TargetName>IPM$(ProjectName)</TargetName> |
242 | 256 | </PropertyGroup> |
243 | 257 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> |
244 | 258 | <CustomBuildBeforeTargets> |
245 | 259 | </CustomBuildBeforeTargets> |
246 | 260 | <OutDir>$(SolutionDir)build\lib\$(ProjectName)-$(Platform)-$(Configuration)\</OutDir> |
| 261 | + <TargetName>IPM$(ProjectName)</TargetName> |
247 | 262 | </PropertyGroup> |
248 | 263 | <PropertyGroup Label="Vcpkg" /> |
249 | 264 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> |
250 | 265 | <ClCompile> |
251 | 266 | <WarningLevel>Level3</WarningLevel> |
252 | 267 | <SDLCheck>true</SDLCheck> |
253 | | - <PreprocessorDefinitions>WIN32;_DEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
| 268 | + <PreprocessorDefinitions>WIN32;_DEBUG;_LIB;$(vcPreDefs);%(PreprocessorDefinitions)</PreprocessorDefinitions> |
254 | 269 | <ConformanceMode>true</ConformanceMode> |
255 | 270 | <PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile> |
256 | 271 | <LanguageStandard>stdcpplatest</LanguageStandard> |
257 | 272 | <ExceptionHandling>Async</ExceptionHandling> |
| 273 | + <AdditionalIncludeDirectories>../..;$(vcSiblingIncludeDirectory);$(vcInstalledIncludeDirectory);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> |
258 | 274 | </ClCompile> |
259 | 275 | <Link> |
260 | 276 | <SubSystem> |
|
268 | 284 | <FunctionLevelLinking>true</FunctionLevelLinking> |
269 | 285 | <IntrinsicFunctions>true</IntrinsicFunctions> |
270 | 286 | <SDLCheck>true</SDLCheck> |
271 | | - <PreprocessorDefinitions>WIN32;NDEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
| 287 | + <PreprocessorDefinitions>WIN32;NDEBUG;_LIB;$(vcPreDefs);%(PreprocessorDefinitions)</PreprocessorDefinitions> |
272 | 288 | <ConformanceMode>true</ConformanceMode> |
273 | 289 | <PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile> |
274 | 290 | <LanguageStandard>stdcpplatest</LanguageStandard> |
275 | 291 | <ExceptionHandling>Async</ExceptionHandling> |
| 292 | + <AdditionalIncludeDirectories>../..;$(vcSiblingIncludeDirectory);$(vcInstalledIncludeDirectory);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> |
276 | 293 | </ClCompile> |
277 | 294 | <Link> |
278 | 295 | <SubSystem> |
|
286 | 303 | <ClCompile> |
287 | 304 | <WarningLevel>Level3</WarningLevel> |
288 | 305 | <SDLCheck>true</SDLCheck> |
289 | | - <PreprocessorDefinitions>_DEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
| 306 | + <PreprocessorDefinitions>_DEBUG;_LIB;$(vcPreDefs);%(PreprocessorDefinitions)</PreprocessorDefinitions> |
290 | 307 | <ConformanceMode>true</ConformanceMode> |
291 | 308 | <PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile> |
292 | 309 | <LanguageStandard>stdcpplatest</LanguageStandard> |
293 | 310 | <ExceptionHandling>Async</ExceptionHandling> |
| 311 | + <AdditionalIncludeDirectories>../..;$(vcSiblingIncludeDirectory);$(vcInstalledIncludeDirectory);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> |
294 | 312 | </ClCompile> |
295 | 313 | <Link> |
296 | 314 | <SubSystem> |
|
318 | 336 | <FunctionLevelLinking>true</FunctionLevelLinking> |
319 | 337 | <IntrinsicFunctions>true</IntrinsicFunctions> |
320 | 338 | <SDLCheck>true</SDLCheck> |
321 | | - <PreprocessorDefinitions>NDEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
| 339 | + <PreprocessorDefinitions>NDEBUG;_LIB;$(vcPreDefs);%(PreprocessorDefinitions)</PreprocessorDefinitions> |
322 | 340 | <ConformanceMode>true</ConformanceMode> |
323 | 341 | <PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile> |
324 | 342 | <LanguageStandard>stdcpplatest</LanguageStandard> |
325 | 343 | <ExceptionHandling>Async</ExceptionHandling> |
| 344 | + <AdditionalIncludeDirectories>../..;$(vcSiblingIncludeDirectory);$(vcInstalledIncludeDirectory);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> |
326 | 345 | </ClCompile> |
327 | 346 | <Link> |
328 | 347 | <SubSystem> |
|
0 commit comments