1
0
Fork 0
mirror of https://github.com/Neargye/magic_enum.git synced 2026-01-09 23:34:23 +00:00

meson: add options and tests (#255)

This commit is contained in:
Valeri 2023-04-24 22:36:25 +03:00 committed by GitHub
parent 95c71dab42
commit fc88b4936a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 58 additions and 1 deletions

20
meson_options.txt Normal file
View file

@ -0,0 +1,20 @@
option(
'test',
type : 'boolean',
value : true,
description : 'Build and run tests'
)
option(
'noascii',
type : 'boolean',
value : false,
description : 'Enable support for non-ASCII enumeration identifier'
)
option(
'hash',
type : 'boolean',
value : false,
description : 'Do hashing at build time - longer build times, but O(1) string lookup'
)