##// END OF EJS Templates
Again a dmg fix :)...
Again a dmg fix :) Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>

File last commit:

r1444:46f8d6c8fcea
r1470:04e52d50cd7a
Show More
meson.build
51 lines | 2.0 KiB | text/plain | TextLexer
Updated meson build files...
r1425
pybind11_dep = dependency('pybind11', required : true, fallback:['pybind11','pybind11_dep'])
python_providers_moc_headers = [
'include/python_providers.h'
]
python_providers_sources = [
'src/python_providers.cpp'
]
python_providers_inc = include_directories(['include'])
gen = generator(moc,
output : 'moc_@BASENAME@.cpp',
arguments : ['@INPUT@',
'-DSCIQLOP_PLUGIN_JSON_FILE_PATH="'+meson.source_root()+'/plugins/python_providers/resources/python_providers.json"',
'-I', meson.current_source_dir()+'/include',
'-I', meson.current_source_dir()+'/../../core/include/',
'-o', '@OUTPUT@'])
python_providers_moc_files = gen.process(python_providers_moc_headers)
Updated Meson build defs...
r1441 python_providers_prep_files = qt5.preprocess(qresources : 'resources/python_providers.qrc')
Updated meson build defs...
r1437 cpp_args = ['-DPYTHON_PROVIDERS_LIB','-DQT_PLUGIN']
Updated meson build files...
r1425 if(get_option('default_library')=='static')
cpp_args += ['-DQT_STATICPLUGIN']
endif
Updated meson build defs...
r1437 sciqlop_python_interpreter = library('python_interpreter',
['src/python_interpreter.cpp'],
include_directories : [python_providers_inc],
dependencies : [pybind11_dep, sciqlop_core],
cpp_args : ['-DQT_NO_KEYWORDS'],
[Meson] Install python interpreter lib in lib folder instead of plugin folder...
r1444 install : true
Updated meson build defs...
r1437 )
Updated meson build files...
r1425 sciqlop_python_providers = library('pythonproviders',
python_providers_sources,
python_providers_moc_files,
Updated Meson build defs...
r1441 python_providers_prep_files,
Updated meson build files...
r1425 cpp_args : cpp_args,
include_directories : [python_providers_inc],
Updated meson build defs...
r1437 link_with : [sciqlop_python_interpreter],
Updated meson build files...
r1425 dependencies : [sciqlop_core, sciqlop_gui, pybind11_dep],
install : true,
install_dir : join_paths(get_option('libdir'), 'SciQLop')
)