Development Win32 Development x64 Release Win32 Release x64 true {E2B46D67-90E2-40B6-9597-72930E7845E5} Win32Proj renderdoc renderdoc DynamicLibrary true Unicode v140 false true $(SolutionDir)$(Platform)\$(Configuration)\ $(SolutionDir)$(Platform)\$(Configuration)\obj\$(ProjectName)\ WIN64;%(PreprocessorDefinitions) RELEASE;%(PreprocessorDefinitions) Default false MultiThreadedDLL false true false ProgramDatabase $(SolutionDir)renderdoc\;$(SolutionDir)renderdoc\3rdparty\ RDOC_BASE_NAME=$(ProjectName);RENDERDOC_EXPORTS;RENDERDOC_PLATFORM_WIN32;WIN32;NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) Level4 true 4100 Use precompiled.h precompiled.h /w44062 /w44840 %(AdditionalOptions) Windows ws2_32.lib;kernel32.lib;user32.lib;shlwapi.lib;setupapi.lib;%(AdditionalDependencies) $(ProjectDir)os\win32\comexport.def true true Disabled MaxSpeed true true $(SolutionDir)$(Platform)\$(Configuration)\breakpad_common.lib;$(SolutionDir)$(Platform)\$(Configuration)\crash_generation_client.lib;$(SolutionDir)$(Platform)\$(Configuration)\exception_handler.lib;%(AdditionalDependencies) true true true true true true true true true true true true true true NotUsing MaxSpeed true true NotUsing MaxSpeed true true NotUsing MaxSpeed true true NotUsing MaxSpeed true true 4100;4127 NotUsing MaxSpeed true true true NotUsing MaxSpeed true true NotUsing MaxSpeed true true NotUsing NotUsing NotUsing MaxSpeed true true NotUsing MaxSpeed true true NotUsing MaxSpeed true true NotUsing MaxSpeed true true NotUsing MaxSpeed true true NotUsing MaxSpeed true true NotUsing MaxSpeed true true NotUsing MaxSpeed true true NotUsing MaxSpeed true true NotUsing MaxSpeed true true NotUsing MaxSpeed true true NotUsing MaxSpeed true true NotUsing MaxSpeed true true NotUsing MaxSpeed true true NotUsing MaxSpeed true true NotUsing MaxSpeed true true NotUsing MaxSpeed true true NotUsing MaxSpeed true true NotUsing MaxSpeed true true NotUsing MaxSpeed true true /bigobj %(AdditionalOptions) Create true true true true true true true true true true true true true true true true true true true true true true true using System; using System.Diagnostics; using System.Linq; using System.Runtime.CompilerServices; namespace DXCEnumerateAndCheck { public class GetDXCExecutable : Microsoft.Build.Utilities.Task { public override bool Execute() { string[] sdkPathsCheck = SDKPath.Split(';'); foreach(string sdkPathCheck in sdkPathsCheck) { try { string[] dirs = System.IO.Directory.GetDirectories(sdkPathCheck, "10.*"); // sort and reverse so we try from latest to oldest System.Array.Sort(dirs); System.Array.Reverse(dirs); // look for the latest dxc.exe available that works foreach(string path in dirs) { string dxcCheck = System.IO.Path.Combine(path, "x64", "dxc.exe"); if(System.IO.File.Exists(dxcCheck)) { // check that dxc.exe is runnable, some dxc.exe are broken try { ProcessStartInfo psi = new ProcessStartInfo(); psi.UseShellExecute = false; psi.FileName = dxcCheck; psi.CreateNoWindow = true; Process.Start(psi); DXC = dxcCheck; return true; } catch(Exception ex) { // keep going, maybe we'll find one that works } } } } catch(Exception ex) { // try next SDK path } } // always succeed even if we don't find dxc return true; } [Microsoft.Build.Framework.Required] public string SDKPath { get; set; } [Microsoft.Build.Framework.Output] public string DXC { get; set; } } } $(IntDir) $(DXILBakedDir.Replace('\', '/')) $(DXILBakedDirParam) RENDERDOC_BAKED_DXC_SHADERS=1;%(PreprocessorDefinitions) $([System.IO.File]::ReadAllText('$(SolutionDir)renderdoc/api/replay/version.h').Trim()) $(VersionFile.IndexOf('#define RENDERDOC_VERSION_MAJOR')) $(VersionFile.Substring($(MajorVersionStart)).Split(' ')[0].Split(' ')[2]) $(VersionFile.IndexOf('#define RENDERDOC_VERSION_MINOR')) $(VersionFile.Substring($(MinorVersionStart)).Split(' ')[0].Split(' ')[2]) ENABLE_VULKAN_$(ProjectName)_CAPTURE $([System.IO.File]::ReadAllText('$(SolutionDir)renderdoc/driver/vulkan/renderdoc.json').Replace('@RENDERDOC_VERSION_MAJOR@', '$(MajorVersion)').Replace('@RENDERDOC_VERSION_MINOR@', '$(MinorVersion)').Replace('@VULKAN_LAYER_MODULE_PATH@', '.\\$(ProjectName).dll').Replace('@VULKAN_ENABLE_VAR@', $(VulkanEnableVar.ToUpper()))) {f1e59a05-60d4-4927-9e57-dd191eae90ef} {9e6b10a2-84b4-434d-abdb-43be4ea650f4} {2a793574-bd3c-46d4-9788-c339d9550ce1} {f92fcda6-a261-4eec-9cd0-73a11fbcc459} {5de5a561-548a-4dd7-90f0-06a2b39eae9a} {F9CCE6CA-0CA3-4A22-9C7B-881369955E62} {7fcb5fc5-1dbd-4da6-83a0-6ba4e945bda5} {40349ad9-5558-4df4-84e2-11934de90a11} {88c5dac6-30a0-4cfd-af51-540a977d1f3f} {257fd75c-4d17-4a23-a754-23bfd85887a0} d3dcompiler_47.dll PreserveNewest false d3dcompiler_47.dll PreserveNewest false