2019-06-19 23:26:12 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
|
|
<ItemGroup Label="ProjectConfigurations">
|
|
|
|
<ProjectConfiguration Include="Debug|Win32">
|
|
|
|
<Configuration>Debug</Configuration>
|
|
|
|
<Platform>Win32</Platform>
|
|
|
|
</ProjectConfiguration>
|
|
|
|
<ProjectConfiguration Include="Release|Win32">
|
|
|
|
<Configuration>Release</Configuration>
|
|
|
|
<Platform>Win32</Platform>
|
|
|
|
</ProjectConfiguration>
|
|
|
|
<ProjectConfiguration Include="Debug|x64">
|
|
|
|
<Configuration>Debug</Configuration>
|
|
|
|
<Platform>x64</Platform>
|
|
|
|
</ProjectConfiguration>
|
|
|
|
<ProjectConfiguration Include="Release|x64">
|
|
|
|
<Configuration>Release</Configuration>
|
|
|
|
<Platform>x64</Platform>
|
|
|
|
</ProjectConfiguration>
|
|
|
|
</ItemGroup>
|
|
|
|
<PropertyGroup Label="Globals">
|
|
|
|
<VCProjectVersion>15.0</VCProjectVersion>
|
|
|
|
<ProjectGuid>{ABB5EAE7-B3E6-432E-B636-333449892EA7}</ProjectGuid>
|
|
|
|
<RootNamespace>mimalloc-override</RootNamespace>
|
|
|
|
<WindowsTargetPlatformVersion>10.0.17134.0</WindowsTargetPlatformVersion>
|
|
|
|
<ProjectName>mimalloc-override</ProjectName>
|
|
|
|
</PropertyGroup>
|
|
|
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
|
|
|
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
|
|
|
<UseDebugLibraries>true</UseDebugLibraries>
|
|
|
|
<PlatformToolset>v141</PlatformToolset>
|
|
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
|
|
|
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
|
|
|
<UseDebugLibraries>false</UseDebugLibraries>
|
|
|
|
<PlatformToolset>v141</PlatformToolset>
|
|
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
|
|
|
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
|
|
|
<UseDebugLibraries>true</UseDebugLibraries>
|
|
|
|
<PlatformToolset>v141</PlatformToolset>
|
|
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
|
|
|
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
|
|
|
<UseDebugLibraries>false</UseDebugLibraries>
|
|
|
|
<PlatformToolset>v141</PlatformToolset>
|
|
|
|
</PropertyGroup>
|
|
|
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
|
|
|
<ImportGroup Label="ExtensionSettings">
|
|
|
|
</ImportGroup>
|
|
|
|
<ImportGroup Label="Shared">
|
|
|
|
</ImportGroup>
|
|
|
|
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
|
|
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
|
|
|
</ImportGroup>
|
|
|
|
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
|
|
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
|
|
|
</ImportGroup>
|
|
|
|
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
|
|
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
|
|
|
</ImportGroup>
|
|
|
|
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
|
|
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
|
|
|
</ImportGroup>
|
|
|
|
<PropertyGroup Label="UserMacros" />
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
|
|
|
<OutDir>$(SolutionDir)..\..\out\msvc-$(Platform)\$(Configuration)\</OutDir>
|
|
|
|
<IntDir>$(SolutionDir)..\..\out\msvc-$(Platform)\$(ProjectName)\$(Configuration)\</IntDir>
|
|
|
|
<TargetExt>.dll</TargetExt>
|
2019-07-23 22:10:25 +00:00
|
|
|
<TargetName>mimalloc-override</TargetName>
|
2019-06-19 23:26:12 +00:00
|
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
|
|
|
<OutDir>$(SolutionDir)..\..\out\msvc-$(Platform)\$(Configuration)\</OutDir>
|
|
|
|
<IntDir>$(SolutionDir)..\..\out\msvc-$(Platform)\$(ProjectName)\$(Configuration)\</IntDir>
|
|
|
|
<TargetExt>.dll</TargetExt>
|
2019-07-23 22:10:25 +00:00
|
|
|
<TargetName>mimalloc-override</TargetName>
|
2019-06-19 23:26:12 +00:00
|
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
|
|
|
<OutDir>$(SolutionDir)..\..\out\msvc-$(Platform)\$(Configuration)\</OutDir>
|
|
|
|
<IntDir>$(SolutionDir)..\..\out\msvc-$(Platform)\$(ProjectName)\$(Configuration)\</IntDir>
|
|
|
|
<TargetExt>.dll</TargetExt>
|
2019-07-23 22:10:25 +00:00
|
|
|
<TargetName>mimalloc-override</TargetName>
|
2019-06-19 23:26:12 +00:00
|
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
|
|
|
<OutDir>$(SolutionDir)..\..\out\msvc-$(Platform)\$(Configuration)\</OutDir>
|
|
|
|
<IntDir>$(SolutionDir)..\..\out\msvc-$(Platform)\$(ProjectName)\$(Configuration)\</IntDir>
|
|
|
|
<TargetExt>.dll</TargetExt>
|
2019-07-23 22:10:25 +00:00
|
|
|
<TargetName>mimalloc-override</TargetName>
|
2019-06-19 23:26:12 +00:00
|
|
|
</PropertyGroup>
|
|
|
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
|
|
|
<ClCompile>
|
|
|
|
<WarningLevel>Level3</WarningLevel>
|
|
|
|
<Optimization>Disabled</Optimization>
|
|
|
|
<SDLCheck>true</SDLCheck>
|
|
|
|
<ConformanceMode>true</ConformanceMode>
|
|
|
|
<AdditionalIncludeDirectories>../../include</AdditionalIncludeDirectories>
|
2019-07-19 04:41:28 +00:00
|
|
|
<PreprocessorDefinitions>MI_SHARED_LIB;MI_SHARED_LIB_EXPORT;MI_MALLOC_OVERRIDE;%(PreprocessorDefinitions);</PreprocessorDefinitions>
|
2019-06-19 23:26:12 +00:00
|
|
|
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
|
2019-07-16 00:38:16 +00:00
|
|
|
<SupportJustMyCode>false</SupportJustMyCode>
|
2019-07-23 22:10:25 +00:00
|
|
|
<CompileAs>Default</CompileAs>
|
2019-06-19 23:26:12 +00:00
|
|
|
</ClCompile>
|
|
|
|
<Link>
|
2019-07-23 22:51:08 +00:00
|
|
|
<AdditionalDependencies>%(AdditionalDependencies)</AdditionalDependencies>
|
2019-06-19 23:26:12 +00:00
|
|
|
<IgnoreSpecificDefaultLibraries>
|
|
|
|
</IgnoreSpecificDefaultLibraries>
|
|
|
|
<ModuleDefinitionFile>
|
|
|
|
</ModuleDefinitionFile>
|
2019-07-19 04:41:28 +00:00
|
|
|
<LinkTimeCodeGeneration>Default</LinkTimeCodeGeneration>
|
2019-07-23 22:51:08 +00:00
|
|
|
<EntryPointSymbol>DllEntry</EntryPointSymbol>
|
|
|
|
<IgnoreAllDefaultLibraries>false</IgnoreAllDefaultLibraries>
|
2019-06-19 23:26:12 +00:00
|
|
|
</Link>
|
|
|
|
</ItemDefinitionGroup>
|
|
|
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
|
|
|
<ClCompile>
|
|
|
|
<WarningLevel>Level3</WarningLevel>
|
|
|
|
<Optimization>Disabled</Optimization>
|
|
|
|
<SDLCheck>true</SDLCheck>
|
|
|
|
<ConformanceMode>true</ConformanceMode>
|
|
|
|
<AdditionalIncludeDirectories>../../include</AdditionalIncludeDirectories>
|
2019-07-19 04:41:28 +00:00
|
|
|
<PreprocessorDefinitions>MI_SHARED_LIB;MI_SHARED_LIB_EXPORT;MI_MALLOC_OVERRIDE;%(PreprocessorDefinitions);</PreprocessorDefinitions>
|
2019-06-19 23:26:12 +00:00
|
|
|
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
|
2019-07-16 00:38:16 +00:00
|
|
|
<SupportJustMyCode>false</SupportJustMyCode>
|
2019-07-23 22:10:25 +00:00
|
|
|
<CompileAs>Default</CompileAs>
|
2019-06-19 23:26:12 +00:00
|
|
|
</ClCompile>
|
|
|
|
<Link>
|
2019-07-23 22:51:08 +00:00
|
|
|
<AdditionalDependencies>%(AdditionalDependencies)</AdditionalDependencies>
|
2019-06-19 23:26:12 +00:00
|
|
|
<IgnoreSpecificDefaultLibraries>
|
|
|
|
</IgnoreSpecificDefaultLibraries>
|
|
|
|
<ModuleDefinitionFile>
|
|
|
|
</ModuleDefinitionFile>
|
2019-07-19 04:41:28 +00:00
|
|
|
<LinkTimeCodeGeneration>Default</LinkTimeCodeGeneration>
|
2019-07-23 22:51:08 +00:00
|
|
|
<EntryPointSymbol>DllEntry</EntryPointSymbol>
|
|
|
|
<IgnoreAllDefaultLibraries>false</IgnoreAllDefaultLibraries>
|
2019-06-19 23:26:12 +00:00
|
|
|
</Link>
|
2019-07-19 04:41:28 +00:00
|
|
|
<PostBuildEvent>
|
|
|
|
<Command>COPY /Y $(SolutionDir)..\..\bin\mimalloc-redirect.dll $(OutputPath)</Command>
|
|
|
|
</PostBuildEvent>
|
|
|
|
<PostBuildEvent>
|
|
|
|
<Message>copy mimalloc-redirect.dll to the output directory</Message>
|
|
|
|
</PostBuildEvent>
|
2019-06-19 23:26:12 +00:00
|
|
|
</ItemDefinitionGroup>
|
|
|
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
|
|
|
<ClCompile>
|
|
|
|
<WarningLevel>Level3</WarningLevel>
|
|
|
|
<Optimization>MaxSpeed</Optimization>
|
|
|
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
|
|
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
|
|
|
<ConformanceMode>true</ConformanceMode>
|
|
|
|
<AdditionalIncludeDirectories>../../include</AdditionalIncludeDirectories>
|
2019-07-19 04:41:28 +00:00
|
|
|
<PreprocessorDefinitions>MI_SHARED_LIB;MI_SHARED_LIB_EXPORT;MI_MALLOC_OVERRIDE;%(PreprocessorDefinitions);NDEBUG</PreprocessorDefinitions>
|
2019-06-19 23:26:12 +00:00
|
|
|
<AssemblerOutput>AssemblyAndSourceCode</AssemblerOutput>
|
|
|
|
<AssemblerListingLocation>$(IntDir)</AssemblerListingLocation>
|
2019-07-16 00:38:16 +00:00
|
|
|
<WholeProgramOptimization>false</WholeProgramOptimization>
|
2019-06-19 23:26:12 +00:00
|
|
|
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
|
2019-07-23 22:10:25 +00:00
|
|
|
<CompileAs>Default</CompileAs>
|
2019-08-20 14:04:00 +00:00
|
|
|
<BufferSecurityCheck>false</BufferSecurityCheck>
|
2019-06-19 23:26:12 +00:00
|
|
|
</ClCompile>
|
|
|
|
<Link>
|
|
|
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
|
|
|
<OptimizeReferences>true</OptimizeReferences>
|
2019-07-23 22:51:08 +00:00
|
|
|
<AdditionalDependencies>%(AdditionalDependencies)</AdditionalDependencies>
|
2019-06-19 23:26:12 +00:00
|
|
|
<ModuleDefinitionFile>
|
|
|
|
</ModuleDefinitionFile>
|
2019-07-19 04:41:28 +00:00
|
|
|
<LinkTimeCodeGeneration>Default</LinkTimeCodeGeneration>
|
2019-07-23 22:51:08 +00:00
|
|
|
<EntryPointSymbol>DllEntry</EntryPointSymbol>
|
|
|
|
<IgnoreAllDefaultLibraries>false</IgnoreAllDefaultLibraries>
|
2019-06-19 23:26:12 +00:00
|
|
|
</Link>
|
|
|
|
</ItemDefinitionGroup>
|
|
|
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
|
|
|
<ClCompile>
|
|
|
|
<WarningLevel>Level3</WarningLevel>
|
|
|
|
<Optimization>MaxSpeed</Optimization>
|
|
|
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
|
|
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
|
|
|
<ConformanceMode>true</ConformanceMode>
|
|
|
|
<AdditionalIncludeDirectories>../../include</AdditionalIncludeDirectories>
|
2019-07-19 04:41:28 +00:00
|
|
|
<PreprocessorDefinitions>MI_SHARED_LIB;MI_SHARED_LIB_EXPORT;MI_MALLOC_OVERRIDE;%(PreprocessorDefinitions);NDEBUG</PreprocessorDefinitions>
|
2019-06-19 23:26:12 +00:00
|
|
|
<AssemblerOutput>AssemblyAndSourceCode</AssemblerOutput>
|
|
|
|
<AssemblerListingLocation>$(IntDir)</AssemblerListingLocation>
|
2019-07-16 00:38:16 +00:00
|
|
|
<WholeProgramOptimization>false</WholeProgramOptimization>
|
2019-06-19 23:26:12 +00:00
|
|
|
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
|
2019-07-23 22:10:25 +00:00
|
|
|
<CompileAs>Default</CompileAs>
|
2019-08-20 14:04:00 +00:00
|
|
|
<BufferSecurityCheck>false</BufferSecurityCheck>
|
2019-06-19 23:26:12 +00:00
|
|
|
</ClCompile>
|
|
|
|
<Link>
|
|
|
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
|
|
|
<OptimizeReferences>true</OptimizeReferences>
|
2019-07-23 22:51:08 +00:00
|
|
|
<AdditionalDependencies>%(AdditionalDependencies)</AdditionalDependencies>
|
2019-06-19 23:26:12 +00:00
|
|
|
<ModuleDefinitionFile>
|
|
|
|
</ModuleDefinitionFile>
|
2019-07-19 04:41:28 +00:00
|
|
|
<LinkTimeCodeGeneration>Default</LinkTimeCodeGeneration>
|
2019-07-23 22:51:08 +00:00
|
|
|
<EntryPointSymbol>DllEntry</EntryPointSymbol>
|
|
|
|
<IgnoreAllDefaultLibraries>false</IgnoreAllDefaultLibraries>
|
2019-06-19 23:26:12 +00:00
|
|
|
</Link>
|
|
|
|
<PostBuildEvent>
|
2019-07-19 04:41:28 +00:00
|
|
|
<Command>COPY /Y $(SolutionDir)..\..\bin\mimalloc-redirect.dll $(OutputPath)</Command>
|
2019-06-19 23:26:12 +00:00
|
|
|
</PostBuildEvent>
|
|
|
|
<PostBuildEvent>
|
2019-07-19 04:41:28 +00:00
|
|
|
<Message>copy mimalloc-redirect.dll to the output directory</Message>
|
2019-06-19 23:26:12 +00:00
|
|
|
</PostBuildEvent>
|
|
|
|
</ItemDefinitionGroup>
|
|
|
|
<ItemGroup>
|
|
|
|
<ClInclude Include="$(ProjectDir)..\..\include\mimalloc-internal.h" />
|
|
|
|
<ClInclude Include="$(ProjectDir)..\..\include\mimalloc.h" />
|
|
|
|
<ClInclude Include="..\..\include\mimalloc-atomic.h" />
|
2019-07-19 04:20:18 +00:00
|
|
|
<ClInclude Include="..\..\include\mimalloc-override.h" />
|
2019-06-19 23:26:12 +00:00
|
|
|
<ClInclude Include="..\..\include\mimalloc-types.h" />
|
|
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
|
|
<ClCompile Include="..\..\src\alloc-aligned.c">
|
2019-07-08 01:52:12 +00:00
|
|
|
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">false</ExcludedFromBuild>
|
|
|
|
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</ExcludedFromBuild>
|
|
|
|
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">false</ExcludedFromBuild>
|
|
|
|
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">false</ExcludedFromBuild>
|
2019-06-19 23:26:12 +00:00
|
|
|
</ClCompile>
|
|
|
|
<ClCompile Include="..\..\src\alloc-override-win.c" />
|
2019-07-19 01:59:32 +00:00
|
|
|
<ClCompile Include="..\..\src\alloc-override.c">
|
|
|
|
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
|
|
|
|
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
|
|
|
|
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
|
|
|
|
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
|
|
|
|
</ClCompile>
|
2019-07-07 20:44:33 +00:00
|
|
|
<ClCompile Include="..\..\src\alloc-posix.c" />
|
2019-06-19 23:26:12 +00:00
|
|
|
<ClCompile Include="..\..\src\alloc.c" />
|
|
|
|
<ClCompile Include="..\..\src\heap.c" />
|
|
|
|
<ClCompile Include="..\..\src\init.c" />
|
2019-07-02 14:23:24 +00:00
|
|
|
<ClCompile Include="..\..\src\memory.c" />
|
2019-06-19 23:26:12 +00:00
|
|
|
<ClCompile Include="..\..\src\options.c" />
|
|
|
|
<ClCompile Include="..\..\src\os.c" />
|
|
|
|
<ClCompile Include="..\..\src\page-queue.c">
|
|
|
|
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
|
|
|
|
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
|
|
|
|
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
|
|
|
|
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
|
|
|
|
</ClCompile>
|
|
|
|
<ClCompile Include="..\..\src\page.c" />
|
|
|
|
<ClCompile Include="..\..\src\segment.c" />
|
|
|
|
<ClCompile Include="..\..\src\stats.c" />
|
|
|
|
</ItemGroup>
|
|
|
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
|
|
|
<ImportGroup Label="ExtensionTargets">
|
|
|
|
</ImportGroup>
|
|
|
|
</Project>
|