build(mfem): updated mfem build policy (ensure mfem is build in release mode and with DEBUG off as that can dramatically speed things up)
This commit is contained in:
10
build-config/mfem/build_policy.hpp.in
Normal file
10
build-config/mfem/build_policy.hpp.in
Normal file
@@ -0,0 +1,10 @@
|
||||
#pragma once
|
||||
// Meson MFEM policy: buildtype=@BUILD_TYPE@, optimization=@OPTIMIZATION@,
|
||||
// debug symbols=@DEBUG_SYMBOLS@, NDEBUG=@NDEBUG@.
|
||||
// This generated header tracks configuration changes for every MFEM consumer.
|
||||
#ifdef __cplusplus
|
||||
#include <mfem/config/config.hpp>
|
||||
#if defined(MFEM_DEBUG) != @MFEM_DEBUG@
|
||||
#error "MFEM_DEBUG does not match the Meson build; rebuild the MFEM bundle."
|
||||
#endif
|
||||
#endif
|
||||
Reference in New Issue
Block a user