diff --git a/markup/meson.build b/markup/meson.build index 381faef..79dd2fe 100644 --- a/markup/meson.build +++ b/markup/meson.build @@ -1,7 +1,5 @@ -markup_sources += files( +common_sources += files( 'parser.cpp', 'lexer.cpp', ) - -# markup_inc = include_directories('.') diff --git a/meson.build b/meson.build index 5b358b3..d9fe0ac 100644 --- a/meson.build +++ b/meson.build @@ -11,20 +11,12 @@ project( fmt_dep = dependency('fmt') sdl2_dep = dependency('sdl2') - -utils_sources = [] +common_sources = [] subdir('utils') - -scriptlang_sources = [] subdir('scriptlang') - -markup_sources = [] subdir('markup') -common_sources = utils_sources + scriptlang_sources + markup_sources - - -browser_sources = [] + common_sources +browser_sources = common_sources subdir('browser') browser_sources @@ -42,7 +34,7 @@ executable( ], ) -server_sources = [] + common_sources +server_sources = common_sources subdir('server') executable( diff --git a/scriptlang/meson.build b/scriptlang/meson.build index b110ac0..79dd2fe 100644 --- a/scriptlang/meson.build +++ b/scriptlang/meson.build @@ -1,7 +1,5 @@ -scriptlang_sources += files( +common_sources += files( 'parser.cpp', 'lexer.cpp', ) - -# scriptlang_inc = include_directories('.') diff --git a/utils/meson.build b/utils/meson.build index 28f0271..33f6673 100644 --- a/utils/meson.build +++ b/utils/meson.build @@ -1,4 +1,2 @@ -utils_sources = files() - -# utils_inc = include_directories('.') +common_sources = files()