Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
865142e503 | ||
|
|
9f43dcc9f2 |
+1
-1
@@ -1,6 +1,6 @@
|
||||
name: config
|
||||
gpid: malunal
|
||||
semv: 1.0.0
|
||||
semv: 1.0.2
|
||||
|
||||
targets:
|
||||
- name: malunal.config
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
#if defined(__clang__)
|
||||
# error "Clang unsupported at this time"
|
||||
#elif defined(__GNUC__)
|
||||
# define MALUNAL_COMPILER_CONFIG "./config/compiler/gcc.hpp"
|
||||
# define MALUNAL_COMPILER_CONFIG "./config/compiler/gcc.h"
|
||||
#elif defined(_MSC_VER)
|
||||
# error "MSVC unsupported at this time"
|
||||
#else
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/**
|
||||
* @file platform.hpp
|
||||
* @file platform.h
|
||||
* @brief Selects a platform specific header based on defined macros of that
|
||||
* platform, which includes settings for that platform.
|
||||
* @author John Christman (sorakatadzuma@gmail.com)
|
||||
@@ -13,11 +13,11 @@
|
||||
defined(__linux__) || \
|
||||
defined(__GNU__) || \
|
||||
defined(__GLIBC__)
|
||||
# define MALUNAL_PLATFORM_CONFIG "./config/platform/linux.hpp"
|
||||
# define MALUNAL_PLATFORM_CONFIG "./config/platform/linux.h"
|
||||
#elif defined(WIN32) || \
|
||||
defined(_WIN32) || \
|
||||
defined(__WIN32__)
|
||||
# define MALUNAL_PLATFORM_CONFIG "./config/platform/windows.hpp"
|
||||
# define MALUNAL_PLATFORM_CONFIG "./config/platform/windows.h"
|
||||
#else
|
||||
# error "Unsupported platform"
|
||||
#endif // Platform selection.
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
* @author John Christman (sorakatadzuma@gmail.com)
|
||||
* @copyright Malunal Studios, LLC.
|
||||
*/
|
||||
#include "common.hpp"
|
||||
#include "common.h"
|
||||
|
||||
|
||||
/**
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
* @author John Christman (sorakatadzuma@gmail.com)
|
||||
* @copyright Malunal Studios, LLC.
|
||||
*/
|
||||
#include "common.hpp"
|
||||
#include "common.h"
|
||||
|
||||
|
||||
/**
|
||||
|
||||
@@ -5,16 +5,16 @@
|
||||
* @author John Christman (sorakatadzuma@gmail.com)
|
||||
* @copyright Malunal Studios, LLC.
|
||||
*/
|
||||
#ifndef MALUNAL_CONFIG_PROCESSOR_CONFIG
|
||||
#define MALUNAL_CONFIG_PROCESSOR_CONFIG
|
||||
#ifndef MALUNAL_CONFIG_PROCESSOR_HEADER
|
||||
#define MALUNAL_CONFIG_PROCESSOR_HEADER
|
||||
|
||||
#if defined(__i386__) || defined(__intel__) || defined(_M_IX86)
|
||||
# define MALUNAL_PROCESSOR_CONFIG "./config/processor/x86.h"
|
||||
#elif defined(__x86_64__) || defined(_AMD64_) || defined(_M_AMD64)
|
||||
# define MALUNAL_PROCESSOR_CONFIG "./config/processor/x64.hpp"
|
||||
# define MALUNAL_PROCESSOR_CONFIG "./config/processor/x64.h"
|
||||
#else
|
||||
# error Unknown processor.
|
||||
# error Unknown endianess.
|
||||
#endif // Processor selection.
|
||||
|
||||
#endif /* MALUNAL_CONFIG_PROCESSOR_CONFIG */
|
||||
#endif /* MALUNAL_CONFIG_PROCESSOR_HEADER */
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/**
|
||||
* @file x86.hpp
|
||||
* @file x86.h
|
||||
* @brief Contains the configuration for x86 based processors.
|
||||
* @author John Christman <sorakatadzuma@gmail.com>
|
||||
* @copyright 2024-2025 Malunal Studios, LLC.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/**
|
||||
* @file x86.hpp
|
||||
* @file x86.h
|
||||
* @brief Contains the configuration for x86 based processors.
|
||||
* @author John Christman <sorakatadzuma@gmail.com>
|
||||
* @copyright 2024-2025 Malunal Studios, LLC.
|
||||
|
||||
Reference in New Issue
Block a user