build: common instead of seperate
This commit is contained in:
parent
deb40d01fc
commit
e187da0d8d
@ -1,7 +1,5 @@
|
||||
|
||||
markup_sources += files(
|
||||
common_sources += files(
|
||||
'parser.cpp',
|
||||
'lexer.cpp',
|
||||
)
|
||||
|
||||
# markup_inc = include_directories('.')
|
||||
|
14
meson.build
14
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(
|
||||
|
@ -1,7 +1,5 @@
|
||||
|
||||
scriptlang_sources += files(
|
||||
common_sources += files(
|
||||
'parser.cpp',
|
||||
'lexer.cpp',
|
||||
)
|
||||
|
||||
# scriptlang_inc = include_directories('.')
|
||||
|
@ -1,4 +1,2 @@
|
||||
|
||||
utils_sources = files()
|
||||
|
||||
# utils_inc = include_directories('.')
|
||||
common_sources = files()
|
||||
|
Loading…
Reference in New Issue
Block a user