Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/allyourcodebase/cfitsio
Zig build of CFITSIO library.
https://github.com/allyourcodebase/cfitsio
cfitsio fits fits-files fits-image fitsio zig zig-lang zig-language zig-library zig-package ziglang
Last synced: 16 days ago
JSON representation
Zig build of CFITSIO library.
- Host: GitHub
- URL: https://github.com/allyourcodebase/cfitsio
- Owner: allyourcodebase
- License: mit
- Created: 2024-07-16T10:22:37.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-07-24T11:00:39.000Z (5 months ago)
- Last Synced: 2024-10-15T19:40:55.038Z (2 months ago)
- Topics: cfitsio, fits, fits-files, fits-image, fitsio, zig, zig-lang, zig-language, zig-library, zig-package, ziglang
- Language: Zig
- Homepage:
- Size: 11.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# cfitsio
[![CI][ci-shd]][ci-url]
[![LC][lc-shd]][lc-url]## Zig build of [cfitsio library](https://github.com/HEASARC/cfitsio).
### :rocket: Usage
- Add `cfitsio` dependency to `build.zig.zon`.
```sh
zig fetch --save https://github.com/allyourcodebase/cfitsio/archive/.tar.gz
```- Use `cfitsio` dependency in `build.zig`.
```zig
const cfitsio_dep = b.dependency("cfitsio", .{
.target = target,
.optimize = optimize,
});
const cfitsio_mod = cfitsio_dep.module("cfitsio");
.root_module.addImport("cfitsio", cfitsio_mod);
```[ci-shd]: https://img.shields.io/github/actions/workflow/status/allyourcodebase/cfitsio/ci.yaml?branch=main&style=for-the-badge&logo=github&label=CI&labelColor=black
[ci-url]: https://github.com/allyourcodebase/cfitsio/blob/main/.github/workflows/ci.yaml
[lc-shd]: https://img.shields.io/github/license/allyourcodebase/cfitsio.svg?style=for-the-badge&labelColor=black
[lc-url]: https://github.com/allyourcodebase/cfitsio/blob/main/LICENSE