Created game template

This commit is contained in:
Sara 2024-03-07 20:16:30 +01:00
parent 3ec351897d
commit 09035af13b
21 changed files with 76 additions and 272 deletions

View file

@ -11,8 +11,8 @@ def validate_parent_dir(key, val, env):
raise UserError("'%s' is not a directory: %s" % (key, os.path.dirname(val)))
libname = "EXTENSION-NAME"
projectdir = "demo"
libname = "EXAMPLE"
projectdir = "godot"
localEnv = Environment(tools=["default"], PLATFORM="")
@ -51,7 +51,7 @@ env.Alias("compiledb", compilation_db)
env = SConscript("godot-cpp/SConstruct", {"env": env, "customs": customs})
env.Append(CPPPATH=["src/"])
sources = Glob("src/*.cpp")
sources = Glob("src/*.cpp") + Glob("src/utils/*.cpp")
file = "{}{}{}".format(libname, env["suffix"], env["SHLIBSUFFIX"])