Installation#
Requirements#
A C++20-capable compiler (GCC 11+, Clang 14+, MSVC 19.30+)
CMake 3.24 or later
MIEM is a header-only library. Its only test dependency —
Google Test — is fetched
automatically via CMake’s FetchContent mechanism.
Building from Source#
git clone https://github.com/NCAR/miem.git
cd miem
mkdir build && cd build
cmake ..
make -j8
Running Tests#
From the build/ directory:
make test
Or with verbose output:
ctest --output-on-failure
CMake Options#
Option |
Default |
Description |
|---|---|---|
|
|
Build the test suite |
|
|
Enable Valgrind memory checking |
|
|
Enable code coverage output |
|
|
Build Sphinx/Doxygen documentation |
Docker#
Build and run the MIEM container:
git clone https://github.com/NCAR/miem.git
cd miem
docker build -t miem -f docker/Dockerfile .
docker run -it miem bash
Inside the container:
cd miem/build
make test