Add basic project heirarchy and config

This commit is contained in:
2025-11-04 00:13:31 +10:00
parent 3031290ba0
commit 078d866c8a
22 changed files with 211 additions and 47 deletions

View 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