Skip to content

Commit

Permalink
Added a -Debug flag to CopyDXC script
Browse files Browse the repository at this point in the history
  • Loading branch information
TheRealMJP committed Aug 29, 2017
1 parent f2145dc commit 4d57cab
Showing 1 changed file with 13 additions and 5 deletions.
18 changes: 13 additions & 5 deletions SampleFramework12/v1.01/Scripts/CopyDXC.bat
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
@echo off

xcopy %HLSL_SRC_DIR%\Include\dxc\dxcapi.h %~dp0..\..\..\Externals\DXCompiler\Include\ /y
xcopy %HLSL_BLD_DIR%\Release\lib\dxcompiler.lib %~dp0..\..\..\Externals\DXCompiler\Lib\ /y
xcopy %HLSL_BLD_DIR%\Release\bin\dxcompiler.* %~dp0..\..\..\Externals\DXCompiler\Bin\ /y
@echo off

setlocal

set BUILD_TYPE=Release

if "%1"=="-Debug" (
set BUILD_TYPE=Debug
)

xcopy %HLSL_SRC_DIR%\Include\dxc\dxcapi.h %~dp0..\..\..\Externals\DXCompiler\Include\ /y
xcopy %HLSL_BLD_DIR%\%BUILD_TYPE%\lib\dxcompiler.lib %~dp0..\..\..\Externals\DXCompiler\Lib\ /y
xcopy %HLSL_BLD_DIR%\%BUILD_TYPE%\bin\dxcompiler.* %~dp0..\..\..\Externals\DXCompiler\Bin\ /y

0 comments on commit 4d57cab

Please sign in to comment.