Commit Graph

59 Commits

Author SHA1 Message Date
Mizux Seiha
93af69fb0f cmake: remove gflags and glog deps 2020-10-24 00:50:31 +02:00
Mizux Seiha
f57d9cc0a0 cmake: fix windows build 2020-10-19 23:02:01 +02:00
Mizux Seiha
53bf463517 cmake: Fix gscip 2020-10-19 11:27:02 +02:00
Mizux Seiha
18e00b36c4 cmake: cleanup 2020-10-19 10:38:52 +02:00
Laurent Perron
aeeb233f92 add statusor to cmake 2020-10-18 18:00:00 +02:00
Mizux Seiha
aa73e901b4 cmake: Refactor sample tests 2020-09-19 17:21:50 +02:00
Mizux Seiha
7d149a6530 cmake: examples management cleanup 2020-09-13 00:04:50 +02:00
Mizux Seiha
6f6025edb1 cmake: Try to fix external protobuf usage (#2128) 2020-08-19 23:08:01 +02:00
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
Mizux Seiha
a8e830eef9 cmake: cleanup 2020-08-10 11:46:36 +02:00
Mizux Seiha
cc2fdb6e7a cmake: Fix USE_SCIP=OFF 2020-08-06 16:38:32 +02:00
Mizux Seiha
71d92bad4c cmake: Use CMP0091 to control runtime library on Windows 2020-07-31 17:55:19 +02:00
Mizux Seiha
4beaa8a320 cmake: add XPRESS_PATH compile definition 2020-07-31 14:18:15 +02:00
Mizux Seiha
3b7d00802e cmake: use of BUILD_EXAMPLES 2020-07-31 11:27:08 +02:00
Mizux Seiha
a1837ad6b7 cmake: link against absl::stacktrace
note: needed to build on freeBSD using clang.
2020-07-19 01:37:04 +02:00
Mizux Seiha
41a5d2674c cmake: remove unneeded install
All dependencies are built using FetchContent so we don't rely anymore
on configure time dependencies install...
2020-07-17 13:16:40 +02:00
Mizux Seiha
08d7a58ddd cmake: rewrite custom FetchContent
note: before cmake 3.18 FetchContent does not support
SOURCE_SUBDIR which is needed for protobuf
2020-07-17 13:16:22 +02:00
Mizux Seiha
86af6c5725 CMake: SCIP update 2020-07-03 16:17:27 +02:00
Mizux Seiha
1a1da66113 cmake: SCIP cleanup 2020-07-02 23:39:46 +02:00
Mizux Seiha
b7fb6d4209 Update CMake 2020-07-01 21:01:27 +02:00
Mizux Seiha
cc21b5b702 Fix CMake build 2020-06-26 01:01:42 +02:00
Corentin Le Molgat
91090ce34f Fix tab in cmake files 2020-05-27 17:13:48 +02:00
Mizux Seiha
edd6c3cc0e cmake: Change build output layout 2020-05-25 10:12:41 +02:00
Mizux Seiha
5168cb1d40 cmake(xcode): Fix compilation 2020-05-18 14:15:47 +02:00
Laurent Perron
1cfd653bb2 fix cmake 2020-05-07 11:32:13 +02:00
Corentin Le Molgat
dca72db23f CMake:cpp: cleanup 2020-03-05 13:04:08 +01:00
Corentin Le Molgat
506ebe9679 Cmake: Update Proto comment 2020-03-05 08:43:45 +01:00
Corentin Le Molgat
69c7295289 CMake: update foreach in cpp.cmake 2020-03-04 14:34:34 +01:00
Corentin Le Molgat
56f21f5a4e CMake: update foreach 2020-03-02 17:23:34 +01:00
Corentin Le Molgat
29ce9507dc CMake: Update deps management 2020-03-02 17:23:34 +01:00
Corentin Le Molgat
86a5d0cc85 Fix cpp proto list 2020-02-28 08:21:26 +01:00
Corentin Le Molgat
0b9d349856 CMake: force CXX standard to C++11 2020-02-28 08:21:26 +01:00
Corentin Le Molgat
9814de8263 CMake: Coin-OR is optional 2020-02-07 10:50:12 +01:00
Corentin Le Molgat
1f4f572031 CMake: Fix compilation on windows 2020-02-07 07:58:01 +01:00
Corentin Le Molgat
90c1deefbe CMake: Install dependencies built 2020-01-30 16:51:13 +01:00
Corentin Le Molgat
96b582b64f CMake: prefer to search for config.cmake before looking for modules 2020-01-30 16:51:13 +01:00
Corentin Le Molgat
6833c97426 CMake: Refactor cpp.cmake 2020-01-30 08:49:05 +01:00
Corentin Le Molgat
07768997b3 CMake: Rework CPLEX/SCIP/XPRESS management 2020-01-29 17:35:18 +01:00
Corentin Le Molgat
3594d74d39 ZLIB patch
rename target ZLIB so install target will be ZLIB::ZLIB like the name use
by the cmake FindZLIB.cmake module...
2020-01-21 17:45:31 +01:00
Corentin Le Molgat
874bda0e24 CMake: expand tab 2020-01-21 16:41:11 +01:00
Corentin Le Molgat
889deaac94 CMake: use ZLIB static when building it 2020-01-21 16:40:59 +01:00
Mizux Seiha
c2be14f23a CMake add missing abseil::random_random deps 2019-11-22 22:49:12 +01:00
Corentin Le Molgat
a49b9143a4 Rework CMake dependencies management (Fix #1116)
- By default don't build dependencies simply call find_package()
- By default only build C++ library
- IF building Python, Java or .Net wrapper then force build dependencies
  - Build dependencies as STATIC
  - Build and Install (in CMAKE_BINARY_DIR) dependencies at configure time
2019-04-11 13:47:05 +02:00
Corentin Le Molgat
9bbe0a71dd Bump Abseil-cpp to SHA1 93d155b (Fix #1074) 2019-02-22 14:46:52 +01:00
Corentin Le Molgat
b027e57e95 dotnet: Remove reference to dotnet release command
- Currently not implemented...

Add abseil patch

- Add patches/absl-config.cmake

Makefile: Add abseil-cpp on unix

- Force abseil-cpp SHA1 to 45221cc
  note: Just before the PR #136 which break all CMake

Makefile: Add abseil-cpp on windows

- Force abseil-cpp SHA1 to 45221cc
  note: Just before the PR #136 which break all CMake

CMake: Add abseil-cpp

- Force abseil-cpp SHA1 to 45221cc
  note: Just before the PR #136 which break all CMake

port to absl: C++ Part

- Fix warning with the use of ABSL_MUST_USE_RESULT
  > The macro must appear as the very first part of a function
    declaration or definition:
    ...
    Note: past advice was to place the macro after the argument list.
  src: dependencies/sources/abseil-cpp-master/absl/base/attributes.h:418
- Rename enum after windows clash
- Remove non compact table constraints
- Change index type from int64 to int in routing library
- Fix file_nonport compilation on windows
- Fix another naming conflict with windows (NO_ERROR is a macro)
- Cleanup hash containers; work on sat internals
- Add optional_boolean sub-proto

Sync cpp examples with internal code
- reenable issue173 after reducing number of loops

port to absl: Python Part

- Add back cp_model.INT32_MIN|MAX for examples

Update Python examples

- Add random_tsp.py
- Run words_square example
- Run magic_square in python tests

port to absl: Java Part

- Fix compilation of the new routing parameters in java
- Protect some code from SWIG parsing

Update Java Examples

port to absl: .Net Part

Update .Net examples

work on sat internals; Add C++ CP-SAT CpModelBuilder API; update sample code and recipes to use the new API; sync with internal code

Remove VS 2015 in Appveyor-CI

- abseil-cpp does not support VS 2015...

improve tables

upgrade C++ sat examples to use the new API; work on sat internals

update license dates

rewrite jobshop_ft06_distance.py to use the CP-SAT solver

rename last example

revert last commit

more work on SAT internals

fix
2018-11-30 14:48:55 +01:00
Corentin Le Molgat
b88298edd3 Remove tab from CMakeLists.txt
- Mandatory to follow google internal convention
2018-11-13 09:21:53 +01:00
Corentin Le Molgat
2debe09e43 CMake cleanup 2018-10-12 09:48:12 +02:00
Corentin Le Molgat
3043efa437 CMake: Add missing __WIN32__ 2018-06-29 09:31:52 +02:00
Corentin Le Molgat
9e07fd6985 Fix CMake proto_path 2018-04-19 16:27:51 +02:00
Corentin Le Molgat
c97bb82bf9 Only add ortools as CMake subproject if target not found
Should fix error if a super build already has some
2018-02-13 15:12:47 +01:00