Updated build batch files.

This commit is contained in:
Peter Slattery 2020-05-11 18:22:02 -07:00
parent 94a6e023bf
commit 3418f1417a
17 changed files with 14 additions and 8 deletions

View File

@ -23,3 +23,7 @@ IF NOT EXIST %BuildPath% mkdir %BuildPath%
IF NOT EXIST %StatsPath% mkdir %StatsPath% IF NOT EXIST %StatsPath% mkdir %StatsPath%
C:\apps\ctime\ctime.exe -begin %StatsPath%\%StatsFile% C:\apps\ctime\ctime.exe -begin %StatsPath%\%StatsFile%
echo.
echo BUILDING TO %BuildPath%
echo STATS IN %StatsPath%\%StatsFile%
echo.

View File

@ -1,8 +1,8 @@
@echo off @echo off
call _prebuild_win32.bat app debug msvc SET MyPath=%~dp0
SET MyPath=%MyPath:~0,-1%
echo Building In %BuildPath% call %MyPath%\_prebuild_win32.bat app debug msvc
set CommonCompilerFlags=-nologo -DDEBUG=1 -DPLATFORM_WINDOWS -FC -WX -W4 -Z7 -Oi -GR- -EHsc -EHa- -MTd -fp:fast -fp:except- -IC:\programs-dev\gs_libs\src set CommonCompilerFlags=-nologo -DDEBUG=1 -DPLATFORM_WINDOWS -FC -WX -W4 -Z7 -Oi -GR- -EHsc -EHa- -MTd -fp:fast -fp:except- -IC:\programs-dev\gs_libs\src
set CommonCompilerFlags=-wd4127 -wd4702 -wd4101 -wd4505 -wd4100 -wd4189 -wd4244 -wd4201 -wd4996 -I%CommonLibs% -O2 %CommonCompilerFlags% set CommonCompilerFlags=-wd4127 -wd4702 -wd4101 -wd4505 -wd4100 -wd4189 -wd4244 -wd4201 -wd4996 -I%CommonLibs% -O2 %CommonCompilerFlags%
@ -29,4 +29,4 @@ cl %CommonCompilerFlags% %SourceCodePath%\win32_foldhaus.cpp /link %CommonLinker
popd popd
call _postbuild_win32.bat call %MyPath%\_postbuild_win32.bat

View File

@ -1,6 +1,8 @@
@echo off @echo off
call _prebuild_win32.bat meta debug msvc SET MyPath=%~dp0
SET MyPath=%MyPath:~0,-1%
call %MyPath%\_prebuild_win32.bat meta debug msvc
set CommonCompilerFlags=-nologo -DDEBUG=1 -DPLATFORM_WINDOWS -FC -WX -W4 -Z7 -Oi -GR- -EHsc -EHa- -MTd -fp:fast -fp:except- set CommonCompilerFlags=-nologo -DDEBUG=1 -DPLATFORM_WINDOWS -FC -WX -W4 -Z7 -Oi -GR- -EHsc -EHa- -MTd -fp:fast -fp:except-
set CommonCompilerFlags=-wd4127 -wd4702 -wd4101 -wd4505 -wd4100 -wd4189 -wd4244 -wd4201 -wd4996 -I%CommonLibs% -O2 %CommonCompilerFlags% set CommonCompilerFlags=-wd4127 -wd4702 -wd4101 -wd4505 -wd4100 -wd4189 -wd4244 -wd4201 -wd4996 -I%CommonLibs% -O2 %CommonCompilerFlags%
@ -12,4 +14,4 @@ cl %CommonCompilerFlags% %SourceCodePath%\foldhaus_meta.cpp /link %CommonLinkerF
popd popd
call _postbuild_win32.bat call %MyPath%\_postbuild_win32.bat

View File

@ -26,12 +26,12 @@ load_paths = {
command_list = { command_list = {
{ .name = "build_application", { .name = "build_application",
.out = "*app compilation*", .footer_panel = false, .save_dirty_files = true, .out = "*app compilation*", .footer_panel = false, .save_dirty_files = true,
.cmd = { { "./build/build_app_msvc_win32_debug.bat" , .os = "win" }, .cmd = { { "build\build_app_msvc_win32_debug.bat" , .os = "win" },
{ "./build.sh", .os = "linux" }, { "./build.sh", .os = "linux" },
{ "./build.sh", .os = "mac" }, }, }, { "./build.sh", .os = "mac" }, }, },
{ .name = "build_meta", { .name = "build_meta",
.out = "*meta compilation*", .footer_panel = false, .save_dirty_files = true, .out = "*meta compilation*", .footer_panel = false, .save_dirty_files = true,
.cmd = { { "./build/build_meta_msvc_win32_debug.bat" , .os = "win" }, .cmd = { { "build\build_meta_msvc_win32_debug.bat" , .os = "win" },
{ "./build_meta.sh", .os = "linux" }, { "./build_meta.sh", .os = "linux" },
{ "./build_meta.sh", .os = "mac" }, }, }, { "./build_meta.sh", .os = "mac" }, }, },
}; };