mirror of
https://github.com/cimgui/cimgui.git
synced 2025-08-11 04:18:29 +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
|
# ref: https://stackoverflow.com/questions/192249/how-do-i-parse-command-line-arguments-in-bash
|
||||||
POSITIONAL_ARGS=()
|
POSITIONAL_ARGS=()
|
||||||
|
|
||||||
|
TARGETS="internal noimstrv"
|
||||||
|
CFLAGS="glfw opengl3 opengl2 sdl2"
|
||||||
|
|
||||||
while [[ $# -gt 0 ]]; do
|
while [[ $# -gt 0 ]]; do
|
||||||
case $1 in
|
case $1 in
|
||||||
-c|--cflags)
|
-c|--cflags)
|
||||||
@@ -55,4 +58,4 @@ fi
|
|||||||
echo "CFLAGS: " $CFLAGS
|
echo "CFLAGS: " $CFLAGS
|
||||||
echo "TARGETS: " $TARGETS
|
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