Mon, 18 Nov 2024 22:05:42 +0100
make ucx C++ compatible again (and add tests for it) - fixes #486
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 | <ClCompile Include="..\..\tests\test_allocator.c" /> | |
23 | <ClCompile Include="..\..\tests\test_buffer.c" /> | |
24 | <ClCompile Include="..\..\tests\test_compare.c" /> | |
25 | <ClCompile Include="..\..\tests\test_hash_key.c" /> | |
26 | <ClCompile Include="..\..\tests\test_hash_map.c" /> | |
27 | <ClCompile Include="..\..\tests\test_iterator.c" /> | |
28 | <ClCompile Include="..\..\tests\test_json.c" /> | |
29 | <ClCompile Include="..\..\tests\test_list.c" /> | |
30 | <ClCompile Include="..\..\tests\test_mempool.c" /> | |
31 | <ClCompile Include="..\..\tests\test_printf.c" /> | |
32 | <ClCompile Include="..\..\tests\test_properties.c" /> | |
33 | <ClCompile Include="..\..\tests\test_string.c" /> | |
970 | 34 | <ClCompile Include="..\..\tests\test_szmul.c" /> |
952 | 35 | <ClCompile Include="..\..\tests\test_tree.c" /> |
971
cc204fc56c9c
rename utils.h to streams.h
Mike Becker <universe@uap-core.de>
parents:
970
diff
changeset
|
36 | <ClCompile Include="..\..\tests\test_streams.c" /> |
952 | 37 | <ClCompile Include="..\..\tests\ucxtest.c" /> |
38 | <ClCompile Include="..\..\tests\util_allocator.c" /> | |
39 | </ItemGroup> | |
40 | <ItemGroup> | |
41 | <ClInclude Include="..\..\tests\util_allocator.h" /> | |
42 | </ItemGroup> | |
43 | <ItemGroup> | |
44 | <ProjectReference Include="..\libucx\libucx.vcxproj"> | |
45 | <Project>{a7ee56a3-0bad-4cab-9354-7fae2a65e276}</Project> | |
46 | </ProjectReference> | |
47 | </ItemGroup> | |
48 | <PropertyGroup Label="Globals"> | |
49 | <VCProjectVersion>17.0</VCProjectVersion> | |
50 | <Keyword>Win32Proj</Keyword> | |
51 | <ProjectGuid>{56337f37-5298-49c4-b4d4-b43c1b2900f0}</ProjectGuid> | |
52 | <RootNamespace>ucxtest</RootNamespace> | |
53 | <WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion> | |
54 | </PropertyGroup> | |
55 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> | |
56 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration"> | |
57 | <ConfigurationType>Application</ConfigurationType> | |
58 | <UseDebugLibraries>true</UseDebugLibraries> | |
59 | <PlatformToolset>v143</PlatformToolset> | |
60 | <CharacterSet>Unicode</CharacterSet> | |
61 | </PropertyGroup> | |
62 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration"> | |
63 | <ConfigurationType>Application</ConfigurationType> | |
64 | <UseDebugLibraries>false</UseDebugLibraries> | |
65 | <PlatformToolset>v143</PlatformToolset> | |
66 | <WholeProgramOptimization>true</WholeProgramOptimization> | |
67 | <CharacterSet>Unicode</CharacterSet> | |
68 | </PropertyGroup> | |
69 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration"> | |
70 | <ConfigurationType>Application</ConfigurationType> | |
71 | <UseDebugLibraries>true</UseDebugLibraries> | |
72 | <PlatformToolset>v143</PlatformToolset> | |
73 | <CharacterSet>Unicode</CharacterSet> | |
74 | </PropertyGroup> | |
75 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration"> | |
76 | <ConfigurationType>Application</ConfigurationType> | |
77 | <UseDebugLibraries>false</UseDebugLibraries> | |
78 | <PlatformToolset>v143</PlatformToolset> | |
79 | <WholeProgramOptimization>true</WholeProgramOptimization> | |
80 | <CharacterSet>Unicode</CharacterSet> | |
81 | </PropertyGroup> | |
82 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> | |
83 | <ImportGroup Label="ExtensionSettings"> | |
84 | </ImportGroup> | |
85 | <ImportGroup Label="Shared"> | |
86 | </ImportGroup> | |
87 | <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> | |
88 | <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> | |
89 | </ImportGroup> | |
90 | <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> | |
91 | <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> | |
92 | </ImportGroup> | |
93 | <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> | |
94 | <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> | |
95 | </ImportGroup> | |
96 | <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> | |
97 | <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> | |
98 | </ImportGroup> | |
99 | <PropertyGroup Label="UserMacros" /> | |
100 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> | |
101 | <OutDir>$(SolutionDir)..\build\msvc\$(Platform)\$(Configuration)\</OutDir> | |
102 | <IntDir>build\$(Platform)\$(Configuration)\</IntDir> | |
103 | </PropertyGroup> | |
104 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> | |
105 | <OutDir>$(SolutionDir)..\build\msvc\$(Platform)\$(Configuration)\</OutDir> | |
106 | <IntDir>build\$(Platform)\$(Configuration)\</IntDir> | |
107 | </PropertyGroup> | |
108 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> | |
109 | <OutDir>$(SolutionDir)..\build\msvc\$(Platform)\$(Configuration)\</OutDir> | |
110 | <IntDir>build\$(Platform)\$(Configuration)\</IntDir> | |
111 | </PropertyGroup> | |
112 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> | |
113 | <OutDir>$(SolutionDir)..\build\msvc\$(Platform)\$(Configuration)\</OutDir> | |
114 | <IntDir>build\$(Platform)\$(Configuration)\</IntDir> | |
115 | </PropertyGroup> | |
116 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> | |
117 | <ClCompile> | |
118 | <WarningLevel>Level3</WarningLevel> | |
119 | <SDLCheck>true</SDLCheck> | |
120 | <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions> | |
121 | <ConformanceMode>true</ConformanceMode> | |
122 | <LanguageStandard_C>stdc17</LanguageStandard_C> | |
123 | <AdditionalIncludeDirectories>$(SolutionDir)..\src\</AdditionalIncludeDirectories> | |
124 | <CompileAs>CompileAsC</CompileAs> | |
125 | </ClCompile> | |
126 | <Link> | |
127 | <SubSystem>Console</SubSystem> | |
128 | <GenerateDebugInformation>true</GenerateDebugInformation> | |
129 | <AdditionalLibraryDirectories>$(OutputPath)</AdditionalLibraryDirectories> | |
130 | <AdditionalDependencies>libucx.lib;$(CoreLibraryDependencies);%(AdditionalDependencies)</AdditionalDependencies> | |
131 | </Link> | |
132 | </ItemDefinitionGroup> | |
133 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> | |
134 | <ClCompile> | |
135 | <WarningLevel>Level3</WarningLevel> | |
136 | <FunctionLevelLinking>true</FunctionLevelLinking> | |
137 | <IntrinsicFunctions>true</IntrinsicFunctions> | |
138 | <SDLCheck>true</SDLCheck> | |
139 | <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions> | |
140 | <ConformanceMode>true</ConformanceMode> | |
141 | <LanguageStandard_C>stdc17</LanguageStandard_C> | |
142 | <AdditionalIncludeDirectories>$(SolutionDir)..\src\</AdditionalIncludeDirectories> | |
143 | <CompileAs>CompileAsC</CompileAs> | |
144 | </ClCompile> | |
145 | <Link> | |
146 | <SubSystem>Console</SubSystem> | |
147 | <EnableCOMDATFolding>true</EnableCOMDATFolding> | |
148 | <OptimizeReferences>true</OptimizeReferences> | |
149 | <GenerateDebugInformation>true</GenerateDebugInformation> | |
150 | <AdditionalLibraryDirectories>$(OutputPath)</AdditionalLibraryDirectories> | |
151 | <AdditionalDependencies>libucx.lib;$(CoreLibraryDependencies);%(AdditionalDependencies)</AdditionalDependencies> | |
152 | </Link> | |
153 | </ItemDefinitionGroup> | |
154 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> | |
155 | <ClCompile> | |
156 | <WarningLevel>Level3</WarningLevel> | |
157 | <SDLCheck>true</SDLCheck> | |
158 | <PreprocessorDefinitions>_DEBUG;_CONSOLE;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions> | |
159 | <ConformanceMode>true</ConformanceMode> | |
160 | <LanguageStandard_C>stdc17</LanguageStandard_C> | |
161 | <AdditionalIncludeDirectories>$(SolutionDir)..\src\</AdditionalIncludeDirectories> | |
162 | <CompileAs>CompileAsC</CompileAs> | |
163 | </ClCompile> | |
164 | <Link> | |
165 | <SubSystem>Console</SubSystem> | |
166 | <GenerateDebugInformation>true</GenerateDebugInformation> | |
167 | <AdditionalLibraryDirectories>$(OutputPath)</AdditionalLibraryDirectories> | |
168 | <AdditionalDependencies>libucx.lib;$(CoreLibraryDependencies);%(AdditionalDependencies)</AdditionalDependencies> | |
169 | </Link> | |
170 | </ItemDefinitionGroup> | |
171 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> | |
172 | <ClCompile> | |
173 | <WarningLevel>Level3</WarningLevel> | |
174 | <FunctionLevelLinking>true</FunctionLevelLinking> | |
175 | <IntrinsicFunctions>true</IntrinsicFunctions> | |
176 | <SDLCheck>true</SDLCheck> | |
177 | <PreprocessorDefinitions>NDEBUG;_CONSOLE;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions> | |
178 | <ConformanceMode>true</ConformanceMode> | |
179 | <LanguageStandard_C>stdc17</LanguageStandard_C> | |
180 | <AdditionalIncludeDirectories>$(SolutionDir)..\src\</AdditionalIncludeDirectories> | |
181 | <CompileAs>CompileAsC</CompileAs> | |
182 | </ClCompile> | |
183 | <Link> | |
184 | <SubSystem>Console</SubSystem> | |
185 | <EnableCOMDATFolding>true</EnableCOMDATFolding> | |
186 | <OptimizeReferences>true</OptimizeReferences> | |
187 | <GenerateDebugInformation>true</GenerateDebugInformation> | |
188 | <AdditionalLibraryDirectories>$(OutputPath)</AdditionalLibraryDirectories> | |
189 | <AdditionalDependencies>libucx.lib;$(CoreLibraryDependencies);%(AdditionalDependencies)</AdditionalDependencies> | |
190 | </Link> | |
191 | </ItemDefinitionGroup> | |
192 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> | |
193 | <ImportGroup Label="ExtensionTargets"> | |
194 | </ImportGroup> | |
195 | </Project> |