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>
8 lines
91 B
CMake
8 lines
91 B
CMake
if (NOT BUILD_CSHARP)
|
|
return()
|
|
endif()
|
|
|
|
find_package(SWIG)
|
|
find_package(CSharpUtilities)
|
|
|