25 lines
590 B
Batchfile
25 lines
590 B
Batchfile
fxc /Od /Zi /T fx_4_0 /nologo /Fo main.fxo main.fx
|
|
|
|
@if %errorlevel% neq 0 exit /b %errorlevel%
|
|
|
|
rem build main resource
|
|
rc.exe /d "_UNICODE" /d "UNICODE" /fo"Debug\main.res" ".\main.rc"
|
|
|
|
@if %errorlevel% neq 0 exit /b %errorlevel%
|
|
|
|
rem compile
|
|
cl.exe @"compile.rsp" "main.cpp"
|
|
|
|
@if %errorlevel% neq 0 exit /b %errorlevel%
|
|
|
|
rem link
|
|
link.exe @"link.rsp" /NOLOGO /ERRORREPORT:PROMPT
|
|
|
|
@if %errorlevel% neq 0 exit /b %errorlevel%
|
|
|
|
mt.exe -manifest d3d10.exe.debug.manifest -outputresource:Debug\d3d10.exe;1
|
|
|
|
@if %errorlevel% neq 0 exit /b %errorlevel%
|
|
|
|
Debug\d3d10.exe
|