Tried to avoid makefile for as long as possible but it's just too useful.
This commit is contained in:
parent
4bd2d12219
commit
8edb37ceb4
2 changed files with 11 additions and 2 deletions
9
Makefile
Normal file
9
Makefile
Normal file
|
@ -0,0 +1,9 @@
|
|||
|
||||
|
||||
all: build test
|
||||
|
||||
build:
|
||||
meson compile -C builddir
|
||||
|
||||
test:
|
||||
meson test -C builddir --suite turings_tarpit
|
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue