Commit Graph

30 Commits

Author SHA1 Message Date
Mizux Seiha
6eb68f4424 java: Add SKIP_GPG option to disable gpg signing 2021-03-10 18:06:08 +01:00
Mizux Seiha
e4344ec7c9 cmake: Propagate use of PROTOC_PRG 2021-01-08 17:49:26 +01:00
Mizux Seiha
333403197a cmake: Fix ortools-java depends 2020-10-08 17:34:12 +02:00
Mizux Seiha
67f1b08b63 cmake(java): Rework and Fix BYPRODUCTS 2020-09-22 23:58:47 +02:00
Mizux Seiha
33d9f9cbe3 cmake: cmake: Fix java function 2020-09-22 19:09:12 +02:00
Mizux Seiha
7640e00946 cmake: Cleanup comments 2020-09-18 19:57:25 +02:00
Mizux Seiha
8df2add59c cmake(java): rework sample/example management 2020-09-17 18:01:22 +02:00
Mizux Seiha
997c35853a cmake(java): Fixup test project 2020-09-16 14:18:29 +02:00
Mizux Seiha
d5065c1e65 cmake: Rework Test.java to CMakeTest.java 2020-09-15 21:54:50 +02:00
Mizux Seiha
7d149a6530 cmake: examples management cleanup 2020-09-13 00:04:50 +02:00
Mizux Seiha
4518ac6b12 cmake: Fix swig flags when using -DUSE_SCIP=OFF 2020-08-20 21:23:23 +02:00
Mizux Seiha
3b7d00802e cmake: use of BUILD_EXAMPLES 2020-07-31 11:27:08 +02:00
Mizux Seiha
92916f1bfa cmake: Fix proto_path 2020-07-17 13:16:40 +02:00
Mizux Seiha
1a1da66113 cmake: SCIP cleanup 2020-07-02 23:39:46 +02:00
Mizux Seiha
00387c133f cmake(java): Add Maven Package (#202) 2020-05-18 14:15:47 +02:00
Mizux Seiha
a8d069fa9a cmake(java): Fix maven usage 2020-04-16 14:53:00 +02:00
Mizux Seiha
af48ab76f2 cmake(java): Try to fix multi-config generator 2020-04-16 12:23:42 +02:00
Mizux Seiha
400a8638e6 cmake: Update pom.xml 2020-04-16 11:53:26 +02:00
Mizux Seiha
3223b97649 cmake: Work on Java
* Add SWIG generation CMakeLists.txt
* Fix jni.h include dir
2020-04-16 11:25:06 +02:00
Mizux Seiha
42cffb064f cmake: Fix java protoc commands 2020-04-16 11:25:05 +02:00
Mizux Seiha
b903560395 cmake: Fix SWIG_FLAGS when enabling several languages 2020-04-10 11:51:30 +02:00
Corentin Le Molgat
0be0fc7ddd CMake:Java: update 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
6d31f4f52c CMake: Update Java support
* Add define SWIGWORDSIZE64 on Linux
* Add -doxygen option
2020-02-28 08:21:27 +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
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
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
d78cc79ef1 CMake: cleanup java.cmake 2018-11-12 15:35:19 +01:00
Corentin Le Molgat
6856567eda Rework CMakeLists.txt
Dependencies:
- Add dependencies as subprojects instead of prebuild (aka imported target)
- add zlib project
- Use Cbc as CMake subproject instead of prebuilt
- Add log between each subproject
- Force gflags namespace to gflags

Or-tools:
- Rework python.cmake support
- Fix missing ortool.util in python (#558)
- Try to use static library for ortools::proto
pros: can use target_link_libraries to get includes etc...
cons: lot of symbols undefined since libortools.so will strip everything -_-
- Use add_library(XXX OBJECT) for ortools/*
- fix get version from git when using small depth copy
- Create Install rule for ortools
- Don't create export rules
note: since we use subprojects instead of Imported Target,
ortools export complained against target deps "that is not in the export set."

Update windows support
- add swig project
- Protobuf force the use of /MD instead of /MT
- or-tools use /MD by default
- Add missing ws2_32
- Add missing psapi
- Update windows disable warnings list
- Build Static or-tools on Windows
- fix windows export symbols leak issue

Signed-off-by: Corentin Le Molgat <corentinl@google.com>
2018-01-19 15:03:25 +01:00