2021-03-26 18:53:37 +00:00
|
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
|
<Project DefaultTargets="Build" ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
|
|
|
<ItemGroup Label="ProjectConfigurations">
|
|
|
|
|
<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">
|
|
|
|
|
<ProjectGuid>{A37E4273-85DB-4217-B775-CE971B87D9DF}</ProjectGuid>
|
|
|
|
|
<Keyword>MakeFileProj</Keyword>
|
|
|
|
|
</PropertyGroup>
|
2023-04-06 21:56:47 +00:00
|
|
|
|
<Import Project="$(SolutionDir)\buildfiles\msvc\common_default_clang_cl.props" />
|
2021-03-26 18:53:37 +00:00
|
|
|
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
2023-04-06 21:56:47 +00:00
|
|
|
|
<Import Project="$(SolutionDir)\buildfiles\msvc\common_default_macros.props" />
|
2021-03-26 18:53:37 +00:00
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
|
|
|
|
<ConfigurationType>Makefile</ConfigurationType>
|
|
|
|
|
<UseDebugLibraries>true</UseDebugLibraries>
|
|
|
|
|
</PropertyGroup>
|
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
|
|
|
|
<ConfigurationType>Makefile</ConfigurationType>
|
|
|
|
|
<UseDebugLibraries>false</UseDebugLibraries>
|
|
|
|
|
</PropertyGroup>
|
|
|
|
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
|
|
|
|
<PropertyGroup>
|
|
|
|
|
<PreferredToolArchitecture>x64</PreferredToolArchitecture>
|
|
|
|
|
</PropertyGroup>
|
|
|
|
|
<ImportGroup Label="ExtensionSettings">
|
|
|
|
|
</ImportGroup>
|
|
|
|
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
|
|
|
|
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
|
|
|
|
</ImportGroup>
|
|
|
|
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
|
|
|
|
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
|
|
|
|
</ImportGroup>
|
|
|
|
|
<PropertyGroup Label="UserMacros">
|
|
|
|
|
<CmakeReleaseCLI>call vsdevcmd.bat -arch=amd64
|
2024-03-10 19:08:20 +00:00
|
|
|
|
cmake -G Ninja -DCMAKE_CXX_COMPILER="clang-cl.exe" -DCMAKE_C_COMPILER="clang-cl.exe" -DCMAKE_BUILD_TYPE="Release" -DLLVM_TARGETS_TO_BUILD=X86 -DLLVM_DEFAULT_TARGET_TRIPLE:STRING=x86_64-pc-windows-msvc -DLLVM_HOST_TRIPLE:STRING=x86_64-pc-windows-msvc -DCMAKE_INSTALL_PREFIX="./Release" -DLLVM_BUILD_RUNTIME=OFF -DLLVM_BUILD_TOOLS=OFF -DLLVM_INCLUDE_DOCS=OFF -DLLVM_INCLUDE_EXAMPLES=OFF -DLLVM_INCLUDE_TESTS=OFF -DLLVM_INCLUDE_BENCHMARKS=OFF -DLLVM_INCLUDE_UTILS=OFF -DCMAKE_SYSTEM_VERSION=6.1 -DCMAKE_VS_WINDOWS_TARGET_PLATFORM_VERSION=$(WindowsTargetPlatformVersion) -DLLVM_USE_CRT_DEBUG=MDd -DLLVM_USE_CRT_RELEASE=MT -DLLVM_USE_INTEL_JITEVENTS=ON ../llvm/llvm</CmakeReleaseCLI>
|
2021-03-26 18:53:37 +00:00
|
|
|
|
<CmakeDebugCLI>call vsdevcmd.bat -arch=amd64
|
2024-03-10 19:08:20 +00:00
|
|
|
|
cmake -G Ninja -DCMAKE_CXX_COMPILER="clang-cl.exe" -DCMAKE_C_COMPILER="clang-cl.exe" -DCMAKE_BUILD_TYPE="Debug" -DLLVM_TARGETS_TO_BUILD=X86 -DLLVM_DEFAULT_TARGET_TRIPLE:STRING=x86_64-pc-windows-msvc -DLLVM_HOST_TRIPLE:STRING=x86_64-pc-windows-msvc -DCMAKE_INSTALL_PREFIX="./Debug" -DLLVM_BUILD_RUNTIME=OFF -DLLVM_BUILD_TOOLS=OFF -DLLVM_INCLUDE_DOCS=OFF -DLLVM_INCLUDE_EXAMPLES=OFF -DLLVM_INCLUDE_TESTS=OFF -DLLVM_INCLUDE_BENCHMARKS=OFF -DLLVM_INCLUDE_UTILS=OFF -DCMAKE_SYSTEM_VERSION=6.1 -DCMAKE_VS_WINDOWS_TARGET_PLATFORM_VERSION=$(WindowsTargetPlatformVersion) -DLLVM_USE_CRT_DEBUG=MDd -DLLVM_USE_CRT_RELEASE=MT -DLLVM_USE_INTEL_JITEVENTS=ON ../llvm/llvm</CmakeDebugCLI>
|
2021-03-26 18:53:37 +00:00
|
|
|
|
<CmakeCleanCLI>echo Cleaning..
|
|
|
|
|
for /F "delims= eol=|" %%f in ('
|
|
|
|
|
dir /b ^| findstr /V "[^.]*\build[^.]*\.vcxproj"') do (
|
|
|
|
|
echo Deleting .\%%f
|
|
|
|
|
if exist %%f\nul (
|
|
|
|
|
rmdir .\%%f /s /q
|
|
|
|
|
) else (
|
|
|
|
|
del .\%%f /q
|
|
|
|
|
)
|
|
|
|
|
)
|
|
|
|
|
</CmakeCleanCLI>
|
|
|
|
|
</PropertyGroup>
|
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
|
|
|
|
<NMakePreprocessorDefinitions>
|
|
|
|
|
</NMakePreprocessorDefinitions>
|
|
|
|
|
<NMakeBuildCommandLine>$(CmakeDebugCLI)
|
|
|
|
|
ninja
|
|
|
|
|
ninja install
|
|
|
|
|
</NMakeBuildCommandLine>
|
|
|
|
|
<NMakeReBuildCommandLine>del CMakeCache.txt
|
|
|
|
|
$(CmakeDebugCLI)
|
|
|
|
|
ninja
|
|
|
|
|
ninja install
|
|
|
|
|
</NMakeReBuildCommandLine>
|
|
|
|
|
<NMakeCleanCommandLine>
|
|
|
|
|
$(CmakeCleanCLI)
|
|
|
|
|
</NMakeCleanCommandLine>
|
|
|
|
|
</PropertyGroup>
|
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
|
|
|
|
<NMakePreprocessorDefinitions />
|
|
|
|
|
<NMakeBuildCommandLine>$(CmakeReleaseCLI)
|
|
|
|
|
ninja
|
|
|
|
|
ninja install
|
|
|
|
|
</NMakeBuildCommandLine>
|
|
|
|
|
<NMakeReBuildCommandLine>del CMakeCache.txt
|
|
|
|
|
$(CmakeReleaseCLI)
|
|
|
|
|
ninja
|
|
|
|
|
ninja install
|
|
|
|
|
</NMakeReBuildCommandLine>
|
|
|
|
|
<NMakeCleanCommandLine>
|
|
|
|
|
$(CmakeCleanCLI)
|
|
|
|
|
</NMakeCleanCommandLine>
|
|
|
|
|
</PropertyGroup>
|
|
|
|
|
<ItemDefinitionGroup>
|
|
|
|
|
</ItemDefinitionGroup>
|
|
|
|
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
|
|
|
|
<ImportGroup Label="ExtensionTargets">
|
|
|
|
|
</ImportGroup>
|
|
|
|
|
</Project>
|