Commit Graph

18 Commits

Author SHA1 Message Date
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