summaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
authorFox Caminiti <fox@foxcam.net>2022-07-23 14:27:07 -0400
committerFox Caminiti <fox@foxcam.net>2022-07-23 14:27:07 -0400
commite3b5c13df66eae89f1c3bcc113b10e8c18433833 (patch)
tree91334513e4a8c0647309f4f51a3e1e1cb0eddf14 /build.sh
parentfc8040d695644aaca4596adebeca4ea1369ef630 (diff)
add imgui as submodule
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/build.sh b/build.sh
index fc0232f..df94d61 100755
--- a/build.sh
+++ b/build.sh
@@ -1,6 +1,6 @@
#!/bin/bash
-WINDOWS=1
+WINDOWS=0
if [[ "$WINDOWS" == 1 ]]; then
@@ -73,6 +73,8 @@ else
SDL_ARGS="`sdl2-config --cflags` -lGL -ldl `sdl2-config --libs`"
fi
+# imgui
+
if [[ "$WINDOWS" == 1 ]]; then
clang++ $WARNING_FLAGS -g -target x86_64-pc-windows-gnu -march=x86-64-v3 -I .. -Iimgui -Iimgui/backends \
main.cpp imgui/imgui*.cpp imgui/backends/imgui_impl_sdl.cpp imgui/backends/imgui_impl_opengl3.cpp \