|
@@
-22,6
+22,8
gen = generator(moc,
|
|
22
|
|
|
22
|
|
|
23
|
python_providers_moc_files = gen.process(python_providers_moc_headers)
|
|
23
|
python_providers_moc_files = gen.process(python_providers_moc_headers)
|
|
24
|
|
|
24
|
|
|
|
|
|
25
|
python_providers_prep_files = qt5.preprocess(qresources : 'resources/python_providers.qrc')
|
|
|
|
|
26
|
|
|
25
|
cpp_args = ['-DPYTHON_PROVIDERS_LIB','-DQT_PLUGIN']
|
|
27
|
cpp_args = ['-DPYTHON_PROVIDERS_LIB','-DQT_PLUGIN']
|
|
26
|
if(get_option('default_library')=='static')
|
|
28
|
if(get_option('default_library')=='static')
|
|
27
|
cpp_args += ['-DQT_STATICPLUGIN']
|
|
29
|
cpp_args += ['-DQT_STATICPLUGIN']
|
|
@@
-40,6
+42,7
sciqlop_python_interpreter = library('python_interpreter',
|
|
40
|
sciqlop_python_providers = library('pythonproviders',
|
|
42
|
sciqlop_python_providers = library('pythonproviders',
|
|
41
|
python_providers_sources,
|
|
43
|
python_providers_sources,
|
|
42
|
python_providers_moc_files,
|
|
44
|
python_providers_moc_files,
|
|
|
|
|
45
|
python_providers_prep_files,
|
|
43
|
cpp_args : cpp_args,
|
|
46
|
cpp_args : cpp_args,
|
|
44
|
include_directories : [python_providers_inc],
|
|
47
|
include_directories : [python_providers_inc],
|
|
45
|
link_with : [sciqlop_python_interpreter],
|
|
48
|
link_with : [sciqlop_python_interpreter],
|