use build .bat to build faster

This commit is contained in:
2026-07-23 11:25:15 -04:00
parent 550089b42e
commit b334273313
6 changed files with 225 additions and 92 deletions
+11 -11
View File
@@ -6,25 +6,25 @@
.ProjectConfigsShader = {}
.DXCSourcePath = '$ProjectPath$/DXShaderCompiler'
// 0. Single Unity generator target
Unity( '$ProjectName$-Unity' )
{
.UnityInputPath = '$ProjectPath$/'
.UnityOutputPath = 'Intermediate/$ProjectPath$/'
.UnityOutputPattern = '$ProjectName$_Unity*.cpp'
.UnityMaxFiles = 5
.UnityPBRoot = ''
}
ForEach( .BuildConfig in .ShaderCompilerConfigs )
{
Using( .BuildConfig )
.OutputBase + '\$Platform$-$BuildConfigName$'
// Unity
//--------------------------------------------------------------------------
Unity( '$ProjectName$-Unity-$Platform$-$BuildConfigName$' )
{
.UnityInputPath = '$ProjectPath$/'
.UnityOutputPath = '$OutputBase$/$ProjectPath$/'
.UnityOutputPattern = '$ProjectName$_Unity*.cpp'
.UnityMaxFiles = 5
}
// 2. Define the Build Targets for this specific configuration
ObjectList( '$ProjectName$-Obs-$Platform$-$BuildConfigName$' )
{
.CompilerInputUnity = '$ProjectName$-Unity-$Platform$-$BuildConfigName$'
.CompilerInputUnity = '$ProjectName$-Unity'
.CompilerOutputPath = '$OutputBase$/$ProjectPath$/'
.CompilerOptions + ' "-IJuliet/include"'
+ ' "-IJulietShaderCompiler"'