ModuleTemplateCompileTest.vcxproj
1 <?xml version="1.0" encoding="utf-8"?> 2 <Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> 3 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> 4 <Import Project="..\..\..\packages\Microsoft.Windows.CppWinRT.2.0.240111.5\build\native\Microsoft.Windows.CppWinRT.props" Condition="Exists('..\..\..\packages\Microsoft.Windows.CppWinRT.2.0.240111.5\build\native\Microsoft.Windows.CppWinRT.props')" /> 5 <PropertyGroup Label="Globals"> 6 <VCProjectVersion>15.0</VCProjectVersion> 7 <ProjectGuid>{64A80062-4D8B-4229-8A38-DFA1D7497749}</ProjectGuid> 8 <Keyword>Win32Proj</Keyword> 9 <RootNamespace>templatenamespace</RootNamespace> 10 <ProjectName>ModuleTemplateCompileTest</ProjectName> 11 </PropertyGroup> 12 <PropertyGroup Condition="'$(Configuration)'=='Debug'" Label="Configuration"> 13 <ConfigurationType>DynamicLibrary</ConfigurationType> 14 <UseDebugLibraries>true</UseDebugLibraries> 15 16 <CharacterSet>Unicode</CharacterSet> 17 <SpectreMitigation>Spectre</SpectreMitigation> 18 </PropertyGroup> 19 <PropertyGroup Condition="'$(Configuration)'=='Release'" Label="Configuration"> 20 <ConfigurationType>DynamicLibrary</ConfigurationType> 21 <UseDebugLibraries>false</UseDebugLibraries> 22 <WholeProgramOptimization>true</WholeProgramOptimization> 23 <CharacterSet>Unicode</CharacterSet> 24 <SpectreMitigation>Spectre</SpectreMitigation> 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"> 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 <PropertyGroup Condition="'$(Configuration)'=='Debug'"> 36 <LinkIncremental>true</LinkIncremental> 37 <OutDir>$(SolutionDir)$(Platform)\$(Configuration)\tests\ModuleTemplate\</OutDir> 38 </PropertyGroup> 39 <PropertyGroup Condition="'$(Configuration)'=='Release'"> 40 <LinkIncremental>false</LinkIncremental> 41 <OutDir>$(SolutionDir)$(Platform)\$(Configuration)\tests\ModuleTemplate\</OutDir> 42 </PropertyGroup> 43 <ItemDefinitionGroup Condition="'$(Configuration)'=='Debug'"> 44 <ClCompile> 45 <WarningLevel>Level3</WarningLevel> 46 <Optimization>Disabled</Optimization> 47 <SDLCheck>true</SDLCheck> 48 <PreprocessorDefinitions>_DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions> 49 <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary> 50 <LanguageStandard>stdcpplatest</LanguageStandard> 51 </ClCompile> 52 <Link> 53 <SubSystem>Windows</SubSystem> 54 <GenerateDebugInformation>true</GenerateDebugInformation> 55 <OutputFile>$(OutDir)$(TargetName)$(TargetExt)</OutputFile> 56 </Link> 57 </ItemDefinitionGroup> 58 <ItemDefinitionGroup Condition="'$(Configuration)'=='Release'"> 59 <ClCompile> 60 <WarningLevel>Level3</WarningLevel> 61 <Optimization>MaxSpeed</Optimization> 62 <FunctionLevelLinking>true</FunctionLevelLinking> 63 <IntrinsicFunctions>true</IntrinsicFunctions> 64 <SDLCheck>true</SDLCheck> 65 <PreprocessorDefinitions>NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions> 66 <RuntimeLibrary>MultiThreaded</RuntimeLibrary> 67 <LanguageStandard>stdcpplatest</LanguageStandard> 68 </ClCompile> 69 <Link> 70 <SubSystem>Windows</SubSystem> 71 <EnableCOMDATFolding>true</EnableCOMDATFolding> 72 <OptimizeReferences>true</OptimizeReferences> 73 <GenerateDebugInformation>true</GenerateDebugInformation> 74 <OutputFile>$(OutDir)$(TargetName)$(TargetExt)</OutputFile> 75 </Link> 76 </ItemDefinitionGroup> 77 <ItemDefinitionGroup> 78 <ClCompile> 79 <AdditionalIncludeDirectories>$(RepoRoot)src\;$(RepoRoot)src\modules;$(RepoRoot)src\common\Telemetry;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> 80 </ClCompile> 81 </ItemDefinitionGroup> 82 <ItemGroup> 83 <ClInclude Include="pch.h" /> 84 <ClInclude Include="resource.h" /> 85 <ClInclude Include="trace.h" /> 86 </ItemGroup> 87 <ItemGroup> 88 <ClCompile Include="dllmain.cpp" /> 89 <ClCompile Include="pch.cpp"> 90 <PrecompiledHeader Condition="'$(UsePrecompiledHeaders)' != 'false'">Create</PrecompiledHeader> 91 </ClCompile> 92 <ClCompile Include="trace.cpp" /> 93 </ItemGroup> 94 <ItemGroup> 95 <ProjectReference Include="..\..\..\src\common\SettingsAPI\SettingsAPI.vcxproj"> 96 <Project>{6955446d-23f7-4023-9bb3-8657f904af99}</Project> 97 </ProjectReference> 98 </ItemGroup> 99 <ItemGroup> 100 <ResourceCompile Include="$projectname$.rc" /> 101 </ItemGroup> 102 <ItemGroup> 103 <None Include="packages.config" /> 104 </ItemGroup> 105 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> 106 <ImportGroup Label="ExtensionTargets"> 107 <Import Project="..\..\..\packages\Microsoft.Windows.CppWinRT.2.0.240111.5\build\native\Microsoft.Windows.CppWinRT.targets" Condition="Exists('..\..\..\packages\Microsoft.Windows.CppWinRT.2.0.240111.5\build\native\Microsoft.Windows.CppWinRT.targets')" /> 108 </ImportGroup> 109 <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild"> 110 <PropertyGroup> 111 <ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText> 112 </PropertyGroup> 113 <Error Condition="!Exists('..\..\..\packages\Microsoft.Windows.CppWinRT.2.0.240111.5\build\native\Microsoft.Windows.CppWinRT.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\..\packages\Microsoft.Windows.CppWinRT.2.0.240111.5\build\native\Microsoft.Windows.CppWinRT.props'))" /> 114 <Error Condition="!Exists('..\..\..\packages\Microsoft.Windows.CppWinRT.2.0.240111.5\build\native\Microsoft.Windows.CppWinRT.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\..\packages\Microsoft.Windows.CppWinRT.2.0.240111.5\build\native\Microsoft.Windows.CppWinRT.targets'))" /> 115 </Target> 116 </Project>