Skip to content

Commit

Permalink
add solution and project files for v210
Browse files Browse the repository at this point in the history
  • Loading branch information
GoldJohnKing committed Mar 30, 2023
1 parent d6d4073 commit c525c3c
Show file tree
Hide file tree
Showing 5 changed files with 261 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ide/v210/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
x64
.vs
22 changes: 22 additions & 0 deletions ide/v210/libmimalloc.sln
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.5.33516.290
MinimumVisualStudioVersion = 10.0.40219.1
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "mimalloc", "mimalloc.vcxproj", "{220C5E15-13C5-3314-A93E-906A84ACF855}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Release|x64 = Release|x64
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{220C5E15-13C5-3314-A93E-906A84ACF855}.Release|x64.ActiveCfg = Release|x64
{220C5E15-13C5-3314-A93E-906A84ACF855}.Release|x64.Build.0 = Release|x64
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {F2242AD4-F4F3-3E12-9A87-CDC080475E07}
EndGlobalSection
EndGlobal
160 changes: 160 additions & 0 deletions ide/v210/mimalloc.vcxproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,160 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="17.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<PreferredToolArchitecture>x64</PreferredToolArchitecture>
</PropertyGroup>
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Release|x64">
<Configuration>Release</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{220C5E15-13C5-3314-A93E-906A84ACF855}</ProjectGuid>
<Keyword>Win32Proj</Keyword>
<WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
<Platform>x64</Platform>
<ProjectName>mimalloc</ProjectName>
<VCProjectUpgraderObjectName>NoUpgrade</VCProjectUpgraderObjectName>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<CharacterSet>MultiByte</CharacterSet>
<PlatformToolset>Intel C++ Compiler 2023</PlatformToolset>
<InterproceduralOptimization>true</InterproceduralOptimization>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<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" />
<PropertyGroup>
<_ProjectFileVersion>10.0.20506.1</_ProjectFileVersion>
<TargetName Condition="'$(Configuration)|$(Platform)'=='Release|x64'">mimalloc</TargetName>
<TargetExt Condition="'$(Configuration)|$(Platform)'=='Release|x64'">.dll</TargetExt>
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|x64'">false</LinkIncremental>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<IntDir>$(Platform)\$(Configuration)\$(ProjectName)</IntDir>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<ClCompile>
<AdditionalOptions>%(AdditionalOptions) /Zc:__cplusplus</AdditionalOptions>
<AssemblerListingLocation>$(IntDir)</AssemblerListingLocation>
<ExceptionHandling>Sync</ExceptionHandling>
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
<LanguageStandard>stdcpp20</LanguageStandard>
<Optimization>MaxSpeedHighLevel</Optimization>
<PrecompiledHeader>NotUsing</PrecompiledHeader>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
<UseFullPaths>false</UseFullPaths>
<WarningLevel>Level3</WarningLevel>
<PreprocessorDefinitions>%(PreprocessorDefinitions);WIN32;_WINDOWS;NDEBUG;MI_WIN_NOREDIRECT=1;MI_SHARED_LIB;MI_SHARED_LIB_EXPORT;CMAKE_INTDIR="Release";mimalloc_EXPORTS</PreprocessorDefinitions>
<ObjectFileName>$(IntDir)</ObjectFileName>
<DebugInformationFormat>
</DebugInformationFormat>
<LanguageStandard_C>stdc17</LanguageStandard_C>
<AdditionalIncludeDirectories>..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<IntrinsicFunctions>true</IntrinsicFunctions>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<InterproceduralOptimization>MultiFile</InterproceduralOptimization>
<BufferSecurityCheck>false</BufferSecurityCheck>
<FloatingPointModel>Fast</FloatingPointModel>
</ClCompile>
<ResourceCompile>
<PreprocessorDefinitions>%(PreprocessorDefinitions);WIN32;_WINDOWS;NDEBUG;MI_WIN_NOREDIRECT=1;MI_SHARED_LIB;MI_SHARED_LIB_EXPORT;CMAKE_INTDIR=\"Release\";mimalloc_EXPORTS</PreprocessorDefinitions>
<AdditionalIncludeDirectories>..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ResourceCompile>
<Midl>
<AdditionalIncludeDirectories>..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<OutputDirectory>$(ProjectDir)/$(IntDir)</OutputDirectory>
<HeaderFileName>%(Filename).h</HeaderFileName>
<TypeLibraryName>%(Filename).tlb</TypeLibraryName>
<InterfaceIdentifierFileName>%(Filename)_i.c</InterfaceIdentifierFileName>
<ProxyFileName>%(Filename)_p.c</ProxyFileName>
</Midl>
<Link>
<AdditionalDependencies>psapi.lib;shell32.lib;user32.lib;advapi32.lib;bcrypt.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;comdlg32.lib;advapi32.lib</AdditionalDependencies>
<AdditionalLibraryDirectories>%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<AdditionalOptions>%(AdditionalOptions) /machine:x64</AdditionalOptions>
<GenerateDebugInformation>false</GenerateDebugInformation>
<IgnoreSpecificDefaultLibraries>%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>
<SubSystem>Console</SubSystem>
<OptimizeReferences>true</OptimizeReferences>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<InterproceduralOptimization>true</InterproceduralOptimization>
</Link>
<ProjectReference>
<LinkLibraryDependencies>false</LinkLibraryDependencies>
</ProjectReference>
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="..\..\src\cma\cma_api.cpp">
<ObjectFileName>$(IntDir)/src/cma/cma_api.cpp.obj</ObjectFileName>
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">CompileAsCpp</CompileAs>
</ClCompile>
<ClCompile Include="..\..\src\cma\cma_api.h">
<ObjectFileName>$(IntDir)/src/cma/cma_api.h.obj</ObjectFileName>
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">CompileAsCpp</CompileAs>
</ClCompile>
<ClCompile Include="..\..\src\cma\cma_utils.cpp">
<ObjectFileName>$(IntDir)/src/cma/cma_utils.cpp.obj</ObjectFileName>
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">CompileAsCpp</CompileAs>
</ClCompile>
<ClCompile Include="..\..\src\cma\cma_utils.h">
<ObjectFileName>$(IntDir)/src/cma/cma_utils.h.obj</ObjectFileName>
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">CompileAsCpp</CompileAs>
</ClCompile>
<ClCompile Include="..\..\src\alloc.c">
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">CompileAsCpp</CompileAs>
</ClCompile>
<ClCompile Include="..\..\src\alloc-aligned.c">
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">CompileAsCpp</CompileAs>
</ClCompile>
<ClCompile Include="..\..\src\alloc-posix.c">
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">CompileAsCpp</CompileAs>
</ClCompile>
<ClCompile Include="..\..\src\arena.c">
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">CompileAsCpp</CompileAs>
</ClCompile>
<ClCompile Include="..\..\src\bitmap.c">
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">CompileAsCpp</CompileAs>
</ClCompile>
<ClCompile Include="..\..\src\heap.c">
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">CompileAsCpp</CompileAs>
</ClCompile>
<ClCompile Include="..\..\src\init.c">
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">CompileAsCpp</CompileAs>
</ClCompile>
<ClCompile Include="..\..\src\options.c">
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">CompileAsCpp</CompileAs>
</ClCompile>
<ClCompile Include="..\..\src\os.c">
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">CompileAsCpp</CompileAs>
</ClCompile>
<ClCompile Include="..\..\src\page.c">
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">CompileAsCpp</CompileAs>
</ClCompile>
<ClCompile Include="..\..\src\random.c">
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">CompileAsCpp</CompileAs>
</ClCompile>
<ClCompile Include="..\..\src\segment.c">
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">CompileAsCpp</CompileAs>
</ClCompile>
<ClCompile Include="..\..\src\segment-cache.c">
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">CompileAsCpp</CompileAs>
</ClCompile>
<ClCompile Include="..\..\src\stats.c">
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">CompileAsCpp</CompileAs>
</ClCompile>
<ClCompile Include="..\..\src\prim\prim.c">
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">CompileAsCpp</CompileAs>
</ClCompile>
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>
73 changes: 73 additions & 0 deletions ide/v210/mimalloc.vcxproj.filters
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="17.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<ClCompile Include="D:\GitRepos\mimalloc\src\cma\cma_api.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="D:\GitRepos\mimalloc\src\cma\cma_api.h">
<Filter>Header Files</Filter>
</ClCompile>
<ClCompile Include="D:\GitRepos\mimalloc\src\cma\cma_utils.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="D:\GitRepos\mimalloc\src\cma\cma_utils.h">
<Filter>Header Files</Filter>
</ClCompile>
<ClCompile Include="D:\GitRepos\mimalloc\src\alloc.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="D:\GitRepos\mimalloc\src\alloc-aligned.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="D:\GitRepos\mimalloc\src\alloc-posix.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="D:\GitRepos\mimalloc\src\arena.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="D:\GitRepos\mimalloc\src\bitmap.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="D:\GitRepos\mimalloc\src\heap.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="D:\GitRepos\mimalloc\src\init.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="D:\GitRepos\mimalloc\src\options.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="D:\GitRepos\mimalloc\src\os.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="D:\GitRepos\mimalloc\src\page.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="D:\GitRepos\mimalloc\src\random.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="D:\GitRepos\mimalloc\src\segment.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="D:\GitRepos\mimalloc\src\segment-cache.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="D:\GitRepos\mimalloc\src\stats.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="D:\GitRepos\mimalloc\src\prim\prim.c">
<Filter>Source Files</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<CustomBuild Include="D:\GitRepos\mimalloc\CMakeLists.txt" />
</ItemGroup>
<ItemGroup>
<Filter Include="Header Files">
<UniqueIdentifier>{0490CB9A-53B0-348A-8930-789B6C8F43CA}</UniqueIdentifier>
</Filter>
<Filter Include="Source Files">
<UniqueIdentifier>{7DF08B3B-4218-326A-8A61-705CF4C19964}</UniqueIdentifier>
</Filter>
</ItemGroup>
</Project>
4 changes: 4 additions & 0 deletions ide/v210/mimalloc.vcxproj.user
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup />
</Project>

0 comments on commit c525c3c

Please sign in to comment.