Skip to content

Commit

Permalink
SCons: Fix missing mono .gen.cpp sources after #53860
Browse files Browse the repository at this point in the history
(cherry picked from commit d6aab5c)
  • Loading branch information
akien-mga committed Oct 16, 2021
1 parent a5093d6 commit fddbbf4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions modules/mono/SCsub
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ if env_mono["tools"] and env_mono["mono_glue"] and env_mono["build_cil"]:

env_mono.add_source_files(env.modules_sources, "*.cpp")
env_mono.add_source_files(env.modules_sources, "glue/*.cpp")
env_mono.add_source_files(env.modules_sources, "glue/mono_glue.gen.cpp")
env_mono.add_source_files(env.modules_sources, "mono_gd/*.cpp")
env_mono.add_source_files(env.modules_sources, "utils/*.cpp")

Expand All @@ -56,6 +57,8 @@ env_mono.add_source_files(env.modules_sources, "mono_gd/support/*.cpp")
if env["platform"] in ["osx", "iphone"]:
env_mono.add_source_files(env.modules_sources, "mono_gd/support/*.mm")
env_mono.add_source_files(env.modules_sources, "mono_gd/support/*.m")
elif env["platform"] == "android":
env_mono.add_source_files(env.modules_sources, "mono_gd/android_mono_config.gen.cpp")

if env["tools"]:
env_mono.add_source_files(env.modules_sources, "editor/*.cpp")

0 comments on commit fddbbf4

Please sign in to comment.