Skip to content

Latest commit

 

History

History
49 lines (37 loc) · 1.66 KB

README.md

File metadata and controls

49 lines (37 loc) · 1.66 KB

MPark.Variant

C++17 std::variant for C++11/14/17

release header travis appveyor license godbolt wandbox

Test

This directory contains the tests for MPark.Variant.

CMake Variables

  • MPARK_VARIANT_EXCEPTIONS:BOOL (default: ON)

    Build the tests with exceptions support.

Build / Run

Execute the following commands from the top-level directory:

mkdir build
cd build
cmake -DMPARK_VARIANT_INCLUDE_TESTS="mpark;libc++" ..
cmake --build .
ctest --output-on-failure