Mizux Seiha
db96176998
cmake: Rework java.cmake
2021-11-30 18:02:46 +01:00
Corentin Le Molgat
882f13d248
cmake: Remove CMakeTest.java
2021-11-29 11:02:35 +01:00
Corentin Le Molgat
d51879e3d7
cmake: cleanup <lang>.cmake
2021-11-26 10:29:35 +01:00
Mizux Seiha
d0e7970c6b
cmake: Added GLPK support and docs
...
* Use Mizux/GLPK (Tag 5.0)
* cmake: Fix swig flags
* cmake: Update ortoolsConfig.cmake
2021-11-17 14:04:57 +01:00
Mizux Seiha
5713958c45
cmake: Use PROJECT_NAMESPACE
2021-11-17 12:28:42 +01:00
Two4
35e1046e1f
cmake: Added BUILD_FAT_JAR option ( #2871 )
...
* Added support and documentation for the CMake BUILD_FAT_JAR option
Co-authored-by: kyle <kyle@awesomeguy.co.za >
2021-10-29 11:53:26 +02:00
Corentin Le Molgat
322a404ec4
cmake: Fix target naming convention
2021-10-18 12:57:53 +02:00
Mizux Seiha
877d49c0dd
cmake(java): Fixup
2021-10-08 17:37:26 +02:00
Mizux Seiha
23b8be50ed
cmake(java): Fix add_java_sample function
2021-10-08 12:05:35 +02:00
Mizux Seiha
0d2409cca6
cmake: Update java file in buildir when source change
2021-10-07 18:44:49 +02:00
Corentin Le Molgat
1be12af58f
cmake: cleanup
2021-09-17 15:13:11 +02:00
Xianyin Xin
b72093332d
fix #2575 : Loader may not load native lib correctly due to resource name conflicting.
2021-06-09 09:32:06 +02:00
Corentin Le Molgat
d6b3090d3a
java: Bump jna-platform 5.5.0 -> 5.8.0 ( Fix #2519 )
2021-04-27 09:10:25 +02:00
Mizux Seiha
ca1341561f
java: Rename option to UNIVERSAL_JAVA_PACKAGE
2021-03-31 12:24:34 +02:00
Mizux Seiha
4a025e23c0
cmake: Add init
2021-03-21 16:19:12 +01:00
Mizux Seiha
bdeda23d22
make: Add support for multi os java package
2021-03-17 18:25:34 +01:00
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