Made NBEngine installable + CMake restruct

This commit is contained in:
NaifBanana
2026-07-19 22:19:50 -05:00
parent abbae156a2
commit 5415a01885
26 changed files with 159 additions and 78 deletions
+2 -2
View File
@@ -1,10 +1,10 @@
#define CODE_ERROR_LOCATIONS
#include <gtest/gtest.h>
#include "Errors.hpp"
#include <string>
#include <NBCore/Errors.hpp>
using namespace nb;
class TestError : public Error<TestError> {
+2 -2
View File
@@ -1,7 +1,7 @@
#include <exception>
#include "Errors.hpp"
#include "Logger.hpp"
#include <NBCore/Errors.hpp>
#include <NBCore/Logger.hpp>
class TestError : public nb::Error<TestError> {
using Base = Error<TestError>;
+1 -1
View File
@@ -1,7 +1,7 @@
#define CODE_ERROR_LOCATIONS
#include <gtest/gtest.h>
#include "Processes.hpp"
#include <NBCore/Processes.hpp>
#include <Windows.h>
TEST(ProcessesTest, GetPID) {
+2 -2
View File
@@ -3,8 +3,8 @@
#include <gtest/gtest.h>
#include <string>
#include "TypeTraits.hpp"
#include "StringUtils.hpp"
#include <NBCore/TypeTraits.hpp>
#include <NBCore/StringUtils.hpp>
namespace nb {