Exploring raycasters and possibly make a little "doom like" game based on it.
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
all: build test
|
|
|
|
|
|
|
|
reset:
|
|
|
|
powershell -executionpolicy bypass .\scripts\reset_build.ps1
|
|
|
|
|
|
|
|
%.cpp : %.rl
|
|
|
|
ragel -o $@ $<
|
|
|
|
|
|
|
|
build:
|
|
|
|
meson compile -j 10 -C builddir
|
|
|
|
|
|
|
|
release_build:
|
|
|
|
meson --wipe builddir --buildtype release
|
|
|
|
meson compile -j 10 -C builddir
|
|
|
|
|
|
|
|
debug_build:
|
|
|
|
meson --wipe builddir --buildtype debug
|
|
|
|
meson compile -j 10 -C builddir
|
|
|
|
|
|
|
|
test: build
|
|
|
|
./builddir/runtests
|
|
|
|
|
|
|
|
run: build test
|
|
|
|
powershell "cp ./builddir/zedcaster.exe ."
|
|
|
|
./zedcaster
|
|
|
|
|
|
|
|
debug: build
|
|
|
|
gdb --nx -x .gdbinit --ex run --args builddir/zedcaster.exe
|
|
|
|
|
|
|
|
debug_run: build
|
|
|
|
gdb --nx -x .gdbinit --batch --ex run --ex bt --ex q --args builddir/zedcaster.exe
|
|
|
|
|
|
|
|
clean:
|
|
|
|
meson compile --clean -C builddir
|
|
|
|
|
|
|
|
debug_test: build
|
|
|
|
gdb --nx -x .gdbinit --ex run --args builddir/runtests.exe
|