inital commit
This commit is contained in:
parent
9db8938afa
commit
dfc8d9bb56
|
@ -0,0 +1,7 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<Workspace
|
||||||
|
version = "1.0">
|
||||||
|
<FileRef
|
||||||
|
location = "self:">
|
||||||
|
</FileRef>
|
||||||
|
</Workspace>
|
|
@ -5,16 +5,16 @@ import PackageDescription
|
||||||
|
|
||||||
let package = Package(
|
let package = Package(
|
||||||
name: "libraw",
|
name: "libraw",
|
||||||
|
pkgConfig: "libraw",
|
||||||
|
providers: [
|
||||||
|
.brew(["libraw"])
|
||||||
|
],
|
||||||
products: [
|
products: [
|
||||||
// Products define the executables and libraries a package produces, and make them visible to other packages.
|
// Products define the executables and libraries a package produces, and make them visible to other packages.
|
||||||
.library(
|
.library(
|
||||||
name: "libraw",
|
name: "libraw",
|
||||||
targets: ["libraw"]),
|
targets: ["libraw"]),
|
||||||
],
|
],
|
||||||
providers: [
|
|
||||||
SystemPackageProvider.brew(["libraw"])
|
|
||||||
],
|
|
||||||
pkgConfig: "libraw"
|
|
||||||
dependencies: [
|
dependencies: [
|
||||||
// Dependencies declare other packages that this package depends on.
|
// Dependencies declare other packages that this package depends on.
|
||||||
// .package(url: /* package url */, from: "1.0.0"),
|
// .package(url: /* package url */, from: "1.0.0"),
|
||||||
|
|
|
@ -5,8 +5,4 @@
|
||||||
// Created by Thorsten Claus on 16.12.20.
|
// Created by Thorsten Claus on 16.12.20.
|
||||||
//
|
//
|
||||||
|
|
||||||
#ifndef shim_h
|
#include <libraw.h>
|
||||||
#define shim_h
|
|
||||||
|
|
||||||
|
|
||||||
#endif /* shim_h */
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
module libraw [system] {
|
module libraw [system] {
|
||||||
header "shim.h"
|
header "shim.h"
|
||||||
link "libraw"
|
link "raw"
|
||||||
export *
|
export *
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue