Project folder structure fixup.
This commit is contained in:
parent
a4a16e494b
commit
20427d9dbd
Before Width: | Height: | Size: 1.1 MiB After Width: | Height: | Size: 1.1 MiB |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
34
build.bat
34
build.bat
|
@ -1,34 +0,0 @@
|
||||||
@echo off
|
|
||||||
|
|
||||||
set ProjectDevFolder=%~dp0
|
|
||||||
set ProjectDevPath=%ProjectDevFolder:~0,-1%
|
|
||||||
|
|
||||||
pushd %ProjectDevPath%
|
|
||||||
|
|
||||||
IF NOT EXIST .\build\ mkdir .\build
|
|
||||||
|
|
||||||
C:\programs\ctime\ctime.exe -begin %ProjectDevPath%\build\win32_foldhaus_build_time.ctm
|
|
||||||
|
|
||||||
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 CommonLinkerFlags= -opt:ref
|
|
||||||
|
|
||||||
pushd build
|
|
||||||
|
|
||||||
del *.pdb > NUL 2> NUL
|
|
||||||
|
|
||||||
REM Run the Preprocessor
|
|
||||||
foldhaus_meta.exe ..\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 %ProjectDevPath%\build\win32_foldhaus_build_time.ctm %LastError%
|
|
||||||
REM C:\programs\ctime\ctime.exe -stats %ProjectDevPath%\build\win32_foldhaus_build_time.ctm
|
|
||||||
popd
|
|
|
@ -1,32 +0,0 @@
|
||||||
@echo off
|
|
||||||
|
|
||||||
set ProjectDevFolder=%~dp0
|
|
||||||
set ProjectDevPath=%ProjectDevFolder:~0,-1%
|
|
||||||
|
|
||||||
pushd %ProjectDevPath%
|
|
||||||
|
|
||||||
IF NOT EXIST .\build_clang\ mkdir .\build_clang
|
|
||||||
|
|
||||||
C:\programs\ctime\ctime.exe -begin %ProjectDevPath%\build\win32_foldhaus_clang_build_time.ctm
|
|
||||||
|
|
||||||
set CommonCompilerFlags=-std=c++11 -Wno-writable-strings -Wno-unused-value -Wno-varargs -Wno-switch -Wno-microsoft-enum-forward-reference -DDEBUG=1
|
|
||||||
|
|
||||||
pushd .\build_clang\
|
|
||||||
|
|
||||||
REM Run the Preprocessor
|
|
||||||
foldhaus_meta.exe ..\src\foldhaus_app.cpp
|
|
||||||
|
|
||||||
echo WAITING FOR PDB TO WRITE > lock.tmp
|
|
||||||
|
|
||||||
clang %CommonCompilerFlags% ..\src\foldhaus_app.cpp -shared
|
|
||||||
|
|
||||||
set LastError=%ERRORLEVEL%
|
|
||||||
|
|
||||||
del lock.tmp
|
|
||||||
|
|
||||||
clang %CommonCompilerFlags% ..\src\win32_foldhaus.cpp -o win32_foldhaus.exe user32.lib winmm.lib gdi32.lib opengl32.lib dsound.lib Ws2_32.lib Comdlg32.lib
|
|
||||||
|
|
||||||
C:\programs\ctime\ctime.exe -end %ProjectDevPath%\build\win32_foldhaus_clang_build_time.ctm %LastError%
|
|
||||||
REM C:\programs\ctime\ctime.exe -stats %ProjectDevPath%\build\win32_foldhaus_clang_build_time.ctm
|
|
||||||
popd
|
|
||||||
|
|
|
@ -1,22 +0,0 @@
|
||||||
@echo off
|
|
||||||
|
|
||||||
set ProjectDevFolder=%~dp0
|
|
||||||
set ProjectDevPath=%ProjectDevFolder:~0,-1%
|
|
||||||
|
|
||||||
pushd %ProjectDevPath%
|
|
||||||
|
|
||||||
IF NOT EXIST .\build\ mkdir .\build
|
|
||||||
|
|
||||||
C:\programs\ctime\ctime.exe -begin %ProjectDevPath%\build\win32_gs_meta_build_time.ctm
|
|
||||||
|
|
||||||
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 CommonLinkerFlags= -opt:ref
|
|
||||||
|
|
||||||
pushd build
|
|
||||||
|
|
||||||
cl %CommonCompilerFlags% ..\meta\foldhaus_meta.cpp /link %CommonLinkerFlags%
|
|
||||||
|
|
||||||
C:\programs\ctime\ctime.exe -end %ProjectDevPath%\build\win32_gs_meta_build_time.ctm %LastError%
|
|
||||||
REM C:\programs\ctime\ctime.exe -stats %ProjectDevPath%\build\win32_gs_meta_build_time.ctm
|
|
||||||
popd
|
|
|
@ -1,7 +0,0 @@
|
||||||
pushd build
|
|
||||||
clang++ ../src/gs_osx.mm \
|
|
||||||
-g \
|
|
||||||
-Wno-c11-extensions -Wno-unused-variable -Wno-unused-function \
|
|
||||||
-framework Cocoa -framework OpenGL \
|
|
||||||
-o osx_foldhaus.out
|
|
||||||
popd
|
|
|
@ -1,3 +0,0 @@
|
||||||
@echo off
|
|
||||||
rm build/foldhaus.*
|
|
||||||
rm build/win32_foldhaus.*
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -26,19 +26,14 @@ 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.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_meta.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" }, }, },
|
||||||
{ .name = "run_application",
|
|
||||||
.out = "*run*", .footer_panel = false, .save_dirty_files = false,
|
|
||||||
.cmd = { { "build\\win32_foldhaus.exe", .os = "win" },
|
|
||||||
{ "build/main.exe" , .os = "linux" },
|
|
||||||
{ "build/main.exe" , .os = "mac" }, }, },
|
|
||||||
};
|
};
|
||||||
fkey_command[1] = "build_application";
|
fkey_command[1] = "build_application";
|
||||||
fkey_command[2] = "build_meta";
|
fkey_command[2] = "build_meta";
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue