Replace Catch header by a xmake package

This commit is contained in:
Jérôme Leclercq
2021-06-04 20:09:35 +02:00
parent ee2ceaa701
commit d72984380d
64 changed files with 68 additions and 17861 deletions

View File

@@ -2,7 +2,7 @@
#include <NazaraSDK/Components/NodeComponent.hpp>
#include <NazaraSDK/Components/VelocityComponent.hpp>
#include <NazaraSDK/World.hpp>
#include <Catch/catch.hpp>
#include <catch2/catch.hpp>
namespace
{

View File

@@ -1,5 +1,5 @@
#include <NazaraSDK/Component.hpp>
#include <Catch/catch.hpp>
#include <catch2/catch.hpp>
namespace
{

View File

@@ -1,6 +1,6 @@
#include <NazaraSDK/World.hpp>
#include <NazaraSDK/Component.hpp>
#include <Catch/catch.hpp>
#include <catch2/catch.hpp>
namespace
{

View File

@@ -1,6 +1,6 @@
#include <NazaraSDK/EntityList.hpp>
#include <NazaraSDK/World.hpp>
#include <Catch/catch.hpp>
#include <catch2/catch.hpp>
SCENARIO("EntityList", "[NDK][ENTITYLIST]")
{

View File

@@ -1,6 +1,6 @@
#include <NazaraSDK/EntityOwner.hpp>
#include <NazaraSDK/World.hpp>
#include <Catch/catch.hpp>
#include <catch2/catch.hpp>
SCENARIO("EntityOwner", "[NDK][ENTITYOWNER]")
{

View File

@@ -1,5 +1,5 @@
#include <NazaraSDK/StateMachine.hpp>
#include <Catch/catch.hpp>
#include <catch2/catch.hpp>
class TestState : public Ndk::State
{

View File

@@ -1,5 +1,5 @@
#include <NazaraSDK/System.hpp>
#include <Catch/catch.hpp>
#include <catch2/catch.hpp>
namespace
{

View File

@@ -4,7 +4,7 @@
#include <NazaraSDK/Components/NodeComponent.hpp>
#include <NazaraSDK/Components/PhysicsComponent2D.hpp>
#include <NazaraSDK/Systems/PhysicsSystem2D.hpp>
#include <Catch/catch.hpp>
#include <catch2/catch.hpp>
#include <limits>
Ndk::EntityHandle CreateBaseEntity(Ndk::World& world, const Nz::Vector2f& position, const Nz::Rectf& AABB);

View File

@@ -4,7 +4,7 @@
#include <NazaraSDK/Components/NodeComponent.hpp>
#include <NazaraSDK/Components/PhysicsComponent3D.hpp>
#include <NazaraSDK/Systems/PhysicsSystem3D.hpp>
#include <Catch/catch.hpp>
#include <catch2/catch.hpp>
SCENARIO("PhysicsSystem3D", "[NDK][PHYSICSSYSTEM3D]")
{

View File

@@ -2,7 +2,7 @@
#include <NazaraSDK/World.hpp>
#include <NazaraSDK/Components/NodeComponent.hpp>
#include <NazaraSDK/Components/VelocityComponent.hpp>
#include <Catch/catch.hpp>
#include <catch2/catch.hpp>
SCENARIO("VelocitySystem", "[NDK][VELOCITYSYSTEM]")
{

View File

@@ -1,6 +1,6 @@
#include <NazaraSDK/World.hpp>
#include <NazaraSDK/Component.hpp>
#include <Catch/catch.hpp>
#include <catch2/catch.hpp>
namespace
{