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