Trying out Ragel's state machine generation as an alternative to the DinkyFSM style.

This commit is contained in:
Zed A. Shaw 2025-06-14 00:43:40 -04:00
parent 9468990f76
commit 7fc32b0248
10 changed files with 428 additions and 19 deletions

View file

@ -1,3 +1,5 @@
ROOT_DIR := $(dir $(realpath $(lastword $(MAKEFILE_LIST))))
all: build test
reset:
@ -8,10 +10,10 @@ else
endif
%.cpp : %.rl
ragel -o $@ $<
ragel -G1 -o $@ $<
build:
meson compile -j 10 -C builddir
build: $(ROOT_DIR)/gui/dnd_loot_2.cpp
meson compile -j 10 -C $(ROOT_DIR)/builddir
release_build:
meson --wipe builddir -Db_ndebug=true --buildtype release