build: common instead of seperate

This commit is contained in:
SimonFJ20 2023-01-09 21:15:24 +01:00
parent deb40d01fc
commit e187da0d8d
4 changed files with 6 additions and 20 deletions

View File

@ -1,7 +1,5 @@
markup_sources += files(
common_sources += files(
'parser.cpp',
'lexer.cpp',
)
# markup_inc = include_directories('.')

View File

@ -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(

View File

@ -1,7 +1,5 @@
scriptlang_sources += files(
common_sources += files(
'parser.cpp',
'lexer.cpp',
)
# scriptlang_inc = include_directories('.')

View File

@ -1,4 +1,2 @@
utils_sources = files()
# utils_inc = include_directories('.')
common_sources = files()