Update the other compile scripts.

This commit is contained in:
Relintai 2024-09-14 13:16:32 +02:00
parent d74c93548e
commit 97aa025aaf
3 changed files with 52 additions and 0 deletions

View File

@ -109,6 +109,15 @@ clang++ $args -D_REENTRANT -g -Isfw -c sfw/render_objects/sprite.cpp -o sfw/rend
clang++ $args -D_REENTRANT -g -Isfw -c sfw/render_objects/tile_map.cpp -o sfw/render_objects/tile_map.o
clang++ $args -D_REENTRANT -g -Isfw -c sfw/render_objects/text_2d.cpp -o sfw/render_objects/text_2d.o
clang++ $args -D_REENTRANT -g -Isfw -c sfw/render_gui/imgui.cpp -o sfw/render_gui/imgui.o
clang++ $args -D_REENTRANT -g -Isfw -c sfw/render_gui/imgui_draw.cpp -o sfw/render_gui/imgui_draw.o
clang++ $args -D_REENTRANT -g -Isfw -c sfw/render_gui/imgui_impl_glfw.cpp -o sfw/render_gui/imgui_impl_glfw.o
clang++ $args -D_REENTRANT -g -Isfw -c sfw/render_gui/imgui_impl_opengl3.cpp -o sfw/render_gui/imgui_impl_opengl3.o
clang++ $args -D_REENTRANT -g -Isfw -c sfw/render_gui/imgui_tables.cpp -o sfw/render_gui/imgui_tables.o
clang++ $args -D_REENTRANT -g -Isfw -c sfw/render_gui/imgui_widgets.cpp -o sfw/render_gui/imgui_widgets.o
clang++ $args -D_REENTRANT -g -Isfw -c sfw/render_gui/imgui_demo.cpp -o sfw/render_gui/imgui_demo.o
clang++ $args -D_REENTRANT -g -Isfw -c sfw/render_gui/gui.cpp -o sfw/render_gui/gui.o
clang++ $args -D_REENTRANT -g -Isfw -c sfw/game_scene.cpp -o sfw/game_scene.o
clang++ $args -D_REENTRANT -g -Isfw -c sfw/main.cpp -o sfw/main.o
@ -150,6 +159,14 @@ clang++ $args -D_REENTRANT -g sfw/core/aabb.o sfw/core/basis.o sfw/core/color.o
sfw/render_objects/sprite.o sfw/render_objects/tile_map.o \
sfw/render_objects/camera_2d.o sfw/render_objects/mesh_instance_2d.o \
sfw/render_objects/text_2d.o \
sfw/render_gui/imgui.o \
sfw/render_gui/imgui_draw.o \
sfw/render_gui/imgui_impl_glfw.o \
sfw/render_gui/imgui_impl_opengl3.o \
sfw/render_gui/imgui_tables.o \
sfw/render_gui/imgui_widgets.o \
sfw/render_gui/imgui_demo.o \
sfw/render_gui/gui.o \
sfw/game_scene.o sfw/main.o \
-o game

View File

@ -104,6 +104,16 @@ cl /D_REENTRANT /EHsc /Zi /Isfw /c sfw/render_objects/sprite.cpp /Fo:sfw/render_
cl /D_REENTRANT /EHsc /Zi /Isfw /c sfw/render_objects/tile_map.cpp /Fo:sfw/render_objects/tile_map.obj
cl /D_REENTRANT /EHsc /Zi /Isfw /c sfw/render_objects/text_2d.cpp /Fo:sfw/render_objects/text_2d.obj
cl /D_REENTRANT /EHsc /Zi /Isfw /c sfw/render_gui/imgui.cpp /Fo:sfw/render_gui/imgui.o
cl /D_REENTRANT /EHsc /Zi /Isfw /c sfw/render_gui/imgui_draw.cpp /Fo:sfw/render_gui/imgui_draw.o
cl /D_REENTRANT /EHsc /Zi /Isfw /c sfw/render_gui/imgui_impl_glfw.cpp /Fo:sfw/render_gui/imgui_impl_glfw.o
cl /D_REENTRANT /EHsc /Zi /Isfw /c sfw/render_gui/imgui_impl_opengl3.cpp /Fo:sfw/render_gui/imgui_impl_opengl3.o
cl /D_REENTRANT /EHsc /Zi /Isfw /c sfw/render_gui/imgui_tables.cpp /Fo:sfw/render_gui/imgui_tables.o
cl /D_REENTRANT /EHsc /Zi /Isfw /c sfw/render_gui/imgui_widgets.cpp /Fo:sfw/render_gui/imgui_widgets.o
cl /D_REENTRANT /EHsc /Zi /Isfw /c sfw/render_gui/imgui_demo.cpp /Fo:sfw/render_gui/imgui_demo.o
cl /D_REENTRANT /EHsc /Zi /Isfw /c sfw/render_gui/gui.cpp /Fo:sfw/render_gui/gui.o
cl /D_REENTRANT /EHsc /Zi /Isfw /c sfw/game_scene.cpp /Fo:sfw/game_scene.obj
cl /D_REENTRANT /EHsc /Zi /Isfw /c sfw/main.cpp /Fo:sfw/main.obj
@ -146,5 +156,13 @@ cl /D_REENTRANT /Zi ^
sfw/render_objects/sprite.obj sfw/render_objects/tile_map.obj ^
sfw/render_objects/camera_2d.obj sfw/render_objects/mesh_instance_2d.obj ^
sfw/render_objects/text_2d.obj ^
sfw/render_gui/imgui.obj ^
sfw/render_gui/imgui_draw.obj ^
sfw/render_gui/imgui_impl_glfw.obj ^
sfw/render_gui/imgui_impl_opengl3.obj ^
sfw/render_gui/imgui_tables.obj ^
sfw/render_gui/imgui_widgets.obj ^
sfw/render_gui/imgui_demo.obj ^
sfw/render_gui/gui.obj ^
sfw/game_scene.obj sfw/main.obj ^
/SUBSYSTEM:CONSOLE

View File

@ -96,6 +96,15 @@ ccache g++ -Wall -D_REENTRANT -g -Isfw -c sfw/render_objects/sprite.cpp -o sfw/r
ccache g++ -Wall -D_REENTRANT -g -Isfw -c sfw/render_objects/tile_map.cpp -o sfw/render_objects/tile_map.o
ccache g++ -Wall -D_REENTRANT -g -Isfw -c sfw/render_objects/text_2d.cpp -o sfw/render_objects/text_2d.o
ccache g++ -Wall -D_REENTRANT -g -Isfw -c sfw/render_gui/imgui.cpp -o sfw/render_gui/imgui.o
ccache g++ -Wall -D_REENTRANT -g -Isfw -c sfw/render_gui/imgui_draw.cpp -o sfw/render_gui/imgui_draw.o
ccache g++ -Wall -D_REENTRANT -g -Isfw -c sfw/render_gui/imgui_impl_glfw.cpp -o sfw/render_gui/imgui_impl_glfw.o
ccache g++ -Wall -D_REENTRANT -g -Isfw -c sfw/render_gui/imgui_impl_opengl3.cpp -o sfw/render_gui/imgui_impl_opengl3.o
ccache g++ -Wall -D_REENTRANT -g -Isfw -c sfw/render_gui/imgui_tables.cpp -o sfw/render_gui/imgui_tables.o
ccache g++ -Wall -D_REENTRANT -g -Isfw -c sfw/render_gui/imgui_widgets.cpp -o sfw/render_gui/imgui_widgets.o
ccache g++ -Wall -D_REENTRANT -g -Isfw -c sfw/render_gui/imgui_demo.cpp -o sfw/render_gui/imgui_demo.o
ccache g++ -Wall -D_REENTRANT -g -Isfw -c sfw/render_gui/gui.cpp -o sfw/render_gui/gui.o
ccache g++ -Wall -D_REENTRANT -g -Isfw -c sfw/game_scene.cpp -o sfw/game_scene.o
ccache g++ -Wall -D_REENTRANT -g -Isfw -c sfw/main.cpp -o sfw/main.o
@ -137,6 +146,14 @@ ccache g++ -Wall \
sfw/render_objects/sprite.o sfw/render_objects/tile_map.o \
sfw/render_objects/camera_2d.o sfw/render_objects/mesh_instance_2d.o \
sfw/render_objects/text_2d.o \
sfw/render_gui/imgui.o \
sfw/render_gui/imgui_draw.o \
sfw/render_gui/imgui_impl_glfw.o \
sfw/render_gui/imgui_impl_opengl3.o \
sfw/render_gui/imgui_tables.o \
sfw/render_gui/imgui_widgets.o \
sfw/render_gui/imgui_demo.o \
sfw/render_gui/gui.o \
sfw/game_scene.o sfw/main.o \
-lgdi32 -lShlwapi -lws2_32 \
-o game