Finality Engine
Loading...
Searching...
No Matches
Core.h
Go to the documentation of this file.
1
6#pragma once
7
8#define ENGINE_VERSION_MAJOR 1
9#define ENGINE_VERSION_MINOR 0
10#define ENGINE_VERSION_PATCH 0
11
12#ifdef _WIN32
13 #ifdef FINALITY_BUILD_DLL
14 #define FAPI __declspec(dllexport)
15 #else
16 #define FAPI __declspec(dllimport)
17 #endif
18#else
19 #ifdef FINALITY_BUILD_DLL
20 #define FAPI __attribute__((visibility("default")))
21 #else
22 #define FAPI
23 #endif
24#endif
25
26#ifdef FINALITY_INCLUDE_VULKAN
27 #define GLFW_INCLUDE_VULKAN
28#endif // FINALITY_INCLUDE_VULKAN
29
30#ifdef _WIN32
31 #define GLFW_EXPOSE_NATIVE_WIN32
32#endif