Compare commits
4 Commits
0b814089cc
...
81ed689f3c
Author | SHA1 | Date |
---|---|---|
|
81ed689f3c | |
|
3f44e9b404 | |
|
e17c7bf530 | |
|
5cf329a8dc |
|
@ -38,7 +38,7 @@
|
||||||
#if !defined(GDE_EXPORT)
|
#if !defined(GDE_EXPORT)
|
||||||
#if defined(_WIN32)
|
#if defined(_WIN32)
|
||||||
#define GDE_EXPORT __declspec(dllexport)
|
#define GDE_EXPORT __declspec(dllexport)
|
||||||
#elif defined(__GNUC__)
|
#elif defined(__GNUC__) && !defined(__MINGW32__)
|
||||||
#define GDE_EXPORT __attribute__((visibility("default")))
|
#define GDE_EXPORT __attribute__((visibility("default")))
|
||||||
#else
|
#else
|
||||||
#define GDE_EXPORT
|
#define GDE_EXPORT
|
||||||
|
|
|
@ -295,6 +295,9 @@ def generate(env):
|
||||||
if env["precision"] == "double":
|
if env["precision"] == "double":
|
||||||
env.Append(CPPDEFINES=["REAL_T_IS_DOUBLE"])
|
env.Append(CPPDEFINES=["REAL_T_IS_DOUBLE"])
|
||||||
|
|
||||||
|
# Allow detecting when building as a GDExtension.
|
||||||
|
env.Append(CPPDEFINES=["GDEXTENSION"])
|
||||||
|
|
||||||
# Suffix
|
# Suffix
|
||||||
suffix = ".{}.{}".format(env["platform"], env["target"])
|
suffix = ".{}.{}".format(env["platform"], env["target"])
|
||||||
if env.dev_build:
|
if env.dev_build:
|
||||||
|
|
Loading…
Reference in New Issue