1224 Commits

Author SHA1 Message Date
Corentin Le Molgat
91e3670214 ci: rework CMake Docker/Makefile 2020-02-28 08:23:10 +01:00
Corentin Le Molgat
4c7456b175 CMake: Update Python support
* Add define SWIGWORDSIZE64 on Linux
* Add -doxygen option
* add ortools/util/python
* Move python generated stuff to BINARY_DIR/python
* Bump CMake >= 3.14 as requirement
  * SWIG module rework from 3.9 to 3.14
  * Python module rework in 3.12
* Drop Python 2.7 support (like in Makefile)
* Fix clean target
  * OUTPUT/BYPRODUCTS path are relative to CURRENT_BINARY_DIR not WORKING_DIR
* Fix ortools package install in virtualenv
* Clean target now remove the <build>/venv directory
2020-02-28 08:21:27 +01:00
Corentin Le Molgat
349f6b7681 CMake: Update .Net support
* Add define SWIGWORDSIZE64 on Linux
* Add -doxygen option
2020-02-28 08:21:27 +01:00
Corentin Le Molgat
6d31f4f52c CMake: Update Java support
* Add define SWIGWORDSIZE64 on Linux
* Add -doxygen option
2020-02-28 08:21:27 +01:00
Corentin Le Molgat
8cd4a035cc CMake: Update swigwin url 2020-02-28 08:21:26 +01:00
Corentin Le Molgat
5acf9c6db9 CMake: comment examples/java and examples/dotnet
no support yet so avoid to crash the configure...
2020-02-28 08:21:26 +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
3cb46a0d27 CMake: fix FindJava call 2020-02-14 11:14:06 +01:00
Corentin Le Molgat
fd4ce1131c CMake: Update wrapper support 2020-02-14 11:12:44 +01:00
Corentin Le Molgat
2c1611308c Add github action workflows
- All workflow are CMake based build.
- Add Workflow for Linux, macOS and Windows.
- Add workflow for C++, Python, Java, .Net.
- Update CMake/README.md.
2020-02-11 14:41:17 +01:00
Corentin Le Molgat
d6fe894136 CMake: Fix python build 2020-02-11 14:41:16 +01:00
Corentin Le Molgat
f9cb28a370 CMake: allow python3.8 support 2020-02-07 15:39:26 +01:00
Corentin Le Molgat
cfb408329c CMake: Use CMAKE_CURRENT_LIST_DIR (Fix #1630)
Needed when or-tools is incorporated to a CMake super project
2020-02-07 14:21:13 +01:00
Corentin Le Molgat
053d074490 cmake: Add dummy find module (Fix #1412) 2020-02-07 10:53:31 +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
4d057e7550 CMake: revert Clp 1.17.5 -> 1.17.4
see: https://github.com/coin-or/Clp/issues/130
2020-02-06 15:11:21 +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
8f76a8a112 CMake: Don't build Protobuf tests 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
ef779c4101 Update python.cmake
Add *.pyi file to archive if any...
2020-01-16 15:43:41 +01:00
Leo Nikkilä
78f9a4b22f Fix zlib patch directory with add_directory
When a project is added using `add_directory`, `CMAKE_SOURCE_DIR` is the
source directory of the parent project instead of the ortools directory.
2020-01-16 11:27:33 +01:00
Corentin Le Molgat
faeb935183 windows: Bump swigwin 3.0.12 -> 4.0.1 2020-01-10 18:56:54 +01:00
Mizux Seiha
d69c8cf041 Bump Protobuf 3.10.0 -> 3.11.2 2020-01-09 22:02:43 +01:00
Mizux Seiha
c2be14f23a CMake add missing abseil::random_random deps 2019-11-22 22:49:12 +01:00
Mizux Seiha
576d5289ca CMake: bump absl: master -> 8ba96a8
be consistent with Makefile, don't follow a moving target (i.e. don't live at head)
2019-11-22 21:49:38 +01:00
Mizux Seiha
dbac8c324d Merge tag 'v7.4' into stable 2019-10-14 11:37:36 +02:00
Laurent Perron
ea614006cc bump protobuf to 3.10.0 2019-10-10 13:56:32 +02:00
Laurent Perron
86042afe03 bump protobuf to 3.9.1 2019-09-04 13:17:32 +02:00
Laurent Perron
30c942084c fix 2019-08-06 10:28:28 -07:00
Manuel Ruiz
f50fc893a8 xpress integration in or-tools 2019-08-06 18:21:29 +02:00
Matthew Jones
b4e7d39ff0 fix: update cmake protobuf version 2019-07-16 12:49:00 +12:00
Corentin Le Molgat
331cfc9a26 Fix ortoolsConfig.cmake (#1236) 2019-05-17 11:25:19 +02:00
Corentin Le Molgat
4487cd89c2 CMake: use stable branch for coin-or 2019-04-16 17:09:48 +02: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
Leo Nikkilä
faf81c1924 Lock cbc to specific commit and avoid flaky builds 2019-04-01 09:43:20 +02:00
Corentin Le Molgat
41a5c4bd0d Bump Protobuf 3.6.1 -> 3.7.1 2019-03-29 08:31:03 +01:00
Corentin Le Molgat
e08d64c370 Fix CMake cbc repository url (Close #1159) 2019-03-28 17:38:59 +01:00
Corentin Le Molgat
38d210f7f2 Bump abseil-cpp: 7c7754f -> bf29470 2019-03-20 11:52:53 +01:00
Corentin Le Molgat
e39a0f298f Revert "Downgrade abseil-cpp: 7c7754f -> 88a152a"
This reverts commit 3af3ce24db.
2019-03-19 17:30:26 +01:00
Corentin Le Molgat
3af3ce24db Downgrade abseil-cpp: 7c7754f -> 88a152a
see https://github.com/abseil/abseil-cpp/issues/283
2019-03-19 15:46:54 +01:00
Corentin Le Molgat
36a87b31ed Bump Abseil-cpp: 93d155b -> 7c7754f (Fix #1138)
93d155b use list(FILTER ...) which is not available in CMake 3.5.1
2019-03-19 11:49:09 +01:00
Corentin Le Molgat
9bbe0a71dd Bump Abseil-cpp to SHA1 93d155b (Fix #1074) 2019-02-22 14:46:52 +01:00
Corentin Le Molgat
5052ab2013 Update CMakeLists.txt 2018-12-05 14:53:48 +01:00