From b290e06543f9a752334a79a385a703cef6bc5631 Mon Sep 17 00:00:00 2001 From: Peter Slattery Date: Mon, 20 Jan 2020 23:02:40 -0800 Subject: [PATCH] Making the build.bat files work with minimal setup --- build.bat | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/build.bat b/build.bat index 1eae828..d27a136 100644 --- a/build.bat +++ b/build.bat @@ -1,6 +1,6 @@ @echo off -set ProjectDevRoot=C:\projects +set ProjectDevRoot=C:\projects\test set ProjectName=foldhaus set ProjectDevPath=%ProjectDevRoot%\%ProjectName% @@ -19,20 +19,16 @@ pushd build del *.pdb > NUL 2> NUL REM Run the Preprocessor -pushd ..\src\ -..\build\foldhaus_meta.exe C:\projects\foldhaus\src\foldhaus_app.cpp -popd - -REM cl %CommonCompilerFlags% F:\src\foldhaus_util_radialumia_file_converter.cpp /link %CommonLinkerFlags% -REM foldhaus_util_radialumia_file_converter.exe +..\build\foldhaus_meta.exe %ProjectDefPath%\src\foldhaus_app.cpp echo WAITING FOR PDB TO WRITE > lock.tmp + cl %CommonCompilerFlags% ..\src\foldhaus_app.cpp /Fefoldhaus.dll /LD /link %CommonLinkerFlags% /EXPORT:InitializeApplication /EXPORT:UpdateAndRender /EXPORT:CleanupApplication /EXPORT:ReloadStaticData set LastError=%ERRORLEVEL% + del lock.tmp cl %CommonCompilerFlags% ..\src\win32_foldhaus.cpp /link %CommonLinkerFlags% user32.lib winmm.lib gdi32.lib opengl32.lib dsound.lib Ws2_32.lib Comdlg32.lib -incremental:no C:\programs\ctime\ctime.exe -end C:\projects\foldhaus\build\win32_foldhaus_build_time.ctm %LastError% -REM C:\programs\ctime\ctime.exe -stats C:\projects\foldhaus\build\win32_foldhaus_build_time.ctm popd \ No newline at end of file