Function mfem_path

Source
pub fn mfem_path() -> &'static Path
Expand description

Get the path to the MFEM library installation directory to be used in build scripts.

Only valid during build (cargo clean removes these files).

Examples found in repository?
examples/print_path.rs (line 2)
1
2
3
fn main() {
    println!("mfem_path: {}", mfem_cpp::mfem_path().to_str().unwrap());
}