Now let me tell you a story. - For ease of doing, a lot of things are now hidden and behind a node. A lot of things are also automated. - Elements operate by interacting with each other's groups. - Update to Godot 4.5 - Rebuilt godot's CPP stuff - Organized better - Documentation - That's everything. GDscript links everything. Reviewed-on: #3 Co-authored-by: CatAClock <CatAClock@proton.me> Co-committed-by: CatAClock <CatAClock@proton.me>
25 lines
917 B
Python
25 lines
917 B
Python
#!/usr/bin/env python
|
|
import os
|
|
import sys
|
|
|
|
env = SConscript("godot-cpp/SConstruct")
|
|
|
|
# For reference:
|
|
# - CCFLAGS are compilation flags shared between C and C++
|
|
# - CFLAGS are for C-specific compilation flags
|
|
# - CXXFLAGS are for C++-specific compilation flags
|
|
# - CPPFLAGS are for pre-processor flags
|
|
# - CPPDEFINES are for pre-processor defines
|
|
# - LINKFLAGS are for linking flags
|
|
|
|
# tweak this if you want to use different folders, or more folders, to store your source code in.
|
|
env.Append(CPPPATH=["src/"])
|
|
sources = Glob("src/*.cpp")
|
|
|
|
try:
|
|
Documentation = env.GodotCPPDocData("src/gen/doc_data.gen.cpp", source=Glob("docs/*.xml"))
|
|
sources.append(Documentation)
|
|
except AttributeError:
|
|
print("Dear friends! Make sure to have Godot Engine be 4.4 or higher for integrated documentation!")
|
|
|
|
Default(env.SharedLibrary("demo/bin/SideScrollingShooter{}{}".format(env["suffix"], env["SHLIBSUFFIX"]),source=sources,))
|