2
0
mirror of https://github.com/boostorg/leaf.git synced 2026-02-15 01:02:13 +00:00

Added meson config for testing embedded builds

This commit is contained in:
Emil Dotchevski
2024-08-04 16:23:53 -07:00
parent 1f74580555
commit 05b94dfdfb
3 changed files with 46 additions and 2 deletions

View File

@@ -7,6 +7,20 @@
// objects between threads, using exception handling. See capture_in_result.cpp
// for the version that does not use exception handling.
#include <boost/leaf/config.hpp>
#if !BOOST_LEAF_CFG_CAPTURE || defined(BOOST_LEAF_NO_EXCEPTIONS)
#include <iostream>
int main()
{
std::cout << "Unit test not applicable." << std::endl;
return 0;
}
#else
#include <boost/leaf.hpp>
#include <vector>
#include <string>
@@ -88,3 +102,5 @@ int main()
} );
}
}
#endif