inital commit

This commit is contained in:
Thorsten Claus 2020-12-16 22:24:18 +01:00
parent 9db8938afa
commit dfc8d9bb56
4 changed files with 13 additions and 10 deletions

View File

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<Workspace
version = "1.0">
<FileRef
location = "self:">
</FileRef>
</Workspace>

View File

@ -5,16 +5,16 @@ import PackageDescription
let package = Package(
name: "libraw",
pkgConfig: "libraw",
providers: [
.brew(["libraw"])
],
products: [
// Products define the executables and libraries a package produces, and make them visible to other packages.
.library(
name: "libraw",
targets: ["libraw"]),
],
providers: [
SystemPackageProvider.brew(["libraw"])
],
pkgConfig: "libraw"
dependencies: [
// Dependencies declare other packages that this package depends on.
// .package(url: /* package url */, from: "1.0.0"),

View File

@ -5,8 +5,4 @@
// Created by Thorsten Claus on 16.12.20.
//
#ifndef shim_h
#define shim_h
#endif /* shim_h */
#include <libraw.h>

View File

@ -1,5 +1,5 @@
module libraw [system] {
header "shim.h"
link "libraw"
link "raw"
export *
}