Add basic project heirarchy and config
This commit is contained in:
29
engine/include/nova/core/api.hpp
Normal file
29
engine/include/nova/core/api.hpp
Normal file
@@ -0,0 +1,29 @@
|
||||
/**
|
||||
* Copyright (c) 2025, Jayden Grubb <contact@jaydengrubb.com>
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
// clang-format off
|
||||
|
||||
#if !defined(NOVA_API)
|
||||
#if defined(NOVA_PLATFORM_WINDOWS)
|
||||
#if defined(NOVA_EXPORT_SYMBOLS)
|
||||
#define NOVA_API __declspec(dllexport)
|
||||
#else
|
||||
#define NOVA_API __declspec(dllimport)
|
||||
#endif
|
||||
#elif defined(NOVA_PLATFORM_LINUX) || defined(NOVA_PLATFORM_MACOS)
|
||||
#if defined(NOVA_EXPORT_SYMBOLS)
|
||||
#define NOVA_API __attribute__((visibility("default")))
|
||||
#else
|
||||
#define NOVA_API
|
||||
#endif
|
||||
#else
|
||||
#define NOVA_API
|
||||
#endif
|
||||
#endif
|
||||
|
||||
// clang-format on
|
||||
7
engine/include/nova/core/debug.hpp
Normal file
7
engine/include/nova/core/debug.hpp
Normal file
@@ -0,0 +1,7 @@
|
||||
/**
|
||||
* Copyright (c) 2025, Jayden Grubb <contact@jaydengrubb.com>
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
Reference in New Issue
Block a user