Files
ortools-clone/bazel
Mizux Seiha f992206a9a Force use of C++17
Routing use c++17 features (e.g. structured binding)
ref: https://en.cppreference.com/w/cpp/language/structured_binding
2020-08-14 14:07:58 +02:00
..
2020-04-06 14:54:47 +02:00
2020-08-14 14:07:58 +02:00
fix
2020-06-30 12:22:58 +02:00
2020-07-03 10:34:45 +02:00
2020-07-03 09:37:57 +02:00
2020-04-06 14:54:47 +02:00
2020-08-14 14:07:58 +02:00
2020-07-03 10:57:13 +02:00
2020-07-03 10:34:45 +02:00

OR-Tools Bazel Build Instructions

Status

Introduction

| Dependencies | Integration | CI |

OR-Tools comes with a Bazel based build (WORKSPACE) that can be used on a wide range of platforms. If you don't have Bazel installed already, you can download it for free from https://bazel.build/.

warning: Currently OR-Tools Bazel doesn't support Python, Java nor .Net, please use the Makefile or CMake based build instead.

Dependencies

OR-Tools depends on severals mandatory libraries.

  • Google Abseil-cpp,
  • Google Gflags,
  • Google Glog,
  • Google Protobuf,
  • Google Gtest,
  • GLPK (GNU Linear Programming Kit)

Compilation

You must compile OR-Tools using C++17:

  • on UNIX: --cxxopt=-std=c++17
  • on Windows when using MSVC: --cxxopt="-std:c++17"

Integrating OR-Tools in your Bazel Project

TODO