ModuleTemplate.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 4 <PropertyGroup Label="Globals"> 5 <VCProjectVersion>15.0</VCProjectVersion> 6 <ProjectGuid>{64A80062-4D8B-4229-8A38-DFA1D7497749}</ProjectGuid> 7 <Keyword>Win32Proj</Keyword> 8 <RootNamespace>$safeprojectname$</RootNamespace> 9 <ProjectName>ModuleTemplate</ProjectName> 10 </PropertyGroup> 11 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> 12 <PropertyGroup Condition="'$(Configuration)'=='Debug'" Label="Configuration"> 13 <ConfigurationType>DynamicLibrary</ConfigurationType> 14 <UseDebugLibraries>true</UseDebugLibraries> 15 16 <CharacterSet>Unicode</CharacterSet> 17 </PropertyGroup> 18 <PropertyGroup Condition="'$(Configuration)'=='Release'" Label="Configuration"> 19 <ConfigurationType>DynamicLibrary</ConfigurationType> 20 <UseDebugLibraries>false</UseDebugLibraries> 21 22 <WholeProgramOptimization>true</WholeProgramOptimization> 23 <CharacterSet>Unicode</CharacterSet> 24 </PropertyGroup> 25 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> 26 <ImportGroup Label="ExtensionSettings"> 27 </ImportGroup> 28 <ImportGroup Label="Shared"> 29 </ImportGroup> 30 <ImportGroup Label="PropertySheets"> 31 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> 32 </ImportGroup> 33 <PropertyGroup Label="UserMacros" /> 34 <PropertyGroup Condition="'$(Configuration)'=='Debug'"> 35 <LinkIncremental>true</LinkIncremental> 36 <OutDir>$(SolutionDir)$(Platform)\$(Configuration)\modules\</OutDir> 37 </PropertyGroup> 38 <PropertyGroup Condition="'$(Configuration)'=='Release'"> 39 <LinkIncremental>false</LinkIncremental> 40 <OutDir>$(SolutionDir)$(Platform)\$(Configuration)\modules\</OutDir> 41 </PropertyGroup> 42 <ItemDefinitionGroup Condition="'$(Configuration)'=='Debug'"> 43 <ClCompile> 44 <WarningLevel>Level3</WarningLevel> 45 <Optimization>Disabled</Optimization> 46 <SDLCheck>true</SDLCheck> 47 <PreprocessorDefinitions>_DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions> 48 <ConformanceMode>true</ConformanceMode> 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 <ConformanceMode>true</ConformanceMode> 67 <RuntimeLibrary>MultiThreaded</RuntimeLibrary> 68 <LanguageStandard>stdcpplatest</LanguageStandard> 69 </ClCompile> 70 <Link> 71 <SubSystem>Windows</SubSystem> 72 <EnableCOMDATFolding>true</EnableCOMDATFolding> 73 <OptimizeReferences>true</OptimizeReferences> 74 <GenerateDebugInformation>true</GenerateDebugInformation> 75 <OutputFile>$(OutDir)$(TargetName)$(TargetExt)</OutputFile> 76 </Link> 77 </ItemDefinitionGroup> 78 <ItemDefinitionGroup> 79 <ClCompile> 80 <AdditionalIncludeDirectories>$(RepoRoot)src\;$(RepoRoot)src\modules;$(RepoRoot)src\common\Telemetry;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> 81 </ClCompile> 82 </ItemDefinitionGroup> 83 <ItemGroup> 84 <ClInclude Include="pch.h" /> 85 <ClInclude Include="resource.h" /> 86 <ClInclude Include="trace.h" /> 87 </ItemGroup> 88 <ItemGroup> 89 <ClCompile Include="dllmain.cpp" /> 90 <ClCompile Include="pch.cpp"> 91 <PrecompiledHeader Condition="'$(UsePrecompiledHeaders)' != 'false'">Create</PrecompiledHeader> 92 </ClCompile> 93 <ClCompile Include="trace.cpp" /> 94 </ItemGroup> 95 <ItemGroup> 96 </ItemGroup> 97 <ItemGroup> 98 <ResourceCompile Include="$projectname$.rc" /> 99 </ItemGroup> 100 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> 101 <ImportGroup Label="ExtensionTargets"> 102 </ImportGroup> 103 </Project>