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

@ -1,5 +1,5 @@
#include <Nazara/Audio/Algorithm.hpp> #include <Nazara/Audio/Algorithm.hpp>
#include <Catch/catch.hpp> #include <catch2/catch.hpp>
#include <array> #include <array>

View File

@ -1,6 +1,6 @@
#include <Nazara/Audio/Audio.hpp> #include <Nazara/Audio/Audio.hpp>
#include <Nazara/Audio/Music.hpp> #include <Nazara/Audio/Music.hpp>
#include <Catch/catch.hpp> #include <catch2/catch.hpp>
#include <chrono> #include <chrono>
#include <thread> #include <thread>

View File

@ -1,5 +1,5 @@
#include <Nazara/Audio/SoundBuffer.hpp> #include <Nazara/Audio/SoundBuffer.hpp>
#include <Catch/catch.hpp> #include <catch2/catch.hpp>
std::filesystem::path GetResourceDir(); std::filesystem::path GetResourceDir();

View File

@ -1,5 +1,5 @@
#include <Nazara/Audio/Sound.hpp> #include <Nazara/Audio/Sound.hpp>
#include <Catch/catch.hpp> #include <catch2/catch.hpp>
std::filesystem::path GetResourceDir(); std::filesystem::path GetResourceDir();

View File

@ -1,6 +1,6 @@
#include <Nazara/Audio/Audio.hpp> #include <Nazara/Audio/Audio.hpp>
#include <Nazara/Audio/Sound.hpp> #include <Nazara/Audio/Sound.hpp>
#include <Catch/catch.hpp> #include <catch2/catch.hpp>
#include <chrono> #include <chrono>
#include <thread> #include <thread>

View File

@ -1,5 +1,5 @@
#include <Nazara/Core/AbstractHash.hpp> #include <Nazara/Core/AbstractHash.hpp>
#include <Catch/catch.hpp> #include <catch2/catch.hpp>
#include <Nazara/Core/ByteArray.hpp> #include <Nazara/Core/ByteArray.hpp>

View File

@ -1,7 +1,7 @@
#include <Nazara/Core/Algorithm.hpp> #include <Nazara/Core/Algorithm.hpp>
#include <Nazara/Core/StringExt.hpp> #include <Nazara/Core/StringExt.hpp>
#include <Nazara/Math/Vector2.hpp> #include <Nazara/Math/Vector2.hpp>
#include <Catch/catch.hpp> #include <catch2/catch.hpp>
TEST_CASE("Apply", "[CORE][ALGORITHM]") TEST_CASE("Apply", "[CORE][ALGORITHM]")
{ {

View File

@ -1,6 +1,6 @@
#include <Nazara/Core/Algorithm.hpp> #include <Nazara/Core/Algorithm.hpp>
#include <Nazara/Core/Bitset.hpp> #include <Nazara/Core/Bitset.hpp>
#include <Catch/catch.hpp> #include <catch2/catch.hpp>
#include <array> #include <array>
#include <string> #include <string>
#include <iostream> #include <iostream>

View File

@ -1,5 +1,5 @@
#include <Nazara/Core/ByteArray.hpp> #include <Nazara/Core/ByteArray.hpp>
#include <Catch/catch.hpp> #include <catch2/catch.hpp>
#include <string> #include <string>

View File

@ -1,5 +1,5 @@
#include <Nazara/Core/ByteStream.hpp> #include <Nazara/Core/ByteStream.hpp>
#include <Catch/catch.hpp> #include <catch2/catch.hpp>
#include <array> #include <array>

View File

@ -1,5 +1,5 @@
#include <Nazara/Core/Clock.hpp> #include <Nazara/Core/Clock.hpp>
#include <Catch/catch.hpp> #include <catch2/catch.hpp>
#include <chrono> #include <chrono>
#include <thread> #include <thread>

View File

@ -1,5 +1,5 @@
#include <Nazara/Core/Color.hpp> #include <Nazara/Core/Color.hpp>
#include <Catch/catch.hpp> #include <catch2/catch.hpp>
const float epsilon = 1.f; const float epsilon = 1.f;

View File

@ -1,5 +1,5 @@
#include <Nazara/Core/Error.hpp> #include <Nazara/Core/Error.hpp>
#include <Catch/catch.hpp> #include <catch2/catch.hpp>
SCENARIO("Error", "[CORE][ERROR]") SCENARIO("Error", "[CORE][ERROR]")
{ {

View File

@ -1,5 +1,5 @@
#include <Nazara/Core/File.hpp> #include <Nazara/Core/File.hpp>
#include <Catch/catch.hpp> #include <catch2/catch.hpp>
std::filesystem::path GetResourceDir(); std::filesystem::path GetResourceDir();

View File

@ -1,5 +1,5 @@
#include <Nazara/Core/MemoryPool.hpp> #include <Nazara/Core/MemoryPool.hpp>
#include <Catch/catch.hpp> #include <catch2/catch.hpp>
#include <Nazara/Math/Vector2.hpp> #include <Nazara/Math/Vector2.hpp>

View File

@ -1,6 +1,6 @@
#include <Nazara/Core/HandledObject.hpp> #include <Nazara/Core/HandledObject.hpp>
#include <Nazara/Core/ObjectHandle.hpp> #include <Nazara/Core/ObjectHandle.hpp>
#include <Catch/catch.hpp> #include <catch2/catch.hpp>
struct ObjectHandle_Test : public Nz::HandledObject<ObjectHandle_Test> struct ObjectHandle_Test : public Nz::HandledObject<ObjectHandle_Test>
{ {

View File

@ -1,5 +1,5 @@
#include <Nazara/Core/ObjectRef.hpp> #include <Nazara/Core/ObjectRef.hpp>
#include <Catch/catch.hpp> #include <catch2/catch.hpp>
class Test : public Nz::RefCounted class Test : public Nz::RefCounted
{ {

View File

@ -1,5 +1,5 @@
#include <Nazara/Core/ParameterList.hpp> #include <Nazara/Core/ParameterList.hpp>
#include <Catch/catch.hpp> #include <catch2/catch.hpp>
void nullAction(void*) void nullAction(void*)
{ {

View File

@ -1,5 +1,5 @@
#include <Nazara/Core/PrimitiveList.hpp> #include <Nazara/Core/PrimitiveList.hpp>
#include <Catch/catch.hpp> #include <catch2/catch.hpp>
SCENARIO("PrimitiveList", "[CORE][PRIMITIVELIST]") SCENARIO("PrimitiveList", "[CORE][PRIMITIVELIST]")
{ {

View File

@ -1,5 +1,5 @@
#include <Nazara/Core/RefCounted.hpp> #include <Nazara/Core/RefCounted.hpp>
#include <Catch/catch.hpp> #include <catch2/catch.hpp>
SCENARIO("RefCounted", "[CORE][REFCOUNTED]") SCENARIO("RefCounted", "[CORE][REFCOUNTED]")
{ {

View File

@ -7,7 +7,7 @@
#include <Nazara/Math/Ray.hpp> #include <Nazara/Math/Ray.hpp>
#include <array> #include <array>
#include <Catch/catch.hpp> #include <catch2/catch.hpp>
SCENARIO("Serialization", "[CORE][SERIALIZATION]") SCENARIO("Serialization", "[CORE][SERIALIZATION]")
{ {

View File

@ -1,5 +1,5 @@
#include <Nazara/Core/Signal.hpp> #include <Nazara/Core/Signal.hpp>
#include <Catch/catch.hpp> #include <catch2/catch.hpp>
struct Incrementer struct Incrementer
{ {

View File

@ -1,5 +1,5 @@
#include <Nazara/Core/SparsePtr.hpp> #include <Nazara/Core/SparsePtr.hpp>
#include <Catch/catch.hpp> #include <catch2/catch.hpp>
#include <array> #include <array>

View File

@ -1,6 +1,6 @@
#include <Nazara/Core/MovablePtr.hpp> #include <Nazara/Core/MovablePtr.hpp>
#include <Nazara/Core/StackVector.hpp> #include <Nazara/Core/StackVector.hpp>
#include <Catch/catch.hpp> #include <catch2/catch.hpp>
#include <array> #include <array>
#include <numeric> #include <numeric>

View File

@ -1,5 +1,5 @@
#include <Nazara/Core/StringExt.hpp> #include <Nazara/Core/StringExt.hpp>
#include <Catch/catch.hpp> #include <catch2/catch.hpp>
SCENARIO("String", "[CORE][STRING]") SCENARIO("String", "[CORE][STRING]")
{ {

View File

@ -1,6 +1,6 @@
#include <Nazara/Math/Algorithm.hpp> #include <Nazara/Math/Algorithm.hpp>
#include <Nazara/Math/Angle.hpp> #include <Nazara/Math/Angle.hpp>
#include <Catch/catch.hpp> #include <catch2/catch.hpp>
#include <limits> #include <limits>
TEST_CASE("Approach", "[MATH][ALGORITHM]") TEST_CASE("Approach", "[MATH][ALGORITHM]")

View File

@ -1,7 +1,7 @@
#include <Nazara/Math/Angle.hpp> #include <Nazara/Math/Angle.hpp>
#include <Nazara/Math/EulerAngles.hpp> #include <Nazara/Math/EulerAngles.hpp>
#include <Nazara/Math/Quaternion.hpp> #include <Nazara/Math/Quaternion.hpp>
#include <Catch/catch.hpp> #include <catch2/catch.hpp>
SCENARIO("Angle", "[MATH][ANGLE]") SCENARIO("Angle", "[MATH][ANGLE]")
{ {

View File

@ -1,5 +1,5 @@
#include <Nazara/Math/BoundingVolume.hpp> #include <Nazara/Math/BoundingVolume.hpp>
#include <Catch/catch.hpp> #include <catch2/catch.hpp>
SCENARIO("BoundingVolume", "[MATH][BOUNDINGVOLUME]") SCENARIO("BoundingVolume", "[MATH][BOUNDINGVOLUME]")
{ {

View File

@ -1,5 +1,5 @@
#include <Nazara/Math/Box.hpp> #include <Nazara/Math/Box.hpp>
#include <Catch/catch.hpp> #include <catch2/catch.hpp>
SCENARIO("Box", "[MATH][BOX]") SCENARIO("Box", "[MATH][BOX]")
{ {

View File

@ -1,6 +1,6 @@
#include <Nazara/Math/Angle.hpp> #include <Nazara/Math/Angle.hpp>
#include <Nazara/Math/EulerAngles.hpp> #include <Nazara/Math/EulerAngles.hpp>
#include <Catch/catch.hpp> #include <catch2/catch.hpp>
SCENARIO("EulerAngles", "[MATH][EULERANGLES]") SCENARIO("EulerAngles", "[MATH][EULERANGLES]")
{ {

View File

@ -1,5 +1,5 @@
#include <Nazara/Math/Frustum.hpp> #include <Nazara/Math/Frustum.hpp>
#include <Catch/catch.hpp> #include <catch2/catch.hpp>
SCENARIO("Frustum", "[MATH][FRUSTUM]") SCENARIO("Frustum", "[MATH][FRUSTUM]")
{ {

View File

@ -1,5 +1,5 @@
#include <Nazara/Math/Matrix4.hpp> #include <Nazara/Math/Matrix4.hpp>
#include <Catch/catch.hpp> #include <catch2/catch.hpp>
#include <array> #include <array>

View File

@ -1,5 +1,5 @@
#include <Nazara/Math/OrientedBox.hpp> #include <Nazara/Math/OrientedBox.hpp>
#include <Catch/catch.hpp> #include <catch2/catch.hpp>
SCENARIO("OrientedBox", "[MATH][ORIENTEDBOX]") SCENARIO("OrientedBox", "[MATH][ORIENTEDBOX]")
{ {

View File

@ -1,5 +1,5 @@
#include <Nazara/Math/Plane.hpp> #include <Nazara/Math/Plane.hpp>
#include <Catch/catch.hpp> #include <catch2/catch.hpp>
SCENARIO("Plane", "[MATH][PLANE]") SCENARIO("Plane", "[MATH][PLANE]")
{ {

View File

@ -1,5 +1,5 @@
#include <Nazara/Math/Quaternion.hpp> #include <Nazara/Math/Quaternion.hpp>
#include <Catch/catch.hpp> #include <catch2/catch.hpp>
SCENARIO("Quaternion", "[MATH][QUATERNION]") SCENARIO("Quaternion", "[MATH][QUATERNION]")
{ {

View File

@ -1,5 +1,5 @@
#include <Nazara/Math/Ray.hpp> #include <Nazara/Math/Ray.hpp>
#include <Catch/catch.hpp> #include <catch2/catch.hpp>
SCENARIO("Ray", "[MATH][RAY]") SCENARIO("Ray", "[MATH][RAY]")
{ {

View File

@ -1,5 +1,5 @@
#include <Nazara/Math/Rect.hpp> #include <Nazara/Math/Rect.hpp>
#include <Catch/catch.hpp> #include <catch2/catch.hpp>
SCENARIO("Rect", "[MATH][RECT]") SCENARIO("Rect", "[MATH][RECT]")
{ {

View File

@ -1,5 +1,5 @@
#include <Nazara/Math/Sphere.hpp> #include <Nazara/Math/Sphere.hpp>
#include <Catch/catch.hpp> #include <catch2/catch.hpp>
SCENARIO("Sphere", "[MATH][SPHERE]") SCENARIO("Sphere", "[MATH][SPHERE]")
{ {

View File

@ -1,4 +1,4 @@
#include <Catch/catch.hpp> #include <catch2/catch.hpp>
#include <Nazara/Math/Vector2.hpp> #include <Nazara/Math/Vector2.hpp>
#include <Nazara/Math/Vector4.hpp> #include <Nazara/Math/Vector4.hpp>

View File

@ -1,4 +1,4 @@
#include <Catch/catch.hpp> #include <catch2/catch.hpp>
#include <Nazara/Math/Vector2.hpp> #include <Nazara/Math/Vector2.hpp>
#include <Nazara/Math/Vector3.hpp> #include <Nazara/Math/Vector3.hpp>
#include <Nazara/Math/Vector4.hpp> #include <Nazara/Math/Vector4.hpp>

View File

@ -1,5 +1,5 @@
#include <Nazara/Math/Vector4.hpp> #include <Nazara/Math/Vector4.hpp>
#include <Catch/catch.hpp> #include <catch2/catch.hpp>
#include <Nazara/Math/Vector3.hpp> #include <Nazara/Math/Vector3.hpp>

View File

@ -1,5 +1,5 @@
#include <Nazara/Network/IpAddress.hpp> #include <Nazara/Network/IpAddress.hpp>
#include <Catch/catch.hpp> #include <catch2/catch.hpp>
SCENARIO("IpAddress", "[NETWORK][IPADDRESS]") SCENARIO("IpAddress", "[NETWORK][IPADDRESS]")
{ {

View File

@ -3,7 +3,7 @@
#include <Nazara/Network/SocketPoller.hpp> #include <Nazara/Network/SocketPoller.hpp>
#include <Nazara/Network/TcpClient.hpp> #include <Nazara/Network/TcpClient.hpp>
#include <Nazara/Network/TcpServer.hpp> #include <Nazara/Network/TcpServer.hpp>
#include <Catch/catch.hpp> #include <catch2/catch.hpp>
#include <random> #include <random>
SCENARIO("SocketPoller", "[NETWORK][SOCKETPOLLER]") SCENARIO("SocketPoller", "[NETWORK][SOCKETPOLLER]")

View File

@ -2,7 +2,7 @@
#include <Nazara/Network/NetPacket.hpp> #include <Nazara/Network/NetPacket.hpp>
#include <Nazara/Network/TcpClient.hpp> #include <Nazara/Network/TcpClient.hpp>
#include <Nazara/Network/TcpServer.hpp> #include <Nazara/Network/TcpServer.hpp>
#include <Catch/catch.hpp> #include <catch2/catch.hpp>
#include <chrono> #include <chrono>
#include <random> #include <random>
#include <thread> #include <thread>

View File

@ -1,7 +1,7 @@
#include <Nazara/Math/Vector3.hpp> #include <Nazara/Math/Vector3.hpp>
#include <Nazara/Network/UdpSocket.hpp> #include <Nazara/Network/UdpSocket.hpp>
#include <Nazara/Network/NetPacket.hpp> #include <Nazara/Network/NetPacket.hpp>
#include <Catch/catch.hpp> #include <catch2/catch.hpp>
#include <random> #include <random>
SCENARIO("UdpSocket", "[NETWORK][UDPSOCKET]") SCENARIO("UdpSocket", "[NETWORK][UDPSOCKET]")

View File

@ -1,5 +1,5 @@
#include <Nazara/Physics2D/Collider2D.hpp> #include <Nazara/Physics2D/Collider2D.hpp>
#include <Catch/catch.hpp> #include <catch2/catch.hpp>
SCENARIO("Collider2D", "[PHYSICS2D][COLLIDER2D]") SCENARIO("Collider2D", "[PHYSICS2D][COLLIDER2D]")
{ {

View File

@ -1,5 +1,5 @@
#include <Nazara/Physics2D/PhysWorld2D.hpp> #include <Nazara/Physics2D/PhysWorld2D.hpp>
#include <Catch/catch.hpp> #include <catch2/catch.hpp>
Nz::RigidBody2D CreateBody(Nz::PhysWorld2D& world, const Nz::Vector2f& position, bool isMoving = true, const Nz::Vector2f& lengths = Nz::Vector2f::Unit()); Nz::RigidBody2D CreateBody(Nz::PhysWorld2D& world, const Nz::Vector2f& position, bool isMoving = true, const Nz::Vector2f& lengths = Nz::Vector2f::Unit());

View File

@ -1,6 +1,6 @@
#include <Nazara/Physics2D/RigidBody2D.hpp> #include <Nazara/Physics2D/RigidBody2D.hpp>
#include <Nazara/Physics2D/PhysWorld2D.hpp> #include <Nazara/Physics2D/PhysWorld2D.hpp>
#include <Catch/catch.hpp> #include <catch2/catch.hpp>
#include <iostream> #include <iostream>
#include <limits> #include <limits>

View File

@ -4,7 +4,7 @@
#include <Nazara/Shader/ShaderBuilder.hpp> #include <Nazara/Shader/ShaderBuilder.hpp>
#include <Nazara/Shader/SpirvPrinter.hpp> #include <Nazara/Shader/SpirvPrinter.hpp>
#include <Nazara/Shader/SpirvWriter.hpp> #include <Nazara/Shader/SpirvWriter.hpp>
#include <Catch/catch.hpp> #include <catch2/catch.hpp>
#include <cctype> #include <cctype>
void ExpectingGLSL(Nz::ShaderAst::StatementPtr& shader, std::string_view expectedOutput) void ExpectingGLSL(Nz::ShaderAst::StatementPtr& shader, std::string_view expectedOutput)

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -4,7 +4,7 @@
#include <NazaraSDK/Components/NodeComponent.hpp> #include <NazaraSDK/Components/NodeComponent.hpp>
#include <NazaraSDK/Components/PhysicsComponent2D.hpp> #include <NazaraSDK/Components/PhysicsComponent2D.hpp>
#include <NazaraSDK/Systems/PhysicsSystem2D.hpp> #include <NazaraSDK/Systems/PhysicsSystem2D.hpp>
#include <Catch/catch.hpp> #include <catch2/catch.hpp>
#include <limits> #include <limits>
Ndk::EntityHandle CreateBaseEntity(Ndk::World& world, const Nz::Vector2f& position, const Nz::Rectf& AABB); 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/NodeComponent.hpp>
#include <NazaraSDK/Components/PhysicsComponent3D.hpp> #include <NazaraSDK/Components/PhysicsComponent3D.hpp>
#include <NazaraSDK/Systems/PhysicsSystem3D.hpp> #include <NazaraSDK/Systems/PhysicsSystem3D.hpp>
#include <Catch/catch.hpp> #include <catch2/catch.hpp>
SCENARIO("PhysicsSystem3D", "[NDK][PHYSICSSYSTEM3D]") SCENARIO("PhysicsSystem3D", "[NDK][PHYSICSSYSTEM3D]")
{ {

View File

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

View File

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

View File

@ -1,5 +1,5 @@
#define CATCH_CONFIG_RUNNER #define CATCH_CONFIG_RUNNER
#include <Catch/catch.hpp> #include <catch2/catch.hpp>
#include <Nazara/Core/Log.hpp> #include <Nazara/Core/Log.hpp>
#include <Nazara/Core/AbstractLogger.hpp> #include <Nazara/Core/AbstractLogger.hpp>

View File

@ -1,5 +1,5 @@
#define CATCH_CONFIG_RUNNER #define CATCH_CONFIG_RUNNER
#include <Catch/catch.hpp> #include <catch2/catch.hpp>
#include <Nazara/Core/Log.hpp> #include <Nazara/Core/Log.hpp>
#include <Nazara/Core/AbstractLogger.hpp> #include <Nazara/Core/AbstractLogger.hpp>

View File

@ -3,11 +3,15 @@ if is_mode("asan") then
add_defines("CATCH_CONFIG_NO_POSIX_SIGNALS") add_defines("CATCH_CONFIG_NO_POSIX_SIGNALS")
end end
add_requires("catch2")
target("NazaraClientUnitTests") target("NazaraClientUnitTests")
set_group("Tests") set_group("Tests")
set_kind("binary") set_kind("binary")
add_deps("NazaraClientSDK") add_deps("NazaraClientSDK")
add_packages("catch2")
add_files("main_client.cpp") add_files("main_client.cpp")
add_files("resources.cpp") add_files("resources.cpp")
add_files("Engine/**.cpp") add_files("Engine/**.cpp")
@ -17,6 +21,8 @@ target("NazaraUnitTests")
set_kind("binary") set_kind("binary")
add_deps("NazaraSDK") add_deps("NazaraSDK")
add_packages("catch2")
add_files("main.cpp") add_files("main.cpp")
add_files("resources.cpp") add_files("resources.cpp")
add_files("Engine/**.cpp") add_files("Engine/**.cpp")

File diff suppressed because it is too large Load Diff