-
Notifications
You must be signed in to change notification settings - Fork 7
/
Package.swift
66 lines (65 loc) · 2.68 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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
// swift-tools-version:5.3
import PackageDescription
let package = Package(
name: "CCTALib",
products: [
// Products define the executables and libraries a package produces, and make them visible to other packages.
.library(name: "SwiftCCTALib", targets: ["SwiftCCTALib"]),
],
dependencies: [
// Dependencies declare other packages that this package depends on.
// .package(url: /* package url */, from: "1.0.0"),
],
targets: [
// Targets are the basic building blocks of a package. A target can define a module or a test suite.
// Targets can depend on other targets in this package, and on products in packages this package depends on.
.target(
name: "SwiftCCTALib",
path: "./ta-lib/c/",
exclude: [
"bin/",
"ide/",
"lib/",
"make/",
"temp/",
"configure.in",
"autogen.sh",
"Makefile.am",
"ta-lib.spec.in",
"ta-lib-config.in",
"CMakeLists.txt",
"ta-lib.dpkg.in",
"src/tools/",
"src/ta_abstract/excel_glue.c",
"include/Makefile.am",
"include/ta_config.h.cmake",
"src/Makefile.am",
"src/ta_abstract/Makefile.am",
"src/ta_abstract/templates/CoreAnnotated.java.template",
"src/ta_abstract/templates/Makefile.am.template",
"src/ta_abstract/templates/excel_glue.c.template",
"src/ta_abstract/templates/ta_frame.c.template",
"src/ta_abstract/templates/ta_frame.h.template",
"src/ta_abstract/templates/ta_func.h.template",
"src/ta_abstract/templates/ta_func.swg.template",
"src/ta_abstract/templates/ta_func_api.c.template",
"src/ta_abstract/templates/ta_group_idx.c.template",
"src/ta_abstract/templates/ta_java_defs.h.template",
"src/ta_abstract/templates/ta_retcode.c.template",
"src/ta_abstract/templates/ta_x.c.template",
"src/ta_common/Makefile.am",
"src/ta_common/ta_retcode.csv",
"src/ta_func/Makefile.am"
],
sources: [
"include",
"src",
],
cSettings: [
CSetting.headerSearchPath("include"),
CSetting.headerSearchPath("src/ta_common/"),
CSetting.headerSearchPath("src/ta_abstract/"),
CSetting.headerSearchPath("src/ta_abstract/frames"),
]),
]
)