1<?xml version="1.0" encoding="utf-8"?> 2<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> 3 <!-- Microsoft documentation for VCXPROJ file format is located at --> 4 <!-- the following URL. The documentation leaves a lot to be desired. --> 5 <!-- https://msdn.microsoft.com/en-us/library/2208a1f2.aspx --> 6 <ItemGroup Label="ProjectConfigurations"> 7 <ProjectConfiguration Include="Debug|Win32"> 8 <Configuration>Debug</Configuration> 9 <Platform>Win32</Platform> 10 </ProjectConfiguration> 11 <ProjectConfiguration Include="Debug|x64"> 12 <Configuration>Debug</Configuration> 13 <Platform>x64</Platform> 14 </ProjectConfiguration> 15 <ProjectConfiguration Include="Release|Win32"> 16 <Configuration>Release</Configuration> 17 <Platform>Win32</Platform> 18 </ProjectConfiguration> 19 <ProjectConfiguration Include="Release|x64"> 20 <Configuration>Release</Configuration> 21 <Platform>x64</Platform> 22 </ProjectConfiguration> 23 </ItemGroup> 24 <!-- Microsoft documentation clearly shows the Global property group --> 25 <!-- preceeds the import of Cpp.Default.props and Cpp.props --> 26 <!-- https://msdn.microsoft.com/en-us/library/2208a1f2.aspx --> 27 <PropertyGroup Label="Globals"> 28 <ProjectGuid>{1974a53a-9863-41c9-886d-b2b8c2fc3c8b}</ProjectGuid> 29 <RootNamespace>dlltest</RootNamespace> 30 <ConfigurationType>Application</ConfigurationType> 31 </PropertyGroup> 32 <!-- Use DefaultPlatformToolset after Microsoft.Cpp.Default.props --> 33 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> 34 <!-- Set DefaultPlatformToolset to v100 (VS2010) if not defined --> 35 <PropertyGroup Label="EmptyDefaultPlatformToolset"> 36 <DefaultPlatformToolset Condition=" '$(DefaultPlatformToolset)' == '' ">v100</DefaultPlatformToolset> 37 </PropertyGroup> 38 <PropertyGroup Label="PlatformToolset"> 39 <PlatformToolset>$(DefaultPlatformToolset)</PlatformToolset> 40 </PropertyGroup> 41 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> 42 <ImportGroup Label="ExtensionSettings" /> 43 <ImportGroup Label="PropertySheets"> 44 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> 45 </ImportGroup> 46 <PropertyGroup Label="UserMacros" /> 47 <!-- End of Visual Studio boilerplate --> 48 <!-- All Configurations --> 49 <PropertyGroup Label="All Configurations"> 50 <ConfigurationType>Application</ConfigurationType> 51 <UseOfMfc>false</UseOfMfc> 52 <CharacterSet>MultiByte</CharacterSet> 53 <WholeProgramOptimization>true</WholeProgramOptimization> 54 <OutDir>$(Platform)\DLL_Output\$(Configuration)\</OutDir> 55 <IntDir>$(Platform)\$(ProjectName)\$(Configuration)\</IntDir> 56 </PropertyGroup> 57 <!-- All Configurations --> 58 <ItemDefinitionGroup Label="All Configurations"> 59 <ClCompile> 60 <SuppressStartupBanner>true</SuppressStartupBanner> 61 <ErrorReporting>None</ErrorReporting> 62 <WarningLevel>Level4</WarningLevel> 63 <DisableSpecificWarnings>4231; 4251; 4275; 4355; 4505</DisableSpecificWarnings> 64 <CallingConvention>StdCall</CallingConvention> 65 <PrecompiledHeader /> 66 <AdditionalOptions>$(AdditionalOptions)</AdditionalOptions> 67 </ClCompile> 68 <Link> 69 <ErrorReporting>NoErrorReport</ErrorReporting> 70 <AdditionalDependencies>cryptopp.lib</AdditionalDependencies> 71 <AdditionalLibraryDirectories>$(Platform)\DLL_Output\$(Configuration)</AdditionalLibraryDirectories> 72 <GenerateDebugInformation>true</GenerateDebugInformation> 73 </Link> 74 </ItemDefinitionGroup> 75 <!-- Debug Configurations --> 76 <ItemDefinitionGroup Condition="'$(Configuration)'=='Debug'" Label="Debug Configuration"> 77 <ClCompile> 78 <PreprocessorDefinitions>CRYPTOPP_DLL_ONLY;%(PreprocessorDefinitions)</PreprocessorDefinitions> 79 <Optimization>Disabled</Optimization> 80 <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> 81 <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks> 82 <IntrinsicFunctions>true</IntrinsicFunctions> 83 <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary> 84 </ClCompile> 85 <ResourceCompile> 86 <PreprocessorDefinitions>%(PreprocessorDefinitions)</PreprocessorDefinitions> 87 <Culture>0x0409</Culture> 88 </ResourceCompile> 89 </ItemDefinitionGroup> 90 <!-- Release Configurations --> 91 <ItemDefinitionGroup Condition="'$(Configuration)'=='Release'" Label="Release Configuration"> 92 <ClCompile> 93 <PreprocessorDefinitions>NDEBUG;CRYPTOPP_DLL_ONLY;%(PreprocessorDefinitions)</PreprocessorDefinitions> 94 <OmitFramePointers>true</OmitFramePointers> 95 <Optimization>MaxSpeed</Optimization> 96 <IntrinsicFunctions>true</IntrinsicFunctions> 97 <InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion> 98 <FunctionLevelLinking>true</FunctionLevelLinking> 99 <StringPooling>true</StringPooling> 100 <RuntimeLibrary>MultiThreaded</RuntimeLibrary> 101 </ClCompile> 102 <ResourceCompile> 103 <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> 104 <Culture>0x0409</Culture> 105 </ResourceCompile> 106 <Link> 107 <OptimizeReferences>true</OptimizeReferences> 108 <EnableCOMDATFolding>true</EnableCOMDATFolding> 109 </Link> 110 </ItemDefinitionGroup> 111 <!-- X86 Configurations --> 112 <ItemDefinitionGroup Condition="'$(Platform)'=='Win32'" Label="X86 Configuration"> 113 <ClCompile> 114 <EnableEnhancedInstructionSet>StreamingSIMDExtensions2</EnableEnhancedInstructionSet> 115 </ClCompile> 116 <Link> 117 <TargetMachine>MachineX86</TargetMachine> 118 <ImageHasSafeExceptionHandlers>true</ImageHasSafeExceptionHandlers> 119 </Link> 120 </ItemDefinitionGroup> 121 <!-- X64 Configurations --> 122 <ItemDefinitionGroup Condition="'$(Platform)'=='x64'" Label="X64 Configuration"> 123 <Link> 124 <TargetMachine>MachineX64</TargetMachine> 125 </Link> 126 </ItemDefinitionGroup> 127 <!-- Source Files --> 128 <ItemGroup> 129 <ClCompile Include="dlltest.cpp" /> 130 </ItemGroup> 131 <!-- Back to Visual Studio boilerplate --> 132 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> 133 <ImportGroup Label="ExtensionTargets"> 134 </ImportGroup> 135</Project>