You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-19 14:31:59 +00:00
Merge pull request #110863 from kisg/libgodot_migeran_core
LibGodot: Core - Build Godot Engine as a Library
This commit is contained in:
@@ -233,7 +233,7 @@ def get_flags():
|
||||
|
||||
return {
|
||||
"arch": arch,
|
||||
"supported": ["d3d12", "dcomp", "mono", "xaudio2"],
|
||||
"supported": ["d3d12", "dcomp", "library", "mono", "xaudio2"],
|
||||
}
|
||||
|
||||
|
||||
@@ -243,7 +243,7 @@ def configure_msvc(env: "SConsEnvironment"):
|
||||
## Build type
|
||||
|
||||
# TODO: Re-evaluate the need for this / streamline with common config.
|
||||
if env["target"] == "template_release":
|
||||
if env["target"] == "template_release" and env["library_type"] == "executable":
|
||||
env.Append(LINKFLAGS=["/ENTRY:mainCRTStartup"])
|
||||
|
||||
if env["windows_subsystem"] == "gui":
|
||||
|
||||
Reference in New Issue
Block a user