forked from ERGO-Code/HiGHS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
BUILD.bazel
68 lines (65 loc) · 1.58 KB
/
BUILD.bazel
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
67
68
load("@rules_cc//cc:defs.bzl", "cc_library")
load("@bazel_skylib//rules:copy_file.bzl", "copy_file")
copy_file(
name = "highs-config",
src = "HConfig.h.bazel",
out = "HConfig.h",
visibility = ["//visibility:public"],
)
cc_library(
name = "config",
srcs = ["HConfig.h"],
visibility = ["//visibility:public"],
)
cc_library(
name = "highs",
srcs = glob([
"extern/filereaderlp/*.cpp",
"extern/filereaderlp/*.cpp",
"src/*.cpp",
"src/interfaces/highs_c_api.cpp",
"src/io/*.cpp",
"src/ipm/*.cpp",
"src/ipm/ipx/*.cc",
"src/ipm/basiclu/*.c",
"src/lp_data/*.cpp",
"src/mip/*.cpp",
"src/model/*.cpp",
"src/parallel/*.cpp",
"src/presolve/*.cpp",
"src/qpsolver/*.cpp",
"src/simplex/*.cpp",
"src/test/*.cpp",
"src/util/*.cpp",
]),
hdrs = glob([
"HConfig.h",
"**/*.h",
"src/qpsolver/*.hpp",
"src/Highs.h",
"extern/filereaderlp/*.hpp",
"extern/zstr/*.hpp"]),
includes = [
"extern",
# "extern/filereaderlp",
# "extern/zstr",
"src",
# "src/ipm",
# "src/ipm/ipx",
# "src/ipm/basiclu",
# "src/lp_data",
# "src/mip",
# "src/model",
# "src/parallel",
# "src/presolve",
# "src/qpsolver",
# "src/simplex",
# "src/test",
# "src/util",
"bazel-bin"],
visibility = ["//visibility:public"],
deps = [
"//:config",
"@zlib",
],
)