pvxs icon indicating copy to clipboard operation
pvxs copied to clipboard

Meson build

Open minijackson opened this issue 1 year ago • 2 comments

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.

minijackson avatar Mar 10 '23 11:03 minijackson