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',
|
'parser.cpp',
|
||||||
'lexer.cpp',
|
'lexer.cpp',
|
||||||
)
|
)
|
||||||
|
|
||||||
# markup_inc = include_directories('.')
|
|
||||||
|
14
meson.build
14
meson.build
@ -11,20 +11,12 @@ project(
|
|||||||
fmt_dep = dependency('fmt')
|
fmt_dep = dependency('fmt')
|
||||||
sdl2_dep = dependency('sdl2')
|
sdl2_dep = dependency('sdl2')
|
||||||
|
|
||||||
|
common_sources = []
|
||||||
utils_sources = []
|
|
||||||
subdir('utils')
|
subdir('utils')
|
||||||
|
|
||||||
scriptlang_sources = []
|
|
||||||
subdir('scriptlang')
|
subdir('scriptlang')
|
||||||
|
|
||||||
markup_sources = []
|
|
||||||
subdir('markup')
|
subdir('markup')
|
||||||
|
|
||||||
common_sources = utils_sources + scriptlang_sources + markup_sources
|
browser_sources = common_sources
|
||||||
|
|
||||||
|
|
||||||
browser_sources = [] + common_sources
|
|
||||||
subdir('browser')
|
subdir('browser')
|
||||||
browser_sources
|
browser_sources
|
||||||
|
|
||||||
@ -42,7 +34,7 @@ executable(
|
|||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
||||||
server_sources = [] + common_sources
|
server_sources = common_sources
|
||||||
subdir('server')
|
subdir('server')
|
||||||
|
|
||||||
executable(
|
executable(
|
||||||
|
@ -1,7 +1,5 @@
|
|||||||
|
|
||||||
scriptlang_sources += files(
|
common_sources += files(
|
||||||
'parser.cpp',
|
'parser.cpp',
|
||||||
'lexer.cpp',
|
'lexer.cpp',
|
||||||
)
|
)
|
||||||
|
|
||||||
# scriptlang_inc = include_directories('.')
|
|
||||||
|
@ -1,4 +1,2 @@
|
|||||||
|
|
||||||
utils_sources = files()
|
common_sources = files()
|
||||||
|
|
||||||
# utils_inc = include_directories('.')
|
|
||||||
|
Loading…
Reference in New Issue
Block a user