aDotInTheVoid / xmark

GNU General Public License v3.0
0 stars 0 forks source link

Incremental #9

Closed aDotInTheVoid closed 3 years ago

aDotInTheVoid commented 3 years ago

Options

  1. Delegate to ninja somehow
    • This means spliting the binary into one part that generates ninja, and another that is called by ninja
    • Kinda like cmake (I wounder if meson does this)
    • Also probably with detection for when ninja is out of date
  2. Reimplement some of ninja
  3. Use a incremental library like salsa
aDotInTheVoid commented 3 years ago

Yep meson does

ninja: Entering directory `builddir'
[0/1] Regenerating build files.
The Meson build system
Version: 0.55.3
Source dir: /tmp/meson
Build dir: /tmp/meson/builddir
Build type: native build
Project name: tutorial
Project version: undefined
C compiler for the host machine: cc (gcc 10.2.1 "cc (GCC) 10.2.1 20201125 (Red Hat 10.2.1-9)")
C linker for the host machine: cc ld.bfd 2.35-15
Host machine cpu family: x86_64
Host machine cpu: x86_64
Found pkg-config: /usr/bin/pkg-config (1.7.3)
Run-time dependency gtk+-3.0 found: YES 3.24.24
Build targets in project: 1

Found ninja-1.10.1 at /usr/bin/ninja
[2/2] Linking target demo
aDotInTheVoid commented 3 years ago

Literature Review

aDotInTheVoid commented 3 years ago

https://aosabook.org/en/500L/contingent-a-fully-dynamic-build-system.html

aDotInTheVoid commented 3 years ago

https://codeberg.org/adot/xmark

aDotInTheVoid commented 3 years ago

Closing, the codeberg version has this