XCode do not support object library with several file with the same name
since it use a flat directory, Xcode "fix" using a UID but CMake can't catch it.
math_opt also use a parameters.proto which conflict with the
glop/parameters.proto -> need to split the proto to .cc generation in
two libraries
* Only add relevant directories to various RUNPATHs
The old code added several irrelevant, duplicate or even non-existing
directories to the RUNPATHs of the samples/flatzinc/sat_solver./linear_solver
Calculate the actual relative path between binary and library install
directory (using the absolute paths, CMAKE_INSTALL_LIBDIR may be either
relative or absolute), and set it as target property.
- 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
- 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
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>