@@ -56,6 +56,7 @@ set FIXED_LOC=
56
56
set VENDOR =
57
57
set SPIRV = OFF
58
58
set SPV_TEST = OFF
59
+ set DXILCONV = ON
59
60
60
61
if " %1 " == " -s" (
61
62
set DO_BUILD = 0
@@ -159,6 +160,11 @@ if "%1"=="-no-parallel" (
159
160
shift /1
160
161
)
161
162
163
+ if " %1 " == " -no-dxilconv" (
164
+ set DXILCONV = OFF
165
+ shift /1
166
+ )
167
+
162
168
rem If only VS 2017 is available, pick that by default.
163
169
if " %BUILD_VS_VER% " == " 2015" (
164
170
reg query HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\DevDiv\vs\Servicing\14.0\devenv /v Install /reg:32 1 > nul 2 > nul
@@ -212,6 +218,7 @@ set CMAKE_OPTS=%CMAKE_OPTS% -DHLSL_ENABLE_ANALYZE:BOOL=%ANALYZE%
212
218
set CMAKE_OPTS = %CMAKE_OPTS% -DHLSL_OFFICIAL_BUILD:BOOL=%OFFICIAL%
213
219
set CMAKE_OPTS = %CMAKE_OPTS% -DHLSL_ENABLE_FIXED_VER:BOOL=%FIXED_VER%
214
220
set CMAKE_OPTS = %CMAKE_OPTS% -DHLSL_ENABLE_FIXED_VER:BOOL=%FIXED_VER% -DHLSL_FIXED_VERSION_LOCATION:STRING=%FIXED_LOC%
221
+ set CMAKE_OPTS = %CMAKE_OPTS% -DHLSL_BUILD_DXILCONV:BOOL=%DXILCONV%
215
222
set CMAKE_OPTS = %CMAKE_OPTS% -DCLANG_VENDOR:STRING=%VENDOR%
216
223
set CMAKE_OPTS = %CMAKE_OPTS% -DENABLE_SPIRV_CODEGEN:BOOL=%SPIRV%
217
224
set CMAKE_OPTS = %CMAKE_OPTS% -DSPIRV_BUILD_TESTS:BOOL=%SPV_TEST%
@@ -289,7 +296,7 @@ exit /b 0
289
296
echo Builds HLSL solutions and the product and test binaries for the current
290
297
echo flavor and architecture.
291
298
echo .
292
- echo hctbuild [-s or -b] [-alldef] [-analyze] [-official] [-fv] [-fvloc < path> ] [-rel] [-arm or -arm64 or -x86 or -x64] [-Release] [-Debug] [-vs2015] [-ninja] [-tblgen path] [-dont-speak] [-parallel]
299
+ echo hctbuild [-s or -b] [-alldef] [-analyze] [-official] [-fv] [-fvloc < path> ] [-rel] [-arm or -arm64 or -x86 or -x64] [-Release] [-Debug] [-vs2015] [-ninja] [-tblgen path] [-dont-speak] [-no- parallel] [-no-dxilconv ]
293
300
echo .
294
301
echo -s creates the projects only, without building
295
302
echo -b builds the existing project
@@ -302,6 +309,7 @@ echo -fvloc <path> directory with the version.inc file
302
309
echo -rel builds release rather than debug
303
310
echo -dont-speak disables audible build confirmation
304
311
echo -no-parallel disables parallel build
312
+ echo -no-dxilconv disables build of DXBC to DXIL converter and tools
305
313
echo .
306
314
echo current BUILD_ARCH=%BUILD_ARCH% . Override with:
307
315
echo -x86 targets an x86 build (aka. Win32)
0 commit comments