mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-11 20:59:01 +08:00
84aba9a5c3
* [cbc] Add new port * Add dependencies * [cgl] Update version to rebuild * [cbc] Update CMakeLists.txt [cgl] Revert the version * Update * add version file * adapt to new version * fix dependency name. VCPKG IS NOT CONSISTENT HERE * rename with coinor prefix, as this seems to be the standard. try different approach copied from cgl * accidentally renamed portfile * version??? * forgot add rename * quotes * try autoconf/make * more make changes * try cmake again * ifcase * try make again * really try make * add dependency libs to conf call * randomly copy stuff from other ports * without-miplib3 * try non-release version (after autoconf fixes) as in the other ports. * fix hash * skip autoconf?? * add macro patch * patch format?? * Update dep.patch * patch * weird caching?? * ???????? * sha * superfluous config options * cleanup * vcpkg commands * pkgconf patch for win * disable glpk since I do not plan to add it as a feature for now. * after conutils include * fix version * Update version database * Update ports/coin-or-cbc/portfile.cmake * Update version database * Apply suggestions from code review Co-authored-by: Lily Wang <94091114+LilyWangLL@users.noreply.github.com> * add back AUTOCONFIG * try with autconfig and without configure.ac patch * Update version database * Update version database * cleanup * Update version database * chagne * Update version database --------- Co-authored-by: NancyLi1013 <lirui09@beyondsoft.com> Co-authored-by: Jim Wang (Beyondsoft Corporation) <v-wangjim@microsoft.com> Co-authored-by: Lily Wang <94091114+LilyWangLL@users.noreply.github.com>
40 lines
1.1 KiB
CMake
40 lines
1.1 KiB
CMake
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO coin-or/Cbc
|
|
REF 6f83969e50b6f67c60654704c1f71f970c621a3b
|
|
SHA512 f56b5806b2acffe7259410254640009f9b7a27713972d771b1083a05ca197a65715b007f42f0b8bf6e87b2a889e2889a7466222e0b06f01a4c5297cbaf455c4d
|
|
PATCHES
|
|
pkgconf_win.patch
|
|
disable_glpk.patch
|
|
)
|
|
|
|
file(COPY "${CURRENT_INSTALLED_DIR}/share/coin-or-buildtools/" DESTINATION "${SOURCE_PATH}")
|
|
|
|
set(ENV{ACLOCAL} "aclocal -I \"${SOURCE_PATH}/BuildTools\"")
|
|
|
|
vcpkg_configure_make(
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
|
DETERMINE_BUILD_TRIPLET
|
|
USE_WRAPPERS
|
|
OPTIONS
|
|
--with-coinutils
|
|
--with-clp
|
|
--with-cgl
|
|
--with-osi
|
|
--without-ositests
|
|
--without-sample
|
|
--without-netlib
|
|
--without-miplib3
|
|
--enable-relocatable
|
|
--disable-readline
|
|
)
|
|
|
|
vcpkg_install_make()
|
|
vcpkg_copy_pdbs()
|
|
vcpkg_fixup_pkgconfig()
|
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|
|
|
|
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
|