Tried to avoid makefile for as long as possible but it's just too useful.

This commit is contained in:
Zed A. Shaw 2024-09-02 15:43:21 -04:00
parent 4bd2d12219
commit 8edb37ceb4
2 changed files with 11 additions and 2 deletions

9
Makefile Normal file
View file

@ -0,0 +1,9 @@
all: build test
build:
meson compile -C builddir
test:
meson test -C builddir --suite turings_tarpit

View file

@ -1,4 +1,4 @@
project('lcppthw', 'cpp',
project('turings_tarpit', 'cpp',
default_options: ['cpp_std=c++20'])
cmake = import('cmake')
@ -59,4 +59,4 @@ runtests = executable('runtests', [
],
dependencies: dependencies + [catch2])
test('the tests', runtests)
test('tests', runtests)