2020-06-26 18:01:27 +00:00
|
|
|
// This file is a part of toml++ and is subject to the the terms of the MIT license.
|
2021-01-02 15:48:47 +00:00
|
|
|
// Copyright (c) Mark Gillard <mark.gillard@outlook.com.au>
|
2020-06-26 18:01:27 +00:00
|
|
|
// See https://github.com/marzer/tomlplusplus/blob/master/LICENSE for the full license text.
|
|
|
|
// SPDX-License-Identifier: MIT
|
|
|
|
|
2020-01-04 14:21:38 +00:00
|
|
|
#pragma once
|
2020-06-24 18:05:23 +00:00
|
|
|
#include "settings.h"
|
2020-01-04 14:21:38 +00:00
|
|
|
|
2020-07-17 13:33:56 +00:00
|
|
|
#ifdef __clang__
|
|
|
|
#pragma clang diagnostic push
|
|
|
|
#pragma clang diagnostic ignored "-Weverything"
|
2020-07-21 13:11:32 +00:00
|
|
|
#elif defined (__GNUC__)
|
|
|
|
#pragma GCC diagnostic push
|
|
|
|
#pragma GCC diagnostic ignored "-Wall"
|
|
|
|
#pragma GCC diagnostic ignored "-Wextra"
|
|
|
|
#pragma GCC diagnostic ignored "-Wpadded"
|
|
|
|
#pragma GCC diagnostic ignored "-Wfloat-equal"
|
2020-07-17 13:33:56 +00:00
|
|
|
#endif
|
|
|
|
|
2020-01-06 18:21:16 +00:00
|
|
|
#if __has_include(<Catch2/single_include/catch2/catch.hpp>)
|
|
|
|
#include <Catch2/single_include/catch2/catch.hpp>
|
|
|
|
#else
|
2020-03-03 21:28:24 +00:00
|
|
|
#error Catch2 is missing! You probably need to fetch submodules ("git submodule update --init extern/Catch2")
|
2020-01-06 18:21:16 +00:00
|
|
|
#endif
|
2020-07-17 13:33:56 +00:00
|
|
|
|
|
|
|
#ifdef __clang__
|
|
|
|
#pragma clang diagnostic pop
|
2020-07-21 13:11:32 +00:00
|
|
|
#elif defined (__GNUC__)
|
|
|
|
#pragma GCC diagnostic pop
|
2020-07-17 13:33:56 +00:00
|
|
|
#endif
|
2020-07-21 13:11:32 +00:00
|
|
|
|