Add basic project setup with engine and editor subdirectories
This commit is contained in:
10 files changed
+188
-44
No files matched your search
@@ -0,0 +1,25 @@
|
||||
/**
|
||||
* Copyright (c) 2025, Jayden Grubb <[email protected]>
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifndef NOVA_API
|
||||
#ifdef WIN32
|
||||
#ifdef NOVA_DLL_EXPORT
|
||||
#define NOVA_API __declspec(dllexport)
|
||||
#elif NOVA_DLL_IMPORT
|
||||
#define NOVA_API __declspec(dllimport)
|
||||
#else
|
||||
#define NOVA_API
|
||||
#endif
|
||||
#else
|
||||
#ifdef NOVA_DLL_EXPORT
|
||||
#define NOVA_API __attribute__((visibility("default")))
|
||||
#else
|
||||
#define NOVA_API
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
@@ -0,0 +1,11 @@
|
||||
/**
|
||||
* Copyright (c) 2025, Jayden Grubb <[email protected]>
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <nova/api.h>
|
||||
|
||||
NOVA_API void func();
|
||||
Reference in new issue
Block a user