refactor(macros): added macros class

macros provides a unified place to define macros which can be accessed at other points in the code. I defined a DEPRICATION_WARNING_OFF macro so we can disable those warnings for times when we cannot control them
This commit is contained in:
2025-02-20 16:04:05 -05:00
parent ff299f8ce7
commit 776174c093
5 changed files with 23 additions and 5 deletions

View File

@@ -12,7 +12,7 @@ libpolyutils = static_library('polyutils',
polyutils_sources,
include_directories : include_directories('./public'),
cpp_args: ['-fvisibility=default'],
dependencies: [mfem_dep],
dependencies: [mfem_dep, warning_control_dep],
install: true
)
@@ -20,5 +20,5 @@ polyutils_dep = declare_dependency(
include_directories : include_directories('./public'),
link_with : libpolyutils,
sources : polyutils_sources,
dependencies : [mfem_dep]
dependencies : [mfem_dep, warning_control_dep]
)