feat(main): initial commit
This commit is contained in:
2
build-config/CLI11/meson.build
Normal file
2
build-config/CLI11/meson.build
Normal file
@@ -0,0 +1,2 @@
|
||||
cli11_proj = subproject('cli11')
|
||||
cli11_dep = cli11_proj.get_variable('CLI11_dep')
|
||||
2
build-config/gridfire/meson.build
Normal file
2
build-config/gridfire/meson.build
Normal file
@@ -0,0 +1,2 @@
|
||||
gridfire_sp = subproject('gridfire', default_options: ['log_level=error', 'build_python=false', 'build_tests=false', 'build_examples=false', 'build_c_api=false', 'build_tools=false', 'openmp_support=true'])
|
||||
gridfire_dep = gridfire_sp.get_variable('gridfire_dep')
|
||||
13
build-config/libcomposition/meson.build
Normal file
13
build-config/libcomposition/meson.build
Normal file
@@ -0,0 +1,13 @@
|
||||
composition_p = subproject('libcomposition',
|
||||
default_options: [
|
||||
'pkg_config=false',
|
||||
'build_tests=false',
|
||||
'build_examples=false'
|
||||
])
|
||||
comp_dep = composition_p.get_variable('composition_dep')
|
||||
libcomposition = composition_p.get_variable('libcomposition')
|
||||
spw_dep = composition_p.get_variable('species_weight_dep')
|
||||
composition_dep = [
|
||||
comp_dep,
|
||||
spw_dep,
|
||||
]
|
||||
8
build-config/libconfig/meson.build
Normal file
8
build-config/libconfig/meson.build
Normal file
@@ -0,0 +1,8 @@
|
||||
config_p = subproject('libconfig',
|
||||
default_options:[
|
||||
'default_library=static',
|
||||
'pkg_config=false',
|
||||
'build_tests=false',
|
||||
'build_examples=false'
|
||||
])
|
||||
config_dep = config_p.get_variable('config_dep')
|
||||
5
build-config/meson.build
Normal file
5
build-config/meson.build
Normal file
@@ -0,0 +1,5 @@
|
||||
subdir('mfem')
|
||||
subdir('libconfig')
|
||||
subdir('CLI11')
|
||||
subdir('libcomposition')
|
||||
subdir('gridfire')
|
||||
16
build-config/mfem/meson.build
Normal file
16
build-config/mfem/meson.build
Normal file
@@ -0,0 +1,16 @@
|
||||
cmake = import('cmake')
|
||||
mfem_cmake_options = cmake.subproject_options()
|
||||
mfem_cmake_options.add_cmake_defines({
|
||||
'MFEM_ENABLE_EXAMPLES': 'OFF',
|
||||
'MFEM_ENABLE_TESTING': 'OFF',
|
||||
'MFEM_ENABLE_MINIAPPS': 'OFF',
|
||||
'MFEM_USE_BENCMARK': 'OFF',
|
||||
'BUILD_SHARED_LIBS': 'OFF',
|
||||
'BUILD_STATIC_LIBS': 'ON',
|
||||
})
|
||||
mfem_cmake_options.set_install(true)
|
||||
|
||||
mfem_sp = cmake.subproject(
|
||||
'mfem',
|
||||
options: mfem_cmake_options)
|
||||
mfem_dep = mfem_sp.dependency('mfem')
|
||||
Reference in New Issue
Block a user