godot-module-template/tests/compatibility_test/SConstruct
Yarvin e51750968e Improve automated checks for GDExtension compatibility
====

 - Create minimal GDExtension which tries to load methods specified in a
   gdextension_api.json.

 - Run said GDExtension in the CI.
2026-01-06 08:31:10 +01:00

14 lines
254 B
Python

#!/usr/bin/env python
# ruff: noqa: F821
env = Environment()
env.Append(CPPPATH=["src"])
env.Append(CFLAGS=["-O0", "-g"])
library = env.SharedLibrary(
target="#godot/compatibility_test",
source="#src/compat_checker.c",
)
env.Default(library)