mirror of
https://github.com/cimgui/cimgui.git
synced 2025-08-10 03:48:30 +01:00
generator: set default values
This commit is contained in:
@@ -22,6 +22,9 @@
|
||||
# ref: https://stackoverflow.com/questions/192249/how-do-i-parse-command-line-arguments-in-bash
|
||||
POSITIONAL_ARGS=()
|
||||
|
||||
TARGETS="internal noimstrv"
|
||||
CFLAGS="glfw opengl3 opengl2 sdl2"
|
||||
|
||||
while [[ $# -gt 0 ]]; do
|
||||
case $1 in
|
||||
-c|--cflags)
|
||||
@@ -55,4 +58,4 @@ fi
|
||||
echo "CFLAGS: " $CFLAGS
|
||||
echo "TARGETS: " $TARGETS
|
||||
|
||||
luajit$suffix ./generator.lua gcc "internal noimstrv $TARGETS" glfw opengl3 opengl2 sdl2 $CFLAGS
|
||||
luajit$suffix ./generator.lua gcc "$TARGETS" $CFLAGS
|
||||
|
Reference in New Issue
Block a user