meson is now working ... somehow
This commit is contained in:
parent
2faa2fa019
commit
d13f9d2824
8 changed files with 43 additions and 11 deletions
19
meson.build
19
meson.build
|
@ -1,3 +1,20 @@
|
|||
project('kima2', 'cpp')
|
||||
project('kima2', 'cpp', default_options : ['cpp_std=c++17'], version : '1.6.0')
|
||||
|
||||
conf_data = configuration_data()
|
||||
conf_data.set('PROJECT_VERSION', '"' + meson.project_version() + '"')
|
||||
configure_file(output : 'config.h',
|
||||
configuration : conf_data)
|
||||
configuration_inc = include_directories('.')
|
||||
|
||||
cmake = import('cmake')
|
||||
|
||||
#csv = cmake.subproject('csv-parser')
|
||||
#csv_lib = csv.dependency('csv')
|
||||
nlohmann = cmake.subproject('nlohmann_json', cmake_options : ['-DJSON_BuildTests=OFF', '-DCMAKE_BUILD_TYPE=Release'])
|
||||
nlohmann_lib = nlohmann.dependency('nlohmann_json')
|
||||
|
||||
singleapp_proj = subproject('singleapplication')
|
||||
singleapp_lib = singleapp_proj.get_variable('singleapp_lib')
|
||||
singleapp_dep = singleapp_proj.get_variable('singleapp_dep')
|
||||
|
||||
subdir('src')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue