Files
imgui-godot/doc/examples/Module/modules/mymod/SCsub
Patrick Dawson c17e72a546 GDExtension (#56)
Merge GDExtension
2024-04-29 18:40:26 -07:00

11 lines
365 B
Plaintext

Import('env')
IMGUI_PATH = "../../../../../gdext/imgui"
IMGUI_GODOT_INCLUDE = "../../../../../addons/imgui-godot/include"
env.Append(CPPPATH=[IMGUI_PATH, IMGUI_GODOT_INCLUDE])
env.Append(CPPDEFINES=['IMGUI_USER_CONFIG="\\"imconfig-godot.h\\""'])
env.add_source_files(env.modules_sources, f"{IMGUI_PATH}/*.cpp")
env.add_source_files(env.modules_sources, "*.cpp")