AtlatestRepositorysigil-ui

sigil-ui / tree / test / link-checkpackage.sgl

1;;; A real executable link catches duplicate native libraries and symbols.
2(import (sigil process))
3(define window-source (getenv "SIGIL_WINDOW_TEST_SOURCE"))
4
5(package
6 name: "sigil-ui-link-check"
7 version: "0.0.0"
8 sigil: "0.24.8"
9 entry: '(link main)
10 dependencies: (list
11 (from-path dir: "../.." package: "sigil-ui")
12 (if window-source
13 (from-path dir: window-source package: "sigil-window")
14 (from-pkg name: "sigil/sigil-window" version: "^0.2.2"))
15 (from-pkg name: "sigil/sigil-font" version: "^0.1.3")
16 (from-pkg name: "sigil/sigil-lib" version: "0.24.8")
17 (from-pkg name: "sigil/sigil-stdlib" version: "0.24.8"))
18 configs: (list
19 (config name: 'gcc backend: 'native c-compiler: "gcc" static?: #f output-dir: "build/gcc")
20 (config name: 'dev backend: 'native toolchain: 'zig target: "x86_64-linux-musl"
21 static?: #t output-dir: "build/dev"))
22 tasks: (list
23 (task name: 'build steps: (list
24 (compile-sigil-modules sources: "src/**/*.sgl")))))