|
3 | 3 | # You can update this file by running: |
4 | 4 | # python3 tools/build/bazel2cmake.py examples/python/BUILD.bazel |
5 | 5 |
|
6 | | - |
7 | 6 | add_python_binary( |
8 | 7 | NAME bzl_py_example_arc_flow_cutting_stock_sat_py3 |
9 | 8 | FILE ${CMAKE_CURRENT_SOURCE_DIR}/arc_flow_cutting_stock_sat.py |
@@ -182,7 +181,9 @@ add_python_binary( |
182 | 181 | ortools_cxx_bintest( |
183 | 182 | NAME bzl_py_example_line_balancing_sat_salbp_20_1_py_test |
184 | 183 | SCRIPT ${CMAKE_CURRENT_SOURCE_DIR}/line_balancing_sat_salbp_20_1_py_test.bintest |
185 | | - ENVIRONMENT BINTEST_line_balancing_sat_py3=$<TARGET_FILE:bzl_py_example_line_balancing_sat_py3> BINTEST_salbp_20_1.alb=${CMAKE_SOURCE_DIR}/examples/python/testdata/salbp_20_1.alb |
| 184 | + ENVIRONMENT |
| 185 | + BINTEST_line_balancing_sat_py3=$<TARGET_FILE:bzl_py_example_line_balancing_sat_py3> |
| 186 | + BINTEST_salbp_20_1.alb=${CMAKE_CURRENT_SOURCE_DIR}/testdata/salbp_20_1.alb |
186 | 187 | ) |
187 | 188 |
|
188 | 189 | add_python_binary( |
@@ -287,13 +288,17 @@ ortools_cxx_bintest( |
287 | 288 | ortools_cxx_bintest( |
288 | 289 | NAME bzl_py_example_rcpsp_sat_c1510_1_py_test |
289 | 290 | SCRIPT ${CMAKE_CURRENT_SOURCE_DIR}/rcpsp_sat_c1510_1_py_test.bintest |
290 | | - ENVIRONMENT BINTEST_rcpsp_sat_py3=$<TARGET_FILE:bzl_py_example_rcpsp_sat_py3> BINTEST_c1510_1.mm.txt=${CMAKE_SOURCE_DIR}/ortools/scheduling/testdata/c1510_1.mm.txt |
| 291 | + ENVIRONMENT |
| 292 | + BINTEST_rcpsp_sat_py3=$<TARGET_FILE:bzl_py_example_rcpsp_sat_py3> |
| 293 | + BINTEST_c1510_1.mm.txt=${CMAKE_SOURCE_DIR}/ortools/scheduling/testdata/c1510_1.mm.txt |
291 | 294 | ) |
292 | 295 |
|
293 | 296 | ortools_cxx_bintest( |
294 | 297 | NAME bzl_py_example_rcpsp_sat_j301_1_py_test |
295 | 298 | SCRIPT ${CMAKE_CURRENT_SOURCE_DIR}/rcpsp_sat_j301_1_py_test.bintest |
296 | | - ENVIRONMENT BINTEST_rcpsp_sat_py3=$<TARGET_FILE:bzl_py_example_rcpsp_sat_py3> BINTEST_j301_1.sm=${CMAKE_SOURCE_DIR}/ortools/scheduling/testdata/j301_1.sm |
| 299 | + ENVIRONMENT |
| 300 | + BINTEST_rcpsp_sat_py3=$<TARGET_FILE:bzl_py_example_rcpsp_sat_py3> |
| 301 | + BINTEST_j301_1.sm=${CMAKE_SOURCE_DIR}/ortools/scheduling/testdata/j301_1.sm |
297 | 302 | ) |
298 | 303 |
|
299 | 304 | add_python_binary( |
@@ -431,4 +436,4 @@ ortools_cxx_bintest( |
431 | 436 | NAME bzl_py_example_zebra_sat_py_test |
432 | 437 | SCRIPT ${CMAKE_CURRENT_SOURCE_DIR}/zebra_sat_py_test.bintest |
433 | 438 | ENVIRONMENT BINTEST_zebra_sat_py3=$<TARGET_FILE:bzl_py_example_zebra_sat_py3> |
434 | | -) |
| 439 | +) |
0 commit comments