Fixup bazel
This commit is contained in:
@@ -27,6 +27,7 @@ cc_library(
|
||||
":graph",
|
||||
"//ortools/base:hash",
|
||||
"//ortools/base:map_util",
|
||||
"@com_google_absl//absl/container:inlined_vector",
|
||||
],
|
||||
)
|
||||
|
||||
|
||||
@@ -10,6 +10,11 @@ config_setting(
|
||||
values = {"define": "USE_CPLEX="},
|
||||
)
|
||||
|
||||
config_setting(
|
||||
name = "with_xpress",
|
||||
values = {"define": "USE_XPRESS="},
|
||||
)
|
||||
|
||||
config_setting(
|
||||
name = "with_cbc",
|
||||
values = {"define": "USE_CBC="},
|
||||
@@ -57,6 +62,7 @@ cc_library(
|
||||
srcs = [
|
||||
"linear_expr.cc",
|
||||
"linear_solver.cc",
|
||||
"linear_solver_callback.cc",
|
||||
"model_exporter.cc",
|
||||
"model_validator.cc",
|
||||
"glop_interface.cc",
|
||||
@@ -74,6 +80,9 @@ cc_library(
|
||||
}) + select({
|
||||
":with_cplex": ["cplex_interface.cc"],
|
||||
"//conditions:default": [],
|
||||
}) + select({
|
||||
":with_xpress": ["xpress_interface.cc"],
|
||||
"//conditions:default": [],
|
||||
}) + select({
|
||||
":with_glpk": ["glpk_interface.cc"],
|
||||
"//conditions:default": [],
|
||||
@@ -86,6 +95,7 @@ cc_library(
|
||||
"glop_utils.h",
|
||||
"linear_expr.h",
|
||||
"linear_solver.h",
|
||||
"linear_solver_callback.h",
|
||||
"model_exporter.h",
|
||||
"model_validator.h",
|
||||
"sat_proto_solver.h",
|
||||
|
||||
Reference in New Issue
Block a user