2020-03-03 21:28:24 +00:00
|
|
|
#ifdef TARTANLLAMA_OPTIONAL
|
|
|
|
#if __has_include(<tloptional/include/tl/optional.hpp>)
|
|
|
|
#include <tloptional/include/tl/optional.hpp>
|
|
|
|
#else
|
|
|
|
#error TartanLlama/optional is missing! You probably need to fetch submodules ("git submodule update --init extern/tloptional")
|
|
|
|
#endif
|
|
|
|
#define TOML_OPTIONAL_TYPE tl::optional
|
|
|
|
#endif
|
|
|
|
|
2020-03-01 14:56:40 +00:00
|
|
|
#define TOML_ALL_INLINE 0
|
2020-03-02 10:14:54 +00:00
|
|
|
#define TOML_IMPLEMENTATION
|
2020-03-01 14:56:40 +00:00
|
|
|
#include "../include/toml++/toml.h"
|
|
|
|
|
2020-01-04 14:21:38 +00:00
|
|
|
#define CATCH_CONFIG_RUNNER
|
|
|
|
#include "catch2.h"
|
|
|
|
|
|
|
|
int main(int argc, char* argv[])
|
|
|
|
{
|
|
|
|
#ifdef _WIN32
|
|
|
|
SetConsoleOutputCP(65001);
|
|
|
|
#endif
|
|
|
|
|
2020-01-06 18:21:16 +00:00
|
|
|
return Catch::Session().run(argc, argv);
|
2020-01-04 14:21:38 +00:00
|
|
|
}
|