-
Notifications
You must be signed in to change notification settings - Fork 3
/
Package.swift
37 lines (36 loc) · 1.14 KB
/
Package.swift
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
// swift-tools-version:5.1
// Package.swift
// Perfect-PostgreSQL
//
// Created by Kyle Jessup on 2019/12/30.
// Copyright (C) 2019 PerfectlySoft, Inc.
//
//===----------------------------------------------------------------------===//
//
// This source file is part of the Perfect.org open source project
//
// Copyright (c) PerfectlySoft Inc. and the Perfect project authors
// Licensed under Apache License v2.0
//
// See http://perfect.org/licensing.html for license information
//
//===----------------------------------------------------------------------===//
//
import PackageDescription
let package = Package(
name: "PerfectODBC",
products: [
.library(name: "PerfectODBC", targets: ["PerfectODBC"])
],
dependencies: [
.package(url: "https://github.com/PerfectlySoft/Perfect-CRUD.git", .branch("master"))
],
targets: [
.target(name: "PerfectODBC", dependencies: ["PerfectCRUD", "unixodbc"]),
.systemLibrary(name: "unixodbc",
pkgConfig: "odbc",
providers: [.brew(["unixodbc"])]),
.testTarget(name: "PostgresODBCTests", dependencies: ["PerfectODBC"]),
.testTarget(name: "MSSQLODBCTests", dependencies: ["PerfectODBC"])
]
)