From 8edb37ceb4887e3de5d3c50c826d4dcaf217750c Mon Sep 17 00:00:00 2001 From: "Zed A. Shaw" Date: Mon, 2 Sep 2024 15:43:21 -0400 Subject: [PATCH] Tried to avoid makefile for as long as possible but it's just too useful. --- Makefile | 9 +++++++++ meson.build | 4 ++-- 2 files changed, 11 insertions(+), 2 deletions(-) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..7a5a737 --- /dev/null +++ b/Makefile @@ -0,0 +1,9 @@ + + +all: build test + +build: + meson compile -C builddir + +test: + meson test -C builddir --suite turings_tarpit diff --git a/meson.build b/meson.build index 6a1a050..cd75d84 100644 --- a/meson.build +++ b/meson.build @@ -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)