Skip to content
Snippets Groups Projects
Commit 82d2afe8 authored by Michal Vlasák's avatar Michal Vlasák
Browse files

Move files into subdirectories and improve meson

parent c66554fa
No related branches found
No related tags found
No related merge requests found
......@@ -4,7 +4,7 @@ test:
script:
- meson setup build -D b_sanitize=address,undefined
- meson compile -C build
- cppcheck --error-exitcode=1 *.c
- cppcheck --error-exitcode=1 src/*.c
- export ASAN_OPTIONS=symbolize=1:debug=1:detect_leaks=1:strict_string_checks=1:detect_stack_use_after_return=1:check_initialization_order=1:strict_init_order=1
- export FML="$(readlink -f ./build/fml)"
- export FML_REF=/cfml/fml
......
project('fml', 'c',
version : '0.1',
default_options : ['c_std=c11', 'warning_level=3'])
project(
'fml',
'c',
version: '0.1',
default_options: ['c_std=c11', 'warning_level=2'],
)
 
exe = executable('fml',
'example_main.c',
'arena.c',
'parser.c',
install : true)
sources: files(
'reference/arena.c',
'reference/parser.c',
'src/main.c',
),
include_directories: include_directories(
'src',
'reference'
),
install: true,
)
File moved
File moved
File moved
File moved
File moved
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment