diff --git a/assets/static/atomic/include/atomicSpecies.h b/assets/static/atomic/include/atomicSpecies.h index 64c6596..be265b3 100644 --- a/assets/static/atomic/include/atomicSpecies.h +++ b/assets/static/atomic/include/atomicSpecies.h @@ -1,5 +1,4 @@ -#ifndef SPECIES_MASS_DATA_H -#define SPECIES_MASS_DATA_H +#pragma once #include #include #include @@ -7205,4 +7204,3 @@ namespace chemSpecies { {"Og-295", Og_295}, }; }; // namespace chemSpecies -#endif // SPECIES_MASS_DATA_H diff --git a/build-config/meson.build b/build-config/meson.build index cdd208d..0dab29f 100644 --- a/build-config/meson.build +++ b/build-config/meson.build @@ -6,4 +6,18 @@ subdir('quill') subdir('boost') subdir('opatIO') subdir('mpi') -subdir('hypre') \ No newline at end of file +subdir('hypre') +subdir('pybind') + +# Set the config file error handling options +configErr = get_option('config_error_handling') + +# build up any -D flags we need +commonCppArgs = [] +if configErr == 'warn' + commonCppArgs += ['-DCONFIG_WARN'] +elif configErr == 'harsh' + commonCppArgs += ['-DCONFIG_HARSH'] +endif + +add_project_arguments(commonCppArgs, language: 'cpp') \ No newline at end of file diff --git a/src/composition/meson.build b/src/composition/meson.build index 8b297b4..fe928d8 100644 --- a/src/composition/meson.build +++ b/src/composition/meson.build @@ -9,13 +9,12 @@ composition_headers = files( dependencies = [ probe_dep, - config_dep, quill_dep, species_weight_dep ] # Define the libcomposition library so it can be linked against by other parts of the build system -libcomposition = static_library('composition', +libcomposition = library('composition', composition_sources, include_directories: include_directories('public'), cpp_args: ['-fvisibility=default'],