|
| 1 | +<?xml version="1.0" encoding="utf-8"?> |
| 2 | +<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
| 3 | + <ItemGroup Label="ProjectConfigurations"> |
| 4 | + <ProjectConfiguration Include="Release|x64"> |
| 5 | + <Configuration>Release</Configuration> |
| 6 | + <Platform>x64</Platform> |
| 7 | + </ProjectConfiguration> |
| 8 | + </ItemGroup> |
| 9 | + <PropertyGroup Label="Globals"> |
| 10 | + <VCProjectVersion>17.0</VCProjectVersion> |
| 11 | + <Keyword>Win32Proj</Keyword> |
| 12 | + <ProjectGuid>{0e44c32e-bffa-4f4b-aac8-5db71447ce37}</ProjectGuid> |
| 13 | + <RootNamespace>MsbuildCpp</RootNamespace> |
| 14 | + <WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion> |
| 15 | + <!-- Based on https://medium.com/@parakram.majumdar/ccache-with-msbuild-devenv-f286778e0be7 --> |
| 16 | + <TrackFileAccess>false</TrackFileAccess> |
| 17 | + <UseMultiToolTask>true</UseMultiToolTask> |
| 18 | + <CLToolExe>$(SolutionDir)/compiler/cl.exe</CLToolExe> |
| 19 | + </PropertyGroup> |
| 20 | + <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> |
| 21 | + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration"> |
| 22 | + <ConfigurationType>StaticLibrary</ConfigurationType> |
| 23 | + <UseDebugLibraries>false</UseDebugLibraries> |
| 24 | + <PlatformToolset>v143</PlatformToolset> |
| 25 | + </PropertyGroup> |
| 26 | + <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> |
| 27 | + <ImportGroup Label="ExtensionSettings"> |
| 28 | + </ImportGroup> |
| 29 | + <ImportGroup Label="Shared"> |
| 30 | + </ImportGroup> |
| 31 | + <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> |
| 32 | + <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> |
| 33 | + </ImportGroup> |
| 34 | + <PropertyGroup Label="UserMacros" /> |
| 35 | + <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> |
| 36 | + <ClCompile> |
| 37 | + <!-- Also mandatory: only /Z7 mode is supported --> |
| 38 | + <DebugInformationFormat>OldStyle</DebugInformationFormat> |
| 39 | + </ClCompile> |
| 40 | + <Link> |
| 41 | + <SubSystem> |
| 42 | + </SubSystem> |
| 43 | + <GenerateDebugInformation>true</GenerateDebugInformation> |
| 44 | + </Link> |
| 45 | + </ItemDefinitionGroup> |
| 46 | + <ItemGroup> |
| 47 | + <ClCompile Include="test.cpp" /> |
| 48 | + </ItemGroup> |
| 49 | + <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> |
| 50 | + <ImportGroup Label="ExtensionTargets"> |
| 51 | + </ImportGroup> |
| 52 | +</Project> |
0 commit comments