Commit Graph

66 Commits

Author SHA1 Message Date
Mizux Seiha
4a025e23c0 cmake: Add init 2021-03-21 16:19:12 +01:00
Mizux Seiha
eb01323f0f cmake: Fix build 2021-03-18 02:49:30 +01:00
Mizux Seiha
e4344ec7c9 cmake: Propagate use of PROTOC_PRG 2021-01-08 17:49:26 +01:00
Mizux Seiha
1108b8cb1c cmake: fix install in cpp.cmake 2020-11-16 11:16:08 +01:00
Mizux Seiha
9bf38e15d0 cmake: Fix cpp build 2020-11-09 14:04:49 +01:00
Mizux Seiha
660109cbae cmake: move dependencies check 2020-11-09 10:00:35 +01:00
Mizux Seiha
409ebffd3b Introduce OR_TOOLS_AS_DYNAMIC_LIB
should fix Makefile based build since is generate a static lib
so declspec(dllimport/dllexport) is not needed.
2020-10-24 00:50:59 +02:00
Mizux Seiha
93af69fb0f cmake: remove gflags and glog deps 2020-10-24 00:50:31 +02:00
Mizux Seiha
f57d9cc0a0 cmake: fix windows build 2020-10-19 23:02:01 +02:00
Mizux Seiha
53bf463517 cmake: Fix gscip 2020-10-19 11:27:02 +02:00
Mizux Seiha
18e00b36c4 cmake: cleanup 2020-10-19 10:38:52 +02:00
Laurent Perron
aeeb233f92 add statusor to cmake 2020-10-18 18:00:00 +02:00
Mizux Seiha
aa73e901b4 cmake: Refactor sample tests 2020-09-19 17:21:50 +02:00
Mizux Seiha
7d149a6530 cmake: examples management cleanup 2020-09-13 00:04:50 +02:00
Mizux Seiha
6f6025edb1 cmake: Try to fix external protobuf usage (#2128) 2020-08-19 23:08:01 +02:00
Mizux Seiha
f992206a9a Force use of C++17
Routing use c++17 features (e.g. structured binding)
ref: https://en.cppreference.com/w/cpp/language/structured_binding
2020-08-14 14:07:58 +02:00
Mizux Seiha
a8e830eef9 cmake: cleanup 2020-08-10 11:46:36 +02:00
Mizux Seiha
cc2fdb6e7a cmake: Fix USE_SCIP=OFF 2020-08-06 16:38:32 +02:00
Mizux Seiha
71d92bad4c cmake: Use CMP0091 to control runtime library on Windows 2020-07-31 17:55:19 +02:00
Mizux Seiha
4beaa8a320 cmake: add XPRESS_PATH compile definition 2020-07-31 14:18:15 +02:00
Mizux Seiha
3b7d00802e cmake: use of BUILD_EXAMPLES 2020-07-31 11:27:08 +02:00
Mizux Seiha
a1837ad6b7 cmake: link against absl::stacktrace
note: needed to build on freeBSD using clang.
2020-07-19 01:37:04 +02:00
Mizux Seiha
41a5d2674c cmake: remove unneeded install
All dependencies are built using FetchContent so we don't rely anymore
on configure time dependencies install...
2020-07-17 13:16:40 +02:00
Mizux Seiha
08d7a58ddd cmake: rewrite custom FetchContent
note: before cmake 3.18 FetchContent does not support
SOURCE_SUBDIR which is needed for protobuf
2020-07-17 13:16:22 +02:00
Mizux Seiha
86af6c5725 CMake: SCIP update 2020-07-03 16:17:27 +02:00
Mizux Seiha
1a1da66113 cmake: SCIP cleanup 2020-07-02 23:39:46 +02:00
Mizux Seiha
b7fb6d4209 Update CMake 2020-07-01 21:01:27 +02:00
Mizux Seiha
cc21b5b702 Fix CMake build 2020-06-26 01:01:42 +02:00
Corentin Le Molgat
91090ce34f Fix tab in cmake files 2020-05-27 17:13:48 +02:00
Mizux Seiha
edd6c3cc0e cmake: Change build output layout 2020-05-25 10:12:41 +02:00
Mizux Seiha
5168cb1d40 cmake(xcode): Fix compilation 2020-05-18 14:15:47 +02:00
Laurent Perron
1cfd653bb2 fix cmake 2020-05-07 11:32:13 +02:00
Corentin Le Molgat
dca72db23f CMake:cpp: cleanup 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
69c7295289 CMake: update foreach in cpp.cmake 2020-03-04 14:34:34 +01:00
Corentin Le Molgat
56f21f5a4e CMake: update foreach 2020-03-02 17:23:34 +01:00
Corentin Le Molgat
29ce9507dc CMake: Update deps management 2020-03-02 17:23:34 +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
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
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
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 Seiha
c2be14f23a CMake add missing abseil::random_random deps 2019-11-22 22:49:12 +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