Use static linking instead of dynamic linking

This commit is contained in:
Karroffel
2017-07-23 17:53:50 +02:00
parent 606d2624af
commit 4769f49cb4
23 changed files with 64 additions and 303 deletions

View File

@@ -1,16 +1,6 @@
#ifndef ARRAY_H
#define ARRAY_H
#if defined(_WIN32)
# ifdef _GD_CPP_CORE_API_IMPL
# define GD_CPP_CORE_API __declspec(dllexport)
# else
# define GD_CPP_CORE_API __declspec(dllimport)
# endif
#else
# define GD_CPP_CORE_API
#endif
#include <godot/godot_array.h>
#include "String.hpp"
@@ -28,7 +18,7 @@ class PoolColorArray;
class Object;
class GD_CPP_CORE_API Array {
class Array {
godot_array _godot_array;
public:
Array();