From f4f2fc7c3d76eb3dc5a91c5eefb36c10597d6cb7 Mon Sep 17 00:00:00 2001 From: peterbell10 Date: Fri, 25 Aug 2017 13:43:18 +0100 Subject: Add cUUID class (#3871) --- tests/ByteBuffer/CMakeLists.txt | 1 + tests/ByteBuffer/Stubs.cpp | 16 ++++++++++++++++ 2 files changed, 17 insertions(+) create mode 100644 tests/ByteBuffer/Stubs.cpp (limited to 'tests/ByteBuffer') diff --git a/tests/ByteBuffer/CMakeLists.txt b/tests/ByteBuffer/CMakeLists.txt index 12c2f6e3c..06832848e 100644 --- a/tests/ByteBuffer/CMakeLists.txt +++ b/tests/ByteBuffer/CMakeLists.txt @@ -19,6 +19,7 @@ set (SHARED_HDRS set (SRCS ByteBufferTest.cpp + Stubs.cpp ) source_group("Shared" FILES ${SHARED_SRCS} ${SHARED_HDRS}) diff --git a/tests/ByteBuffer/Stubs.cpp b/tests/ByteBuffer/Stubs.cpp new file mode 100644 index 000000000..c3271ff31 --- /dev/null +++ b/tests/ByteBuffer/Stubs.cpp @@ -0,0 +1,16 @@ + +// Stubs.cpp + +// Implements stubs of various Cuberite methods that are needed for linking but not for runtime +// This is required so that we don't bring in the entire Cuberite via dependencies + +#include "Globals.h" +#include "UUID.h" + + + + +void cUUID::FromRaw(const std::array &){} + + + -- cgit v1.2.3