Tue, 29 Oct 2024 16:53:00 +0100
add msvc support
952 | 1 | <?xml version="1.0" encoding="utf-8"?> |
2 | <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | |
3 | <ItemGroup Label="ProjectConfigurations"> | |
4 | <ProjectConfiguration Include="Debug|Win32"> | |
5 | <Configuration>Debug</Configuration> | |
6 | <Platform>Win32</Platform> | |
7 | </ProjectConfiguration> | |
8 | <ProjectConfiguration Include="Release|Win32"> | |
9 | <Configuration>Release</Configuration> | |
10 | <Platform>Win32</Platform> | |
11 | </ProjectConfiguration> | |
12 | <ProjectConfiguration Include="Debug|x64"> | |
13 | <Configuration>Debug</Configuration> | |
14 | <Platform>x64</Platform> | |
15 | </ProjectConfiguration> | |
16 | <ProjectConfiguration Include="Release|x64"> | |
17 | <Configuration>Release</Configuration> | |
18 | <Platform>x64</Platform> | |
19 | </ProjectConfiguration> | |
20 | </ItemGroup> | |
21 | <ItemGroup> | |
22 | <ClInclude Include="..\..\src\cx\allocator.h" /> | |
23 | <ClInclude Include="..\..\src\cx\array_list.h" /> | |
24 | <ClInclude Include="..\..\src\cx\buffer.h" /> | |
25 | <ClInclude Include="..\..\src\cx\collection.h" /> | |
26 | <ClInclude Include="..\..\src\cx\common.h" /> | |
27 | <ClInclude Include="..\..\src\cx\compare.h" /> | |
28 | <ClInclude Include="..\..\src\cx\hash_key.h" /> | |
29 | <ClInclude Include="..\..\src\cx\hash_map.h" /> | |
30 | <ClInclude Include="..\..\src\cx\iterator.h" /> | |
31 | <ClInclude Include="..\..\src\cx\json.h" /> | |
32 | <ClInclude Include="..\..\src\cx\linked_list.h" /> | |
33 | <ClInclude Include="..\..\src\cx\list.h" /> | |
34 | <ClInclude Include="..\..\src\cx\map.h" /> | |
35 | <ClInclude Include="..\..\src\cx\mempool.h" /> | |
36 | <ClInclude Include="..\..\src\cx\printf.h" /> | |
37 | <ClInclude Include="..\..\src\cx\properties.h" /> | |
38 | <ClInclude Include="..\..\src\cx\string.h" /> | |
39 | <ClInclude Include="..\..\src\cx\test.h" /> | |
40 | <ClInclude Include="..\..\src\cx\tree.h" /> | |
41 | <ClInclude Include="..\..\src\cx\utils.h" /> | |
42 | </ItemGroup> | |
43 | <ItemGroup> | |
44 | <ClCompile Include="..\..\src\allocator.c" /> | |
45 | <ClCompile Include="..\..\src\array_list.c" /> | |
46 | <ClCompile Include="..\..\src\buffer.c" /> | |
47 | <ClCompile Include="..\..\src\compare.c" /> | |
48 | <ClCompile Include="..\..\src\hash_key.c" /> | |
49 | <ClCompile Include="..\..\src\hash_map.c" /> | |
50 | <ClCompile Include="..\..\src\iterator.c" /> | |
51 | <ClCompile Include="..\..\src\json.c" /> | |
52 | <ClCompile Include="..\..\src\linked_list.c" /> | |
53 | <ClCompile Include="..\..\src\list.c" /> | |
54 | <ClCompile Include="..\..\src\map.c" /> | |
55 | <ClCompile Include="..\..\src\mempool.c" /> | |
56 | <ClCompile Include="..\..\src\printf.c" /> | |
57 | <ClCompile Include="..\..\src\properties.c" /> | |
58 | <ClCompile Include="..\..\src\string.c" /> | |
59 | <ClCompile Include="..\..\src\tree.c" /> | |
60 | <ClCompile Include="..\..\src\utils.c" /> | |
61 | </ItemGroup> | |
62 | <PropertyGroup Label="Globals"> | |
63 | <VCProjectVersion>17.0</VCProjectVersion> | |
64 | <Keyword>Win32Proj</Keyword> | |
65 | <ProjectGuid>{a7ee56a3-0bad-4cab-9354-7fae2a65e276}</ProjectGuid> | |
66 | <RootNamespace>libucx</RootNamespace> | |
67 | <WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion> | |
68 | </PropertyGroup> | |
69 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> | |
70 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration"> | |
71 | <ConfigurationType>StaticLibrary</ConfigurationType> | |
72 | <UseDebugLibraries>true</UseDebugLibraries> | |
73 | <PlatformToolset>v143</PlatformToolset> | |
74 | <CharacterSet>Unicode</CharacterSet> | |
75 | </PropertyGroup> | |
76 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration"> | |
77 | <ConfigurationType>StaticLibrary</ConfigurationType> | |
78 | <UseDebugLibraries>false</UseDebugLibraries> | |
79 | <PlatformToolset>v143</PlatformToolset> | |
80 | <WholeProgramOptimization>true</WholeProgramOptimization> | |
81 | <CharacterSet>Unicode</CharacterSet> | |
82 | </PropertyGroup> | |
83 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration"> | |
84 | <ConfigurationType>StaticLibrary</ConfigurationType> | |
85 | <UseDebugLibraries>true</UseDebugLibraries> | |
86 | <PlatformToolset>v143</PlatformToolset> | |
87 | <CharacterSet>Unicode</CharacterSet> | |
88 | </PropertyGroup> | |
89 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration"> | |
90 | <ConfigurationType>StaticLibrary</ConfigurationType> | |
91 | <UseDebugLibraries>false</UseDebugLibraries> | |
92 | <PlatformToolset>v143</PlatformToolset> | |
93 | <WholeProgramOptimization>true</WholeProgramOptimization> | |
94 | <CharacterSet>Unicode</CharacterSet> | |
95 | </PropertyGroup> | |
96 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> | |
97 | <ImportGroup Label="ExtensionSettings"> | |
98 | </ImportGroup> | |
99 | <ImportGroup Label="Shared"> | |
100 | </ImportGroup> | |
101 | <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> | |
102 | <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> | |
103 | </ImportGroup> | |
104 | <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> | |
105 | <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> | |
106 | </ImportGroup> | |
107 | <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> | |
108 | <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> | |
109 | </ImportGroup> | |
110 | <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> | |
111 | <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> | |
112 | </ImportGroup> | |
113 | <PropertyGroup Label="UserMacros" /> | |
114 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> | |
115 | <IntDir>build\$(Platform)\$(Configuration)\</IntDir> | |
116 | <OutDir>$(SolutionDir)..\build\msvc\$(Platform)\$(Configuration)\</OutDir> | |
117 | </PropertyGroup> | |
118 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> | |
119 | <IntDir>build\$(Platform)\$(Configuration)\</IntDir> | |
120 | <OutDir>$(SolutionDir)..\build\msvc\$(Platform)\$(Configuration)\</OutDir> | |
121 | </PropertyGroup> | |
122 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> | |
123 | <IntDir>build\$(Platform)\$(Configuration)\</IntDir> | |
124 | <OutDir>$(SolutionDir)..\build\msvc\$(Platform)\$(Configuration)\</OutDir> | |
125 | </PropertyGroup> | |
126 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> | |
127 | <IntDir>build\$(Platform)\$(Configuration)\</IntDir> | |
128 | <OutDir>$(SolutionDir)..\build\msvc\$(Platform)\$(Configuration)\</OutDir> | |
129 | </PropertyGroup> | |
130 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> | |
131 | <ClCompile> | |
132 | <WarningLevel>Level3</WarningLevel> | |
133 | <SDLCheck>true</SDLCheck> | |
134 | <PreprocessorDefinitions>WIN32;_DEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions> | |
135 | <ConformanceMode>true</ConformanceMode> | |
136 | <PrecompiledHeader>NotUsing</PrecompiledHeader> | |
137 | <PrecompiledHeaderFile> | |
138 | </PrecompiledHeaderFile> | |
139 | <LanguageStandard_C>stdc17</LanguageStandard_C> | |
140 | <CompileAs>CompileAsC</CompileAs> | |
141 | <AdditionalIncludeDirectories> | |
142 | </AdditionalIncludeDirectories> | |
143 | </ClCompile> | |
144 | <Link> | |
145 | <SubSystem> | |
146 | </SubSystem> | |
147 | <GenerateDebugInformation>true</GenerateDebugInformation> | |
148 | </Link> | |
149 | <Lib> | |
150 | <AdditionalDependencies> | |
151 | </AdditionalDependencies> | |
152 | <AdditionalLibraryDirectories> | |
153 | </AdditionalLibraryDirectories> | |
154 | </Lib> | |
155 | </ItemDefinitionGroup> | |
156 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> | |
157 | <ClCompile> | |
158 | <WarningLevel>Level3</WarningLevel> | |
159 | <FunctionLevelLinking>true</FunctionLevelLinking> | |
160 | <IntrinsicFunctions>true</IntrinsicFunctions> | |
161 | <SDLCheck>true</SDLCheck> | |
162 | <PreprocessorDefinitions>WIN32;NDEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions> | |
163 | <ConformanceMode>true</ConformanceMode> | |
164 | <PrecompiledHeader>NotUsing</PrecompiledHeader> | |
165 | <PrecompiledHeaderFile> | |
166 | </PrecompiledHeaderFile> | |
167 | <LanguageStandard_C>stdc17</LanguageStandard_C> | |
168 | <CompileAs>CompileAsC</CompileAs> | |
169 | <AdditionalIncludeDirectories> | |
170 | </AdditionalIncludeDirectories> | |
171 | </ClCompile> | |
172 | <Link> | |
173 | <SubSystem> | |
174 | </SubSystem> | |
175 | <EnableCOMDATFolding>true</EnableCOMDATFolding> | |
176 | <OptimizeReferences>true</OptimizeReferences> | |
177 | <GenerateDebugInformation>true</GenerateDebugInformation> | |
178 | </Link> | |
179 | <Lib> | |
180 | <AdditionalDependencies> | |
181 | </AdditionalDependencies> | |
182 | <AdditionalLibraryDirectories> | |
183 | </AdditionalLibraryDirectories> | |
184 | </Lib> | |
185 | </ItemDefinitionGroup> | |
186 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> | |
187 | <ClCompile> | |
188 | <WarningLevel>Level3</WarningLevel> | |
189 | <SDLCheck>true</SDLCheck> | |
190 | <PreprocessorDefinitions>_DEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions> | |
191 | <ConformanceMode>true</ConformanceMode> | |
192 | <PrecompiledHeader>NotUsing</PrecompiledHeader> | |
193 | <PrecompiledHeaderFile> | |
194 | </PrecompiledHeaderFile> | |
195 | <LanguageStandard_C>stdc17</LanguageStandard_C> | |
196 | <CompileAs>CompileAsC</CompileAs> | |
197 | <AdditionalIncludeDirectories> | |
198 | </AdditionalIncludeDirectories> | |
199 | </ClCompile> | |
200 | <Link> | |
201 | <SubSystem> | |
202 | </SubSystem> | |
203 | <GenerateDebugInformation>true</GenerateDebugInformation> | |
204 | </Link> | |
205 | <Lib> | |
206 | <AdditionalDependencies> | |
207 | </AdditionalDependencies> | |
208 | <AdditionalLibraryDirectories> | |
209 | </AdditionalLibraryDirectories> | |
210 | </Lib> | |
211 | </ItemDefinitionGroup> | |
212 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> | |
213 | <ClCompile> | |
214 | <WarningLevel>Level3</WarningLevel> | |
215 | <FunctionLevelLinking>true</FunctionLevelLinking> | |
216 | <IntrinsicFunctions>true</IntrinsicFunctions> | |
217 | <SDLCheck>true</SDLCheck> | |
218 | <PreprocessorDefinitions>NDEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions> | |
219 | <ConformanceMode>true</ConformanceMode> | |
220 | <PrecompiledHeader>NotUsing</PrecompiledHeader> | |
221 | <PrecompiledHeaderFile> | |
222 | </PrecompiledHeaderFile> | |
223 | <LanguageStandard_C>stdc17</LanguageStandard_C> | |
224 | <CompileAs>CompileAsC</CompileAs> | |
225 | <AdditionalIncludeDirectories> | |
226 | </AdditionalIncludeDirectories> | |
227 | </ClCompile> | |
228 | <Link> | |
229 | <SubSystem> | |
230 | </SubSystem> | |
231 | <EnableCOMDATFolding>true</EnableCOMDATFolding> | |
232 | <OptimizeReferences>true</OptimizeReferences> | |
233 | <GenerateDebugInformation>true</GenerateDebugInformation> | |
234 | </Link> | |
235 | <Lib> | |
236 | <AdditionalDependencies> | |
237 | </AdditionalDependencies> | |
238 | <AdditionalLibraryDirectories> | |
239 | </AdditionalLibraryDirectories> | |
240 | </Lib> | |
241 | </ItemDefinitionGroup> | |
242 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> | |
243 | <ImportGroup Label="ExtensionTargets"> | |
244 | </ImportGroup> | |
245 | </Project> |