pvxs
pvxs copied to clipboard
Meson build
As discussed with @mdavidsaver during the 2023 Codeathon.
Currently uses sources from epics-base/epics-base#358 and epics-base/ci-scripts#77, so keeping this PR as draft until they are merged.
This is kind of a long-shot PR, in that it allows building PVXS without going through epics-base Makefile framework. This would allow easier integration into other build / packaging systems (building Python wheels, CI, Debian packaging, etc.).
For examples, I have tested cross-compilation with Nix, and it works without any special care.
Right now, this needs an already compiled epics-base, and uses the pkg-config file that epics-base produces.
By default, the output follows the same hierarchy as epics-base (bin/linux-x86_64
), but it can be configured not to, by specifying -Depics_install_hierarchy=false
to the meson
invocation.