Make Juliet a dynamic library.

Added some dllexport (JULIET_API) to make the code compile.
A lot are missing but will be added when needed
This commit is contained in:
2025-01-11 14:14:38 -05:00
parent 915858c0d3
commit 2b82952f62
11 changed files with 734 additions and 351 deletions

View File

@@ -1,11 +1,12 @@
#pragma once
#include <Graphics/GraphicsConfig.h>
#include <Juliet.h>
// Graphics Interface
namespace Juliet
{
struct GraphicsDevice;
extern GraphicsDevice* CreateGraphicsDevice(GraphicsConfig config);
extern JULIET_API GraphicsDevice* CreateGraphicsDevice(GraphicsConfig config);
} // namespace Juliet