|
|
@@ -135,150 +135,13 @@
|
|
|
<ImportGroup Label="PropertySheets">
|
|
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
|
|
</ImportGroup>
|
|
|
- <PropertyGroup Label="UserMacros">
|
|
|
- <!-- WinXP = 0; Vista = 1; Win7 = 2; Win8 = 3...
|
|
|
- Only 0 and 1 are used currently -->
|
|
|
- <TargetOSLevel Condition="'$(PlatformToolset)'=='v120_xp' Or '$(PlatformToolset)'=='v140_xp'">0</TargetOSLevel>
|
|
|
- <TargetOSLevel Condition="'$(PlatformToolset)'!='v120_xp' And '$(PlatformToolset)'!='v140_xp'">1</TargetOSLevel>
|
|
|
- </PropertyGroup>
|
|
|
- <PropertyGroup>
|
|
|
- <IncludePath>$(MhdSrc)include;$(SolutionDir);$(IncludePath)</IncludePath>
|
|
|
- <CustomBuildBeforeTargets>ResourceCompile</CustomBuildBeforeTargets>
|
|
|
- </PropertyGroup>
|
|
|
- <PropertyGroup Condition="'$(Platform)'=='Win32'">
|
|
|
- <IntDir>$(SolutionDir)$(ProjectName)\$(Configuration)\</IntDir>
|
|
|
- <OutDir>$(SolutionDir)Output\</OutDir>
|
|
|
- </PropertyGroup>
|
|
|
- <PropertyGroup Condition="'$(Platform)'=='x64'">
|
|
|
- <IntDir>$(SolutionDir)$(ProjectName)\$(Configuration)\$(Platform)\</IntDir>
|
|
|
- <OutDir>$(SolutionDir)Output\$(Platform)\</OutDir>
|
|
|
- </PropertyGroup>
|
|
|
- <PropertyGroup Condition="'$(ConfigurationType)'=='StaticLibrary'">
|
|
|
- <TargetName Condition="'$(UseDebugLibraries)'=='true'">$(ProjectName)_d</TargetName>
|
|
|
- <TargetName Condition="'$(UseDebugLibraries)'!='true'">$(ProjectName)</TargetName>
|
|
|
- </PropertyGroup>
|
|
|
- <PropertyGroup Condition="'$(ConfigurationType)'=='DynamicLibrary'">
|
|
|
- <TargetName Condition="'$(UseDebugLibraries)'=='true'">$(ProjectName)-dll_d</TargetName>
|
|
|
- <TargetName Condition="'$(UseDebugLibraries)'!='true'">$(ProjectName)-dll</TargetName>
|
|
|
- </PropertyGroup>
|
|
|
+ <Import Project="$(MhdW32Common)common-build-settings.vcxproj" />
|
|
|
+ <Import Project="$(MhdW32Common)libmicrohttpd-build-settings.vcxproj" />
|
|
|
+ <PropertyGroup />
|
|
|
<ItemDefinitionGroup>
|
|
|
- <ClCompile>
|
|
|
- <PrecompiledHeader>NotUsing</PrecompiledHeader>
|
|
|
- <WarningLevel>Level3</WarningLevel>
|
|
|
- <Optimization>Disabled</Optimization>
|
|
|
- <PreprocessorDefinitions>WIN32;BUILDING_MHD_LIB;_UNICODE;UNICODE;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
|
- <DisableSpecificWarnings>4996</DisableSpecificWarnings>
|
|
|
- <TreatSpecificWarningsAsErrors>4013</TreatSpecificWarningsAsErrors>
|
|
|
- <ProgramDataBaseFileName>$(IntDir)$(TargetName).pdb</ProgramDataBaseFileName>
|
|
|
- </ClCompile>
|
|
|
- <Link>
|
|
|
- <Subsystem>WINDOWS</Subsystem>
|
|
|
- <GenerateDebugInformation>true</GenerateDebugInformation>
|
|
|
- </Link>
|
|
|
- <CustomBuildStep>
|
|
|
- <Message>Copy headers to output</Message>
|
|
|
- <Command>xcopy /F /I /Y "$(MhdSrc)include\microhttpd.h" "$(OutputPath)"</Command>
|
|
|
- <Outputs>$(OutputPath)microhttpd.h;%(Outputs)</Outputs>
|
|
|
- <Inputs>$(MhdSrc)include\microhttpd.h</Inputs>
|
|
|
- </CustomBuildStep>
|
|
|
- </ItemDefinitionGroup>
|
|
|
- <ItemDefinitionGroup Condition="'$(TargetOSLevel)'>'0'">
|
|
|
- <ClCompile>
|
|
|
- <PreprocessorDefinitions>_WIN32_WINNT=0x0600;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
|
- </ClCompile>
|
|
|
- <Link>
|
|
|
- <MinimumRequiredVersion>6.00</MinimumRequiredVersion>
|
|
|
- <AdditionalOptions>/SUBSYSTEM:WINDOWS,6.00 %(AdditionalOptions)</AdditionalOptions>
|
|
|
- </Link>
|
|
|
- <Lib>
|
|
|
- <MinimumRequiredVersion>6.00</MinimumRequiredVersion>
|
|
|
- <AdditionalOptions>/SUBSYSTEM:WINDOWS,6.00 %(AdditionalOptions)</AdditionalOptions>
|
|
|
- </Lib>
|
|
|
- </ItemDefinitionGroup>
|
|
|
- <ItemDefinitionGroup Condition="'$(TargetOSLevel)'=='0' And '$(Platform)'=='Win32'">
|
|
|
- <ClCompile>
|
|
|
- <PreprocessorDefinitions>_WIN32_WINNT=0x0501;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
|
- </ClCompile>
|
|
|
- <Link>
|
|
|
- <MinimumRequiredVersion>5.01</MinimumRequiredVersion>
|
|
|
- <AdditionalOptions>/SUBSYSTEM:WINDOWS,5.01 %(AdditionalOptions)</AdditionalOptions>
|
|
|
- </Link>
|
|
|
- <Lib>
|
|
|
- <MinimumRequiredVersion>5.01</MinimumRequiredVersion>
|
|
|
- <AdditionalOptions>/SUBSYSTEM:WINDOWS,5.01 %(AdditionalOptions)</AdditionalOptions>
|
|
|
- </Lib>
|
|
|
- </ItemDefinitionGroup>
|
|
|
- <ItemDefinitionGroup Condition="'$(TargetOSLevel)'=='0' And '$(Platform)'=='x64'">
|
|
|
- <ClCompile>
|
|
|
- <PreprocessorDefinitions>_WIN32_WINNT=0x0502;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
|
- </ClCompile>
|
|
|
- <Link>
|
|
|
- <MinimumRequiredVersion>5.02</MinimumRequiredVersion>
|
|
|
- <AdditionalOptions>/SUBSYSTEM:WINDOWS,5.02 %(AdditionalOptions)</AdditionalOptions>
|
|
|
- </Link>
|
|
|
- <Lib>
|
|
|
- <MinimumRequiredVersion>5.02</MinimumRequiredVersion>
|
|
|
- <AdditionalOptions>/SUBSYSTEM:WINDOWS,5.02 %(AdditionalOptions)</AdditionalOptions>
|
|
|
- </Lib>
|
|
|
- </ItemDefinitionGroup>
|
|
|
- <ItemDefinitionGroup Condition="'$(ConfigurationType)'=='StaticLibrary'">
|
|
|
- <ClCompile>
|
|
|
- <PreprocessorDefinitions>_LIB;MHD_W32LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
|
- </ClCompile>
|
|
|
- <Lib>
|
|
|
- <AdditionalDependencies>Ws2_32.lib</AdditionalDependencies>
|
|
|
- </Lib>
|
|
|
- <PostBuildEvent>
|
|
|
- <Command>xcopy /F /I /Y "$(IntermediateOutputPath)$(TargetName).pdb" "$(OutputPath)"</Command>
|
|
|
- <Message>Copy .pdb to output directory</Message>
|
|
|
- </PostBuildEvent>
|
|
|
- </ItemDefinitionGroup>
|
|
|
- <ItemDefinitionGroup Condition="'$(ConfigurationType)'=='DynamicLibrary'">
|
|
|
- <ClCompile>
|
|
|
- <PreprocessorDefinitions>_USRDLL;MHD_W32DLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
|
- </ClCompile>
|
|
|
- <Link>
|
|
|
- <AdditionalDependencies>Ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
|
|
- </Link>
|
|
|
- </ItemDefinitionGroup>
|
|
|
- <ItemDefinitionGroup Condition="'$(UseDebugLibraries)'=='true'">
|
|
|
- <ClCompile>
|
|
|
- <Optimization>Disabled</Optimization>
|
|
|
- <SmallerTypeCheck>true</SmallerTypeCheck>
|
|
|
- </ClCompile>
|
|
|
- <ResourceCompile>
|
|
|
- <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
|
- </ResourceCompile>
|
|
|
- </ItemDefinitionGroup>
|
|
|
- <ItemDefinitionGroup Condition="'$(UseDebugLibraries)'!='true'">
|
|
|
- <ClCompile>
|
|
|
- <Optimization>Full</Optimization>
|
|
|
- <FunctionLevelLinking>true</FunctionLevelLinking>
|
|
|
- <IntrinsicFunctions>true</IntrinsicFunctions>
|
|
|
- <InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
|
|
|
- <FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
|
|
|
- <OmitFramePointers>true</OmitFramePointers>
|
|
|
- </ClCompile>
|
|
|
- <Link>
|
|
|
- <GenerateDebugInformation>true</GenerateDebugInformation>
|
|
|
- <EnableCOMDATFolding>true</EnableCOMDATFolding>
|
|
|
- <OptimizeReferences>true</OptimizeReferences>
|
|
|
- </Link>
|
|
|
- <ResourceCompile>
|
|
|
- <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
|
- </ResourceCompile>
|
|
|
- </ItemDefinitionGroup>
|
|
|
- <ItemDefinitionGroup Condition="'$(ConfigurationType)'=='StaticLibrary'">
|
|
|
- <ClCompile>
|
|
|
- <RuntimeLibrary Condition="'$(UseDebugLibraries)'=='true'">MultiThreadedDebug</RuntimeLibrary>
|
|
|
- <RuntimeLibrary Condition="'$(UseDebugLibraries)'!='true'">MultiThreaded</RuntimeLibrary>
|
|
|
- </ClCompile>
|
|
|
- </ItemDefinitionGroup>
|
|
|
- <ItemDefinitionGroup Condition="'$(ConfigurationType)'=='DynamicLibrary'">
|
|
|
- <ClCompile>
|
|
|
- <RuntimeLibrary Condition="'$(UseDebugLibraries)'=='true'">MultiThreadedDebugDLL</RuntimeLibrary>
|
|
|
- <RuntimeLibrary Condition="'$(UseDebugLibraries)'!='true'">MultiThreadedDLL</RuntimeLibrary>
|
|
|
- </ClCompile>
|
|
|
+ <ClCompile />
|
|
|
+ <Link />
|
|
|
+ <Lib />
|
|
|
</ItemDefinitionGroup>
|
|
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
|
|
<ImportGroup Label="ExtensionTargets">
|