Switch build system to mesonbuild.

There is no more integrated build of dependencies in the build system.
Dependencies are discovered using pkg-config except for ctpp2 where there
is no pkg-config file.
This commit is contained in:
Matthieu Gautier
2016-12-19 23:48:30 +01:00
parent 1c68cf87b9
commit 8ce1fb0ba8
42 changed files with 161 additions and 141 deletions

31
include/meson.build Normal file
View File

@ -0,0 +1,31 @@
headers = [
'indexer.h',
'library.h',
'manager.h',
'reader.h',
'searcher.h'
]
if xapian_dep.found()
headers += ['xapianIndexer.h', 'xapianSearcher.h']
endif
install_headers(headers, subdir:'kiwix')
install_headers(
'common/base64.h',
'common/networkTools.h',
'common/otherTools.h',
'common/pathTools.h',
'common/regexTools.h',
'common/resourceTools.h',
'common/stringTools.h',
'common/tree.h',
subdir:'kiwix/common'
)
install_headers(
'ctpp2/CTPP2VMStringLoader.hpp',
subdir:'kiwix/ctpp2'
)