From 5b2c84c0b6880c66657e6fdd0f802a2187c25d05 Mon Sep 17 00:00:00 2001 From: Danny Holman Date: Sun, 15 Sep 2024 14:49:26 -0500 Subject: build: break the engine into its subsystems Break the source code into various subsystem directories. This allows certain subsystems to be disabled at compile time, if needed. Move the build system from raw Makefiles to a CMake generator. This drastically simplifies the build and requires only editing a single file, rather than the several make.config files in subsystem directories. Signed-off-by: Danny Holman --- include/rune/logging.h | 37 ------------------------------------- 1 file changed, 37 deletions(-) delete mode 100644 include/rune/logging.h (limited to 'include/rune/logging.h') diff --git a/include/rune/logging.h b/include/rune/logging.h deleted file mode 100644 index 5b9aabf..0000000 --- a/include/rune/logging.h +++ /dev/null @@ -1,37 +0,0 @@ -/* - * Rune Game Engine - * Copyright 2024 Danny Holman - * - * This software is provided 'as-is', without any express or implied - * warranty. In no event will the authors be held liable for any damages - * arising from the use of this software. - * - * Permission is granted to anyone to use this software for any purpose, - * including commercial applications, and to alter it and redistribute it - * freely, subject to the following restrictions: - * - * 1. The origin of this software must not be misrepresented; you must not - * claim that you wrote the original software. If you use this software - * in a product, an acknowledgment in the product documentation would be - * appreciated but is not required. - * 2. Altered source versions must be plainly marked as such, and must not be - * misrepresented as being the original software. - * 3. This notice may not be removed or altered from any source distribution. - */ - -#ifndef RUNE_LOGGING_H -#define RUNE_LOGGING_H - -#include - -enum log_level { - LOG_FATAL, - LOG_ERROR, - LOG_WARN, - LOG_INFO, - LOG_DEBUG -}; - -RAPI void log_output(int level, const char *fmt, ...); - -#endif -- cgit v1.2.3