Skip to content

allyourcodebase/cfitsio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cfitsio

CI LC

Zig build of cfitsio library.

🚀 Usage

  • Add cfitsio dependency to build.zig.zon.
zig fetch --save https://github.com/allyourcodebase/cfitsio/archive/<git_tag_or_commit_hash>.tar.gz
  • Use cfitsio dependency in build.zig.
const cfitsio_dep = b.dependency("cfitsio", .{
    .target = target,
    .optimize = optimize,
});
const cfitsio_mod = cfitsio_dep.module("cfitsio");
<compile>.root_module.addImport("cfitsio", cfitsio_mod);