move knowledge base into the library

This commit is contained in:
Chris Cromer 2023-02-16 22:58:20 -03:00
parent 6ef6d14d18
commit 36b8889a62
Signed by: cromer
GPG Key ID: FA91071797BEEEC2
16 changed files with 4 additions and 3 deletions

View File

@ -6,10 +6,14 @@ configure_file(input : 'version.h.in',
configuration : conf_data configuration : conf_data
) )
subdir('models')
obelisk_lib_sources = files( obelisk_lib_sources = files(
'obelisk.cpp' 'obelisk.cpp'
) )
obelisk_lib_sources += obelisk_model_sources
sqlite3 = dependency('sqlite3') sqlite3 = dependency('sqlite3')
incdirs = include_directories(['.', 'include']) incdirs = include_directories(['.', 'include'])

View File

@ -12,9 +12,6 @@ sqlite3 = dependency('sqlite3')
subdir('ast') subdir('ast')
obelisk_sources += obelisk_ast_sources obelisk_sources += obelisk_ast_sources
subdir('models')
obelisk_sources += obelisk_model_sources
r = run_command('llvm-config', '--cppflags', check : true) r = run_command('llvm-config', '--cppflags', check : true)
cpp_args = ' ' + r.stdout().replace('\n', ' ').replace('-I', '-isystem') cpp_args = ' ' + r.stdout().replace('\n', ' ').replace('-I', '-isystem')