Browse Source

Add "--gdb" switch to carla script

tags/1.9.6
falkTX 9 years ago
parent
commit
502036fc9a
6 changed files with 18 additions and 0 deletions
  1. +4
    -0
      data/carla
  2. +4
    -0
      data/carla-patchbay
  3. +4
    -0
      data/carla-rack
  4. +2
    -0
      source/carla
  5. +2
    -0
      source/carla-patchbay
  6. +2
    -0
      source/carla-rack

+ 4
- 0
data/carla View File

@@ -6,6 +6,10 @@ else
PYTHON=python
fi

if [ $1 = "--gdb" ]; then
PYTHON="gdb --args $PYTHON"
fi

INSTALL_PREFIX="X-PREFIX-X"
export PATH="$INSTALL_PREFIX"/lib/carla:$PATH
exec $PYTHON "$INSTALL_PREFIX"/share/carla/carla --with-appname="$0" --with-libprefix="$INSTALL_PREFIX" "$@"

+ 4
- 0
data/carla-patchbay View File

@@ -6,6 +6,10 @@ else
PYTHON=python
fi

if [ $1 = "--gdb" ]; then
PYTHON="gdb --args $PYTHON"
fi

INSTALL_PREFIX="X-PREFIX-X"
export PATH="$INSTALL_PREFIX"/lib/carla:$PATH
exec $PYTHON "$INSTALL_PREFIX"/share/carla/carla-patchbay --with-appname="$0" --with-libprefix="$INSTALL_PREFIX" "$@"

+ 4
- 0
data/carla-rack View File

@@ -6,6 +6,10 @@ else
PYTHON=python
fi

if [ $1 = "--gdb" ]; then
PYTHON="gdb --args $PYTHON"
fi

INSTALL_PREFIX="X-PREFIX-X"
export PATH="$INSTALL_PREFIX"/lib/carla:$PATH
exec $PYTHON "$INSTALL_PREFIX"/share/carla/carla-rack --with-appname="$0" --with-libprefix="$INSTALL_PREFIX" "$@"

+ 2
- 0
source/carla View File

@@ -84,6 +84,8 @@ if __name__ == '__main__':

if arg.startswith("--with-appname=") or arg.startswith("--with-libprefix="):
pass
elif arg == "--gdb":
pass
elif os.path.exists(arg):
gui.loadProjectLater(arg)



+ 2
- 0
source/carla-patchbay View File

@@ -71,6 +71,8 @@ if __name__ == '__main__':

if arg.startswith("--with-appname=") or arg.startswith("--with-libprefix="):
pass
elif arg == "--gdb":
pass
elif os.path.exists(arg):
gui.loadProjectLater(arg)



+ 2
- 0
source/carla-rack View File

@@ -71,6 +71,8 @@ if __name__ == '__main__':

if arg.startswith("--with-appname=") or arg.startswith("--with-libprefix="):
pass
elif arg == "--gdb":
pass
elif os.path.exists(arg):
gui.loadProjectLater(arg)



Loading…
Cancel
Save