Dylan Baker
6544f151db
rust: fix linking with external dependencies
...
Rust can link with any dependency that uses c linkage, which is pretty
much what we assume across the board anyway.
4 years ago
Jordan Justen
5edbc0acd7
tests/rust: Add rust case linking to zlib dependency
...
Reworks:
* Add MESON_SKIP_TEST error for darwin from polyglot test
* Remove dependencies from executable
Dylan's changes:
* Add support for both static and shared testing
* Test with pkg-config, cmake, and system
* reformat to meson's style
Co-authored-by: Dylan Baker <dylan@pnwbakers.com>
4 years ago
Dylan Baker
5aee8567b8
dependencies/curses: Add a system dependency
...
That calls find_library and has_header in conjunction to look for curses
implementations that are baked into the system without any other find
method.
4 years ago
Dylan Baker
7d11d7cf68
dependencies/curses: Add support for using the ncurses config tools
...
These are mostly duplicated with pkg-config, but maybe someone has one
but not another, and they're easy to turn on with the
ConfigToolDependency.
4 years ago
Dylan Baker
b7cb30e175
dependencies/hdf5: Convert to a dependency_factory
...
Instead of a mega dependency that does everything, use a dependency
factory for config-tool and pkg-config
4 years ago