mfem-cpp 0.2.0+mfem-4.6.0

Static build of MFEM for use as a Rust dependency
Documentation
1
2
3
4
5
6
7
8
9
use std::path::Path;

/// Get the path to the MFEM library installation directory to be
/// used in build scripts.
///
/// Only valid during build (`cargo clean` removes these files).
pub fn mfem_path() -> &'static Path {
    Path::new(env!("MFEM_PATH"))
}