mirror of
https://github.com/richgel999/ufo_data.git
synced 2025-04-18 14:25:56 -04:00
Add ClangCL Debug and Release configurations
You need to have "MSBuild support for LLVM (clang-cl) toolset" installed under VS2022. These currently do not compile, as there are issues in the code that Clang does not like that need to be addressed in future commits.
This commit is contained in:
parent
df546e54f7
commit
7af9ce6128
@ -8,13 +8,19 @@ EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|x64 = Debug|x64
|
||||
DebugClangCL|x64 = DebugClangCL|x64
|
||||
Release|x64 = Release|x64
|
||||
ReleaseClangCL|x64 = ReleaseClangCL|x64
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{E4A0DD72-979A-469B-9B0A-4ABE0B7C93D7}.Debug|x64.ActiveCfg = Debug|x64
|
||||
{E4A0DD72-979A-469B-9B0A-4ABE0B7C93D7}.Debug|x64.Build.0 = Debug|x64
|
||||
{E4A0DD72-979A-469B-9B0A-4ABE0B7C93D7}.DebugClangCL|x64.ActiveCfg = DebugClangCL|x64
|
||||
{E4A0DD72-979A-469B-9B0A-4ABE0B7C93D7}.DebugClangCL|x64.Build.0 = DebugClangCL|x64
|
||||
{E4A0DD72-979A-469B-9B0A-4ABE0B7C93D7}.Release|x64.ActiveCfg = Release|x64
|
||||
{E4A0DD72-979A-469B-9B0A-4ABE0B7C93D7}.Release|x64.Build.0 = Release|x64
|
||||
{E4A0DD72-979A-469B-9B0A-4ABE0B7C93D7}.ReleaseClangCL|x64.ActiveCfg = ReleaseClangCL|x64
|
||||
{E4A0DD72-979A-469B-9B0A-4ABE0B7C93D7}.ReleaseClangCL|x64.Build.0 = ReleaseClangCL|x64
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
|
@ -5,10 +5,18 @@
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="DebugClangCL|x64">
|
||||
<Configuration>DebugClangCL</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|x64">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="ReleaseClangCL|x64">
|
||||
<Configuration>ReleaseClangCL</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
</ItemGroup>
|
||||
<PropertyGroup Label="Globals">
|
||||
<VCProjectVersion>16.0</VCProjectVersion>
|
||||
@ -22,9 +30,10 @@
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<PlatformToolset>v142</PlatformToolset>
|
||||
<PlatformToolset Condition="'$(VisualStudioVersion)'=='17.0'">v143</PlatformToolset>
|
||||
<PlatformToolset Condition=" $(Configuration.EndsWith('ClangCL')) ">ClangCL</PlatformToolset>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
<UseDebugLibraries Condition="'$(Configuration)'=='Debug'">true</UseDebugLibraries>
|
||||
<WholeProgramOptimization Condition="'$(Configuration)'=='Release'">true</WholeProgramOptimization>
|
||||
<UseDebugLibraries Condition=" $(Configuration.StartsWith('Debug')) ">true</UseDebugLibraries>
|
||||
<WholeProgramOptimization Condition=" $(Configuration.StartsWith('Release')) ">true</WholeProgramOptimization>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||
<ImportGroup Label="ExtensionSettings">
|
||||
@ -53,12 +62,12 @@
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)'=='Debug'">
|
||||
<ItemDefinitionGroup Condition=" $(Configuration.StartsWith('Debug')) ">
|
||||
<ClCompile>
|
||||
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
</ClCompile>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)'=='Release'">
|
||||
<ItemDefinitionGroup Condition=" $(Configuration.StartsWith('Release')) ">
|
||||
<ClCompile>
|
||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
|
Loading…
x
Reference in New Issue
Block a user