14 lines
395 B
Plaintext
14 lines
395 B
Plaintext
// Minimal hand-written GTK4 binding (native only). See gtk_stub.c.
|
|
import {
|
|
"moonbitlang/core/encoding/utf8",
|
|
}
|
|
|
|
supported_targets = "-all+native"
|
|
|
|
options(
|
|
"native-stub": [ "gtk_stub.c" ],
|
|
// moon does not expand $(pkg-config ...) in flags; tools/pkg-cc appends
|
|
// `pkg-config --cflags --libs` for PipeWire, WirePlumber and GTK4.
|
|
link: { "native": { "stub-cc": "tools/pkg-cc" } },
|
|
)
|