Do CMake properly

This commit is contained in:
Simon Brand
2019-05-01 13:23:30 +01:00
parent 53697d4a36
commit 6ce85550f3
20 changed files with 32 additions and 21 deletions

View File

@@ -1,5 +1,5 @@
#include "catch.hpp"
#include "optional.hpp"
#include <tl/optional.hpp>
TEST_CASE("Assignment value", "[assignment.value]") {
tl::optional<int> o1 = 42;

View File

@@ -1,5 +1,5 @@
#include "catch.hpp"
#include "optional.hpp"
#include <tl/optional.hpp>
// Old versions of GCC don't have the correct trait names. Could fix them up if needs be.
#if (defined(__GNUC__) && __GNUC__ == 4 && __GNUC_MINOR__ <= 9 && \

View File

@@ -1,5 +1,5 @@
#include "catch.hpp"
#include "optional.hpp"
#include <tl/optional.hpp>
#define TOKENPASTE(x, y) x##y
#define TOKENPASTE2(x, y) TOKENPASTE(x, y)

View File

@@ -1,5 +1,5 @@
#include "catch.hpp"
#include "optional.hpp"
#include <tl/optional.hpp>
#include <vector>
struct foo {

View File

@@ -1,5 +1,5 @@
#include "catch.hpp"
#include "optional.hpp"
#include <tl/optional.hpp>
#include <utility>
#include <tuple>

View File

@@ -1,5 +1,5 @@
#include "catch.hpp"
#include "optional.hpp"
#include <tl/optional.hpp>
#include <string>
#define TOKENPASTE(x, y) x##y

View File

@@ -1,4 +1,4 @@
#include "catch.hpp"
#include "optional.hpp"
#include <tl/optional.hpp>
TEST_CASE("Hashing", "[hash]") {}

View File

@@ -1,5 +1,5 @@
#include "catch.hpp"
#include "optional.hpp"
#include <tl/optional.hpp>
#include <tuple>
#include <vector>

View File

@@ -1,5 +1,5 @@
#include "catch.hpp"
#include "optional.hpp"
#include <tl/optional.hpp>
#include <type_traits>
struct foo{

View File

@@ -1,5 +1,5 @@
#include "catch.hpp"
#include "optional.hpp"
#include <tl/optional.hpp>
#include <tuple>
#include <vector>

View File

@@ -1,5 +1,5 @@
#include "catch.hpp"
#include "optional.hpp"
#include <tl/optional.hpp>
TEST_CASE("Noexcept", "[noexcept]") {
tl::optional<int> o1{4};

View File

@@ -1,5 +1,5 @@
#include "catch.hpp"
#include "optional.hpp"
#include <tl/optional.hpp>
TEST_CASE("Nullopt", "[nullopt]") {
tl::optional<int> o1 = tl::nullopt;

View File

@@ -1,5 +1,5 @@
#include "catch.hpp"
#include "optional.hpp"
#include <tl/optional.hpp>
struct move_detector {
move_detector() = default;

View File

@@ -1,5 +1,5 @@
#include "catch.hpp"
#include "optional.hpp"
#include <tl/optional.hpp>
TEST_CASE("Relational ops", "[relops]") {
tl::optional<int> o1{4};