mirror of
https://github.com/RYDE-WORK/ballistica.git
synced 2026-02-06 23:59:18 +08:00
added cmake-gdb build target to build and run under gdb debugger
This commit is contained in:
parent
72ffb4b1d6
commit
f1921837a4
8
Makefile
8
Makefile
@ -1000,9 +1000,17 @@ cmake: cmake-build
|
|||||||
@cd build/cmake/$(CM_BT_LC) && ./ballisticakit
|
@cd build/cmake/$(CM_BT_LC) && ./ballisticakit
|
||||||
|
|
||||||
# Build and run the cmake build under lldb.
|
# Build and run the cmake build under lldb.
|
||||||
|
# Sets up the ballistica environment to do things like abort() out to the
|
||||||
|
# debugger on errors instead of trying to cleanly exit.
|
||||||
cmake-lldb: cmake-build
|
cmake-lldb: cmake-build
|
||||||
@cd build/cmake/$(CM_BT_LC) && BA_DEBUGGER_ATTACHED=1 lldb ./ballisticakit
|
@cd build/cmake/$(CM_BT_LC) && BA_DEBUGGER_ATTACHED=1 lldb ./ballisticakit
|
||||||
|
|
||||||
|
# Build and run the cmake build under lldb.
|
||||||
|
# Sets up the ballistica environment to do things like abort() out to the
|
||||||
|
# debugger on errors instead of trying to cleanly exit.
|
||||||
|
cmake-gdb: cmake-build
|
||||||
|
@cd build/cmake/$(CM_BT_LC) && BA_DEBUGGER_ATTACHED=1 gdb ./ballisticakit
|
||||||
|
|
||||||
# Build but don't run it.
|
# Build but don't run it.
|
||||||
cmake-build: assets-cmake resources cmake-binary
|
cmake-build: assets-cmake resources cmake-binary
|
||||||
@$(STAGE_ASSETS) -cmake build/cmake/$(CM_BT_LC)
|
@$(STAGE_ASSETS) -cmake build/cmake/$(CM_BT_LC)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user