A repository where I'll put experiments learning, proving or disproving things about C++. These experiments will feature measurements, use Tracy to show behavior, and generally have the goal of simplifying normal C++ usage.
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.
 
 
 
 
 
c-plus-plus-dafuq/Makefile

29 lines
615 B

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 -Db_ndebug=true --buildtype release
meson compile -j 10 -C builddir
debug_build:
meson setup --wipe builddir --buildtype debug
meson compile -j 10 -C builddir
tracy_build:
meson setup --wipe builddir --buildtype debugoptimized -Dtracy_enable=true -Dtracy:on_demand=true
meson compile -j 10 -C builddir
test: build
./builddir/emplace_test.exe
./builddir/rvo_test.exe
clean:
meson compile --clean -C builddir