mirror of
https://github.com/cemu-project/vcpkg.git
synced 2025-02-22 10:37:10 +01:00
Remove references to CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS (#5937)
* [various ports] remove references to CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS * [alac,benchmark,capnproto] Fix check_linkage call * [fastlz] Fix SHA512 * [coroutine] Fix dynamic build * [folly] Find double-conversion * [gamma] Use vcpkg_from_github * [librsync] Enable static builds * [netcdf-cxx4] Fix SHA512 * [octomap] Fix static build * [tidy-html5] Fix static build * [various ports] remove custom messages for shared/static builds, modernize some scripts in the meantime * [folly] Use ras0219's fix for link paths * [octomap] Fix exported targets * [uvatlas] Set tool download SHA512 * [duktape+python2] fix portfile to call configure with correct python version, manage python2 also outside win32 * [suitesparse] osx fix * [gtkmm] Call vcpkg_check_linkage after including vcpkg functions * [duktape] Resolve conflicts * [duktape] FIxed typo in Python paths * [wangle] Find zlib * [openssl-uwp] Fix SHA512 * [glib] Allow static builds on non-Windows * [suitesparse] Fix build on Windows * [multiple ports] Bump CONTROL version * [multiple ports] Fix description indent * [directxtk] Fix CONTROL file * [bde,duktape,qpid-proton] Build packages with python2 installed * [binn] remove CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS * [gdal,live555,uriparser] Fix regressions * [live555] Update to 2019.04.24
This commit is contained in:
parent
b72f36e8cd
commit
050e71d01d
@ -1,4 +1,4 @@
|
||||
Source: 3fd
|
||||
Version: 2.6.2-2
|
||||
Version: 2.6.2-3
|
||||
Description: C++ Framework For Fast Development
|
||||
Build-Depends: boost-lockfree (windows), boost-regex (windows), poco (windows), sqlite3, rapidxml
|
||||
|
@ -12,15 +12,7 @@ else()
|
||||
endif()
|
||||
|
||||
# Check library linkage:
|
||||
if (VCPKG_LIBRARY_LINKAGE STREQUAL "dynamic")
|
||||
message("3FD only supports static library linkage. Building static.")
|
||||
set(VCPKG_LIBRARY_LINKAGE static)
|
||||
endif()
|
||||
|
||||
# Check CRT linkage:
|
||||
if (VCPKG_CRT_LINKAGE STREQUAL "static")
|
||||
message(FATAL_ERROR "3FD can only be built with dynamic linkage to CRT!")
|
||||
endif()
|
||||
vcpkg_check_linkage(ONLY_STATIC_LIBRARY ONLY_DYNAMIC_CRT)
|
||||
|
||||
# Get source code:
|
||||
vcpkg_from_github(
|
||||
|
@ -6,7 +6,6 @@ add_definitions(-DNOMINMAX -DWIN32_LEAN_AND_MEAN)
|
||||
set(CMAKE_CXX_STANDARD 14)
|
||||
|
||||
set(CMAKE_DEBUG_POSTFIX d)
|
||||
set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON)
|
||||
|
||||
if(CMAKE_BUILD_TYPE STREQUAL "Release")
|
||||
option(INSTALL_HEADERS "Install header files" ON)
|
||||
|
@ -1,5 +1,5 @@
|
||||
Source: abseil
|
||||
Version: 2019-04-19
|
||||
Version: 2019-04-19-1
|
||||
Description: an open-source collection designed to augment the C++ standard library.
|
||||
Abseil is an open-source collection of C++ library code designed to augment the C++ standard library. The Abseil library code is collected from Google's own C++ code base, has been extensively tested and used in production, and is the same code we depend on in our daily coding lives.
|
||||
In some cases, Abseil provides pieces missing from the C++ standard; in others, Abseil provides alternatives to the standard for special needs we've found through usage in the Google code base. We denote those cases clearly within the library code we provide you.
|
||||
|
@ -4,6 +4,8 @@ if(VCPKG_CMAKE_SYSTEM_NAME STREQUAL "WindowsStore")
|
||||
message(FATAL_ERROR "Abseil currently only supports being built for desktop")
|
||||
endif()
|
||||
|
||||
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
|
||||
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO abseil/abseil-cpp
|
||||
|
@ -20,10 +20,6 @@ if(MSVC)
|
||||
add_compile_options(/W4 -D_CRT_SECURE_NO_WARNINGS -DTARGET_OS_WIN32)
|
||||
endif()
|
||||
|
||||
if(BUILD_SHARED_LIBS)
|
||||
set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON)
|
||||
endif()
|
||||
|
||||
include_directories(.)
|
||||
|
||||
add_library(libalac_decoder ${SRCS})
|
||||
|
@ -1,3 +1,3 @@
|
||||
Source: alac-decoder
|
||||
Version: 0.2
|
||||
Version: 0.2-1
|
||||
Description: ALAC C implementation of a decoder, written from reverse engineering the file format
|
||||
|
@ -1,4 +1,7 @@
|
||||
include(vcpkg_common_functions)
|
||||
|
||||
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
|
||||
|
||||
set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/alac_decoder)
|
||||
vcpkg_download_distfile(ARCHIVE
|
||||
URLS "https://distfiles.macports.org/alac_decoder/alac_decoder-0.2.0.tgz"
|
||||
|
@ -35,10 +35,6 @@ if(MSVC)
|
||||
add_compile_options(/W4 -D_CRT_SECURE_NO_WARNINGS -DTARGET_OS_WIN32)
|
||||
endif()
|
||||
|
||||
if(BUILD_SHARED_LIBS)
|
||||
set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON)
|
||||
endif()
|
||||
|
||||
include_directories(. codec convert-utility)
|
||||
|
||||
add_library(libalac ${SRCS})
|
||||
|
@ -1,3 +1,3 @@
|
||||
Source: alac
|
||||
Version: 2017-11-03-c38887c5
|
||||
Version: 2017-11-03-c38887c5-1
|
||||
Description: The Apple Lossless Audio Codec (ALAC) is a lossless audio codec developed by Apple and deployed on all of its platforms and devices.
|
||||
|
@ -3,6 +3,9 @@ if(VCPKG_CMAKE_SYSTEM_NAME STREQUAL "WindowsStore")
|
||||
endif()
|
||||
|
||||
include(vcpkg_common_functions)
|
||||
|
||||
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
|
||||
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO macosforge/alac
|
||||
|
@ -7,10 +7,7 @@ if(BUILDTREES_PATH_LENGTH GREATER 37 AND CMAKE_HOST_WIN32)
|
||||
)
|
||||
endif()
|
||||
|
||||
if(VCPKG_LIBRARY_LINKAGE STREQUAL static)
|
||||
message(STATUS "Alembic does not support static linkage. Building dynamically.")
|
||||
set(VCPKG_LIBRARY_LINKAGE dynamic)
|
||||
endif()
|
||||
vcpkg_check_linkage(ONLY_DYNAMIC_LIBRARY)
|
||||
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
|
@ -1,3 +1,3 @@
|
||||
Source: anax
|
||||
Version: 2.1.0-4
|
||||
Version: 2.1.0-5
|
||||
Description: An open source C++ entity system. <https://github.com/miguelmartin75/anax>
|
||||
|
@ -1,5 +1,7 @@
|
||||
include(vcpkg_common_functions)
|
||||
|
||||
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
|
||||
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO miguelmartin75/anax
|
||||
@ -13,8 +15,6 @@ vcpkg_from_github(
|
||||
vcpkg_configure_cmake(
|
||||
SOURCE_PATH ${SOURCE_PATH}
|
||||
DISABLE_PARALLEL_CONFIGURE
|
||||
OPTIONS
|
||||
-DCMAKE_WINDOWS_EXPORT_ALL_SYMBOLS=ON
|
||||
)
|
||||
|
||||
vcpkg_install_cmake()
|
||||
|
@ -1,5 +1,5 @@
|
||||
Source: angle
|
||||
Version: 2019-03-13-c2ee2cc-2
|
||||
Version: 2019-03-13-c2ee2cc-3
|
||||
Description: A conformant OpenGL ES implementation for Windows, Mac and Linux.
|
||||
The goal of ANGLE is to allow users of multiple operating systems to seamlessly run WebGL and other OpenGL ES content by translating OpenGL ES API calls to one of the hardware-supported APIs available for that platform. ANGLE currently provides translation from OpenGL ES 2.0 and 3.0 to desktop OpenGL, OpenGL ES, Direct3D 9, and Direct3D 11. Support for translation from OpenGL ES to Vulkan is underway, and future plans include compute shader support (ES 3.1) and MacOS support.
|
||||
Build-Depends: egl-registry
|
||||
|
@ -1,5 +1,7 @@
|
||||
include(vcpkg_common_functions)
|
||||
|
||||
vcpkg_check_linkage(ONLY_DYNAMIC_LIBRARY)
|
||||
|
||||
if (VCPKG_TARGET_ARCHITECTURE STREQUAL "x86")
|
||||
set(ANGLE_CPU_BITNESS ANGLE_IS_32_BIT_CPU)
|
||||
elseif (VCPKG_TARGET_ARCHITECTURE STREQUAL "x64")
|
||||
@ -10,11 +12,6 @@ else()
|
||||
message(FATAL_ERROR "Unsupported architecture: ${VCPKG_TARGET_ARCHITECTURE}")
|
||||
endif()
|
||||
|
||||
if(VCPKG_LIBRARY_LINKAGE STREQUAL static)
|
||||
message(STATUS "ANGLE currently only supports being built as a dynamic library")
|
||||
set(VCPKG_LIBRARY_LINKAGE dynamic)
|
||||
endif()
|
||||
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO google/angle
|
||||
|
@ -55,14 +55,8 @@ include_directories(BEFORE ${DEP_INCLUDE_DIRS})
|
||||
add_library(arb ${SRC})
|
||||
|
||||
target_compile_definitions(arb PRIVATE HAVE_TLS=1 FLINT_REENTRANT=0)
|
||||
if (BUILD_SHARED_LIBS)
|
||||
target_compile_definitions(arb PRIVATE MSC_USE_DLL)
|
||||
set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS yes)
|
||||
MESSAGE( STATUS "Building shared libraries" )
|
||||
else ()
|
||||
target_compile_definitions(arb PRIVATE PTW32_STATIC_LIB)
|
||||
MESSAGE( STATUS "Building static libraries" )
|
||||
endif()
|
||||
target_compile_definitions(arb PRIVATE PTW32_STATIC_LIB)
|
||||
MESSAGE( STATUS "Building static libraries" )
|
||||
target_compile_definitions(arb PRIVATE "ARB_BUILD_DLL")
|
||||
|
||||
target_link_libraries(arb ${DEPS})
|
||||
@ -91,4 +85,3 @@ if (BUILD_TESTS)
|
||||
endforeach ()
|
||||
endforeach ()
|
||||
endif ()
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
Source: arb
|
||||
Version: 2.11.1
|
||||
Version: 2.11.1-1
|
||||
Description: a C library for arbitrary-precision interval arithmetic
|
||||
Build-Depends: flint
|
||||
|
@ -1,10 +1,7 @@
|
||||
if (VCPKG_LIBRARY_LINKAGE STREQUAL dynamic)
|
||||
message(STATUS "Warning: Dynamic building not supported yet. Building static.")
|
||||
set(VCPKG_LIBRARY_LINKAGE static)
|
||||
endif()
|
||||
|
||||
include(vcpkg_common_functions)
|
||||
|
||||
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
|
||||
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO fredrik-johansson/arb
|
||||
|
@ -1,3 +1,3 @@
|
||||
Source: argtable2
|
||||
Version: 2.13-1
|
||||
Version: 2.13-2
|
||||
Description: Argtable is an ANSI C library for parsing GNU style command line options with a minimum of fuss.
|
||||
|
@ -1,4 +1,7 @@
|
||||
include(vcpkg_common_functions)
|
||||
|
||||
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
|
||||
|
||||
set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/argtable2-13)
|
||||
vcpkg_download_distfile(ARCHIVE
|
||||
URLS "http://prdownloads.sourceforge.net/argtable/argtable2-13.tar.gz"
|
||||
@ -17,8 +20,6 @@ vcpkg_configure_cmake(
|
||||
SOURCE_PATH ${SOURCE_PATH}
|
||||
PREFER_NINJA
|
||||
OPTIONS
|
||||
# Due to missing dllexport flags we export all symbols
|
||||
-DCMAKE_WINDOWS_EXPORT_ALL_SYMBOLS=TRUE
|
||||
-DCMAKE_DEBUG_POSTFIX=d
|
||||
)
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
Source: assimp
|
||||
Version: 4.1.0-3
|
||||
Version: 4.1.0-4
|
||||
Description: The Open Asset import library
|
||||
Build-Depends: zlib, rapidjson
|
||||
|
@ -17,12 +17,6 @@ file(REMOVE_RECURSE ${SOURCE_PATH}/contrib/zlib ${SOURCE_PATH}/contrib/gtest ${S
|
||||
set(VCPKG_C_FLAGS "${VCPKG_C_FLAGS} -D_CRT_SECURE_NO_WARNINGS")
|
||||
set(VCPKG_CXX_FLAGS "${VCPKG_CXX_FLAGS} -D_CRT_SECURE_NO_WARNINGS")
|
||||
|
||||
if(VCPKG_LIBRARY_LINKAGE STREQUAL dynamic)
|
||||
set(BUILD_SHARED_LIBS "ON")
|
||||
else()
|
||||
set(BUILD_SHARED_LIBS "OFF")
|
||||
endif()
|
||||
|
||||
vcpkg_configure_cmake(
|
||||
SOURCE_PATH ${SOURCE_PATH}
|
||||
PREFER_NINJA
|
||||
|
@ -1,4 +1,4 @@
|
||||
Source: atk
|
||||
Version: 2.24.0-2
|
||||
Version: 2.24.0-3
|
||||
Description: GNOME Accessibility Toolkit
|
||||
Build-Depends: glib, gettext
|
||||
|
@ -1,9 +1,7 @@
|
||||
# ATK uses DllMain
|
||||
if (VCPKG_LIBRARY_LINKAGE STREQUAL "static" OR VCPKG_CRT_LINKAGE STREQUAL "static")
|
||||
message(FATAL_ERROR "ATK only supports dynamic library and crt linkage")
|
||||
endif()
|
||||
|
||||
include(vcpkg_common_functions)
|
||||
|
||||
vcpkg_check_linkage(ONLY_DYNAMIC_LIBRARY ONLY_DYNAMIC_CRT)
|
||||
|
||||
set(ATK_VERSION 2.24.0)
|
||||
set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/atk-${ATK_VERSION})
|
||||
vcpkg_download_distfile(ARCHIVE
|
||||
|
@ -1,4 +1,4 @@
|
||||
Source: atkmm
|
||||
Version: 2.24.2
|
||||
Version: 2.24.2-1
|
||||
Description: atkmm is the official C++ interface for the ATK accessibility toolkit library. It may be used, for instance, by user interfaces implemented with gtkmm.
|
||||
Build-Depends: glib, gettext, atk, glibmm
|
||||
|
@ -1,10 +1,7 @@
|
||||
# ATK uses DllMain, so atkmm also
|
||||
if (VCPKG_LIBRARY_LINKAGE STREQUAL static)
|
||||
message(STATUS "Warning: Static building not supported. Building dynamic.")
|
||||
set(VCPKG_LIBRARY_LINKAGE dynamic)
|
||||
endif()
|
||||
|
||||
include(vcpkg_common_functions)
|
||||
|
||||
vcpkg_check_linkage(ONLY_DYNAMIC_LIBRARY)
|
||||
|
||||
set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/atkmm-2.24.2)
|
||||
vcpkg_download_distfile(ARCHIVE
|
||||
URLS "http://ftp.gnome.org/pub/GNOME/sources/atkmm/2.24/atkmm-2.24.2.tar.xz"
|
||||
|
@ -19,7 +19,6 @@ add_definitions(
|
||||
-D_CRT_SECURE_NO_WARNINGS=1
|
||||
)
|
||||
|
||||
set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON)
|
||||
set(CMAKE_DEBUG_POSTFIX d)
|
||||
|
||||
option(BUILD_TOOLS "Build and install tools" ON)
|
||||
|
@ -1,4 +1,4 @@
|
||||
Source: aubio
|
||||
Version: 0.4.8
|
||||
Version: 0.4.8-1
|
||||
Description: Aubio is a tool designed for the extraction of annotations from audio signals. Its features include segmenting a sound file before each of its attacks, performing pitch detection, tapping the beat and producing midi streams from live audio.
|
||||
Build-Depends: ffmpeg, libsndfile, libogg, libflac, libvorbis, bzip2, liblzma
|
||||
|
@ -1,4 +1,7 @@
|
||||
include(vcpkg_common_functions)
|
||||
|
||||
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
|
||||
|
||||
set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/aubio-3c230fae309e9ea3298783368dd71bae6172359a)
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
|
@ -1,3 +1,3 @@
|
||||
Source: bde
|
||||
Version: 3.2.0.0
|
||||
Version: 3.2.0.0-1
|
||||
Description: Basic Development Environment - a set of foundational C++ libraries used at Bloomberg.
|
||||
|
@ -1,4 +1,8 @@
|
||||
include(vcpkg_common_functions)
|
||||
|
||||
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
|
||||
set(CONFIGURE_COMMON_ARGS ${CONFIGURE_COMMON_ARGS} --library-type=static)
|
||||
|
||||
set(BDE_VERSION 3.2.0.0)
|
||||
set(BDE_TOOLS_VERSION 1.x)
|
||||
|
||||
@ -46,7 +50,7 @@ if(VCPKG_CMAKE_SYSTEM_NAME)
|
||||
else()
|
||||
set(WAF_COMMAND waf.bat)
|
||||
endif()
|
||||
set(CONFIGURE_COMMON_ARGS --use-flat-include-dir)
|
||||
set(CONFIGURE_COMMON_ARGS ${CONFIGURE_COMMON_ARGS} --use-flat-include-dir)
|
||||
if(VCPKG_TARGET_ARCHITECTURE STREQUAL "x86")
|
||||
set(CONFIGURE_COMMON_ARGS ${CONFIGURE_COMMON_ARGS} --abi-bits=32)
|
||||
elseif(VCPKG_TARGET_ARCHITECTURE STREQUAL "x64")
|
||||
@ -54,17 +58,8 @@ elseif(VCPKG_TARGET_ARCHITECTURE STREQUAL "x64")
|
||||
else()
|
||||
message(FATAL_ERROR "Unsupported target architecture: ${VCPKG_TARGET_ARCHITECTURE}")
|
||||
endif()
|
||||
if(VCPKG_LIBRARY_LINKAGE STREQUAL static)
|
||||
set(CONFIGURE_COMMON_ARGS ${CONFIGURE_COMMON_ARGS} --library-type=static)
|
||||
else()
|
||||
message(FATAL_ERROR "Unsupported library linkage: ${VCPKG_LIBRARY_LINKAGE}")
|
||||
endif()
|
||||
if(NOT VCPKG_CMAKE_SYSTEM_NAME)
|
||||
if(VCPKG_CRT_LINKAGE STREQUAL static)
|
||||
set(CONFIGURE_COMMON_ARGS ${CONFIGURE_COMMON_ARGS} --msvc-runtime-type=static)
|
||||
else()
|
||||
set(CONFIGURE_COMMON_ARGS ${CONFIGURE_COMMON_ARGS} --msvc-runtime-type=dynamic)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
# Configure debug
|
||||
|
@ -1,3 +1,3 @@
|
||||
Source: benchmark
|
||||
Version: 1.4.1
|
||||
Version: 1.4.1-1
|
||||
Description: A library to support the benchmarking of functions, similar to unit-tests.
|
||||
|
@ -2,13 +2,10 @@ if(VCPKG_CMAKE_SYSTEM_NAME STREQUAL "WindowsStore")
|
||||
message(FATAL_ERROR "${PORT} does not currently support UWP")
|
||||
endif()
|
||||
|
||||
if (VCPKG_LIBRARY_LINKAGE STREQUAL "dynamic")
|
||||
message(STATUS "Warning: Dynamic building not supported yet. Building static.")
|
||||
set(VCPKG_LIBRARY_LINKAGE static)
|
||||
endif()
|
||||
|
||||
include(vcpkg_common_functions)
|
||||
|
||||
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
|
||||
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO google/benchmark
|
||||
|
@ -1,3 +1,3 @@
|
||||
Source: bigint
|
||||
Version: 2010.04.30-2
|
||||
Version: 2010.04.30-3
|
||||
Description: C++ Big Integer Library
|
||||
|
@ -1,10 +1,6 @@
|
||||
include(vcpkg_common_functions)
|
||||
|
||||
if(VCPKG_LIBRARY_LINKAGE STREQUAL dynamic)
|
||||
message(WARNING "Dynamic not supported building static")
|
||||
set(VCPKG_LIBRARY_LINKAGE static)
|
||||
endif()
|
||||
|
||||
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
|
||||
|
||||
set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/bigint-2010.04.30)
|
||||
vcpkg_download_distfile(ARCHIVE
|
||||
|
@ -6,8 +6,6 @@ project(binn
|
||||
HOMEPAGE_URL "https://github.com/liteserver/binn"
|
||||
)
|
||||
|
||||
set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON)
|
||||
|
||||
add_library (binn src/binn.h src/binn.c)
|
||||
|
||||
target_include_directories(binn
|
||||
|
@ -1,5 +1,7 @@
|
||||
include(vcpkg_common_functions)
|
||||
|
||||
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
|
||||
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO liteserver/binn
|
||||
|
@ -1,5 +1,5 @@
|
||||
Source: bond
|
||||
Maintainer: bond@microsoft.com
|
||||
Version: 7.0.2-1
|
||||
Version: 7.0.2-2
|
||||
Description: Bond is a cross-platform framework for working with schematized data. It supports cross-language de/serialization and powerful generic mechanisms for efficiently manipulating data. Bond is broadly used at Microsoft in high scale services. <https://github.com/Microsoft/bond>
|
||||
Build-Depends: rapidjson, boost-config, boost-utility, boost-assign
|
||||
|
@ -1,9 +1,7 @@
|
||||
if (VCPKG_LIBRARY_LINKAGE STREQUAL "dynamic")
|
||||
message(STATUS "Warning: Dynamic building not supported yet. Building static.")
|
||||
set(VCPKG_LIBRARY_LINKAGE static)
|
||||
endif()
|
||||
|
||||
include(vcpkg_common_functions)
|
||||
|
||||
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
|
||||
|
||||
set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/bond-7.0.2)
|
||||
|
||||
vcpkg_download_distfile(ARCHIVE
|
||||
|
@ -1,3 +1,3 @@
|
||||
Source: box2d
|
||||
Version: 2.3.1-374664b-1
|
||||
Version: 2.3.1-374664b-2
|
||||
Description: Box2D (http://box2d.org) is an open source C++ engine for simulating rigid bodies in 2D.
|
||||
|
@ -1,9 +1,6 @@
|
||||
include(vcpkg_common_functions)
|
||||
|
||||
if(VCPKG_LIBRARY_LINKAGE STREQUAL "dynamic")
|
||||
message("Box2D only supports building as a static library")
|
||||
set(VCPKG_LIBRARY_LINKAGE "static")
|
||||
endif()
|
||||
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
|
||||
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
|
@ -1,3 +1,3 @@
|
||||
Source: bullet3
|
||||
Version: 2.87
|
||||
Version: 2.87-1
|
||||
Description: Bullet Physics is a professional collision detection, rigid body, and soft body dynamics library
|
||||
|
@ -1,16 +1,7 @@
|
||||
# Common Ambient Variables:
|
||||
# CURRENT_BUILDTREES_DIR = ${VCPKG_ROOT_DIR}\buildtrees\${PORT}
|
||||
# CURRENT_PACKAGES_DIR = ${VCPKG_ROOT_DIR}\packages\${PORT}_${TARGET_TRIPLET}
|
||||
# CURRENT_PORT_DIR = ${VCPKG_ROOT_DIR}\ports\${PORT}
|
||||
# PORT = current port name (zlib, etc)
|
||||
# TARGET_TRIPLET = current triplet (x86-windows, x64-windows-static, etc)
|
||||
# VCPKG_CRT_LINKAGE = C runtime linkage type (static, dynamic)
|
||||
# VCPKG_LIBRARY_LINKAGE = target library linkage type (static, dynamic)
|
||||
# VCPKG_ROOT_DIR = <C:\path\to\current\vcpkg>
|
||||
# VCPKG_TARGET_ARCHITECTURE = target architecture (x64, x86, arm)
|
||||
#
|
||||
include(vcpkg_common_functions)
|
||||
|
||||
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
|
||||
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO bulletphysics/bullet3
|
||||
@ -22,7 +13,6 @@ vcpkg_from_github(
|
||||
vcpkg_configure_cmake(
|
||||
SOURCE_PATH ${SOURCE_PATH}
|
||||
OPTIONS
|
||||
-DCMAKE_WINDOWS_EXPORT_ALL_SYMBOLS=ON
|
||||
-DUSE_MSVC_RUNTIME_LIBRARY_DLL=ON
|
||||
-DBUILD_DEMOS=OFF
|
||||
-DBUILD_CPU_DEMOS=OFF
|
||||
@ -30,7 +20,6 @@ vcpkg_configure_cmake(
|
||||
-DBUILD_BULLET3=OFF
|
||||
-DBUILD_EXTRAS=OFF
|
||||
-DBUILD_UNIT_TESTS=OFF
|
||||
-DBUILD_SHARED_LIBS=ON
|
||||
-DINSTALL_LIBS=ON
|
||||
)
|
||||
|
||||
|
@ -1,7 +1,6 @@
|
||||
cmake_minimum_required(VERSION 3.8.0)
|
||||
project(butteraugli CXX)
|
||||
|
||||
set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON)
|
||||
add_compile_options(-D_CRT_SECURE_NO_WARNINGS -DNOMINMAX)
|
||||
if(MSVC)
|
||||
add_compile_options(/W3 /wd4005 /wd4996 /wd4018)
|
||||
|
@ -1,4 +1,4 @@
|
||||
Source: butteraugli
|
||||
Version: 2018-02-25
|
||||
Version: 2018-02-25-1
|
||||
Description: butteraugli estimates the psychovisual difference between two images
|
||||
Build-Depends: libpng, libjpeg-turbo
|
||||
|
@ -1,5 +1,7 @@
|
||||
include(vcpkg_common_functions)
|
||||
|
||||
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
|
||||
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO google/butteraugli
|
||||
|
@ -1,4 +1,4 @@
|
||||
Source: caf
|
||||
Version: 0.16.2
|
||||
Version: 0.16.2-1
|
||||
Build-Depends: openssl
|
||||
Description: an open source C++11 actor model implementation featuring lightweight & fast actor implementations, pattern matching for messages, network transparent messaging, and more.
|
||||
|
@ -1,9 +1,6 @@
|
||||
include(vcpkg_common_functions)
|
||||
|
||||
if(VCPKG_LIBRARY_LINKAGE STREQUAL "dynamic")
|
||||
set(VCPKG_LIBRARY_LINKAGE "static")
|
||||
message("CAF only supports static library linkage")
|
||||
endif()
|
||||
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
|
||||
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
|
@ -1,4 +1,4 @@
|
||||
Source: caffe2
|
||||
Version: 0.8.1-2
|
||||
Version: 0.8.1-3
|
||||
Build-Depends: lmdb, gflags, glog, eigen3, protobuf
|
||||
Description: Caffe2 is a lightweight, modular, and scalable deep learning framework.
|
||||
|
@ -1,14 +1,11 @@
|
||||
if (VCPKG_LIBRARY_LINKAGE STREQUAL dynamic)
|
||||
message(STATUS "Warning: Dynamic building not supported yet. Building static.")
|
||||
set(VCPKG_LIBRARY_LINKAGE static)
|
||||
endif()
|
||||
include(vcpkg_common_functions)
|
||||
|
||||
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
|
||||
|
||||
if (VCPKG_TARGET_ARCHITECTURE STREQUAL x86)
|
||||
message(FATAL_ERROR "Caffe2 cannot be built for the x86 architecture")
|
||||
endif()
|
||||
|
||||
include(vcpkg_common_functions)
|
||||
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO caffe2/caffe2
|
||||
@ -36,7 +33,6 @@ vcpkg_configure_cmake(
|
||||
SOURCE_PATH ${SOURCE_PATH}
|
||||
PREFER_NINJA
|
||||
OPTIONS
|
||||
-DBUILD_SHARED_LIBS=OFF
|
||||
# Set to ON to use python
|
||||
-DBUILD_PYTHON=OFF
|
||||
-DUSE_STATIC_RUNTIME=${USE_STATIC_RUNTIME}
|
||||
|
@ -6,8 +6,6 @@ set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/build/cmake")
|
||||
set(CMAKE_CXX_STANDARD 11)
|
||||
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
||||
|
||||
set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON)
|
||||
|
||||
#get cairomm version
|
||||
file (STRINGS "configure.ac" CONFIGURE_AC_INIT REGEX "AC_INIT\\(\\[cairomm\\], \\[.*\\].*" )
|
||||
string(REGEX REPLACE "AC_INIT\\(\\[.*\\], \\[([0-9]+\\.[0-9]+\\.[0-9]+)\\].*" "\\1" VERSION ${CONFIGURE_AC_INIT})
|
||||
|
@ -1,4 +1,4 @@
|
||||
Source: cairomm
|
||||
Version: 1.15.3-2
|
||||
Version: 1.15.3-3
|
||||
Description: A C++ wrapper for the cairo graphics library
|
||||
Build-Depends: cairo, libsigcpp
|
||||
|
@ -1,5 +1,7 @@
|
||||
include(vcpkg_common_functions)
|
||||
|
||||
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
|
||||
|
||||
set(CAIROMM_VERSION 1.15.3)
|
||||
set(CAIROMM_HASH a2c28786dbd167179561d8f580eeb11d10634a36dfdb1adeefc0279acf83ee906f01f264cb924845fc4ab98da1afac71e1ead742f283c1a32368ca9af28e464a)
|
||||
set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/cairomm-${CAIROMM_VERSION})
|
||||
|
@ -1,4 +1,4 @@
|
||||
Source: capnproto
|
||||
Version: 0.7.0
|
||||
Version: 0.7.0-1
|
||||
Description: Data interchange format and capability-based RPC system https://capnproto.org/
|
||||
Build-Depends: zlib
|
||||
|
@ -3,16 +3,13 @@ if(VCPKG_CMAKE_SYSTEM_NAME STREQUAL WindowsStore)
|
||||
endif()
|
||||
|
||||
if(DEFINED VCPKG_CMAKE_SYSTEM_NAME)
|
||||
# Undefined VCPKG_CMAKE_SYSTEM_NAME means Windows
|
||||
message(FATAL_ERROR "Error: CapnProto only build on Windows for now. See #5630 and #5635")
|
||||
endif()
|
||||
|
||||
if(VCPKG_LIBRARY_LINKAGE STREQUAL "dynamic")
|
||||
message("Building DLLs not supported. Building static instead.")
|
||||
set(VCPKG_LIBRARY_LINKAGE static)
|
||||
endif()
|
||||
|
||||
include(vcpkg_common_functions)
|
||||
|
||||
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
|
||||
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO capnproto/capnproto
|
||||
|
@ -1,4 +1,4 @@
|
||||
Source: cartographer
|
||||
Version: 0.3.0-5
|
||||
Version: 0.3.0-6
|
||||
Build-Depends: ceres[eigensparse], gflags, glog, lua, cairo, boost-iostreams, gtest, protobuf
|
||||
Description: Google 2D & 3D SLAM package
|
||||
|
@ -1,5 +1,7 @@
|
||||
include(vcpkg_common_functions)
|
||||
|
||||
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
|
||||
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO googlecartographer/cartographer
|
||||
@ -19,7 +21,6 @@ vcpkg_configure_cmake(
|
||||
-DGLOG_PREFER_EXPORTED_GLOG_CMAKE_CONFIGURATION=OFF
|
||||
-Dgtest_disable_pthreads=ON
|
||||
-DCMAKE_USE_PTHREADS_INIT=OFF
|
||||
-DCMAKE_WINDOWS_EXPORT_ALL_SYMBOLS=ON
|
||||
OPTIONS_DEBUG
|
||||
-DFORCE_DEBUG_BUILD=True
|
||||
)
|
||||
|
@ -4,7 +4,6 @@ project(cctz CXX)
|
||||
set(CMAKE_CXX_STANDARD 14)
|
||||
|
||||
set(CMAKE_DEBUG_POSTFIX d)
|
||||
set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON)
|
||||
|
||||
if(CMAKE_BUILD_TYPE STREQUAL "Release")
|
||||
option(INSTALL_HEADERS "Install header files" ON)
|
||||
|
@ -1,4 +1,4 @@
|
||||
Source: cctz
|
||||
Version: 2.3
|
||||
Version: 2.3-2
|
||||
Build-Depends: benchmark
|
||||
Description: two libraries that cooperate with <chrono> to give C++ programmers all the necessary tools for computing with dates, times, and time zones in a simple and correct manner.
|
||||
|
@ -3,6 +3,9 @@ if(VCPKG_CMAKE_SYSTEM_NAME STREQUAL "WindowsStore")
|
||||
endif()
|
||||
|
||||
include(vcpkg_common_functions)
|
||||
|
||||
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
|
||||
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO google/cctz
|
||||
|
@ -1,3 +1,3 @@
|
||||
Source: cgicc
|
||||
Version: 3.2.19
|
||||
Version: 3.2.19-1
|
||||
Description: GNU Cgicc is an ANSI C++ compliant class library that greatly simplifies the creation of CGI applications for the World Wide Web
|
||||
|
@ -1,9 +1,8 @@
|
||||
|
||||
include(vcpkg_common_functions)
|
||||
if (VCPKG_LIBRARY_LINKAGE STREQUAL dynamic)
|
||||
message(WARNING "Warning: Dynamic building not supported. Building static.")
|
||||
set(VCPKG_LIBRARY_LINKAGE static)
|
||||
endif()
|
||||
|
||||
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
|
||||
|
||||
set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/cgicc-3.2.19)
|
||||
vcpkg_download_distfile(ARCHIVE
|
||||
URLS "http://ftp.gnu.org/gnu/cgicc/cgicc-3.2.19.tar.gz"
|
||||
|
@ -1,3 +1,3 @@
|
||||
Source: chmlib
|
||||
Version: 0.40-2
|
||||
Version: 0.40-3
|
||||
Description: CHMLIB is a library for dealing with Microsoft ITSS/CHM format files. Right now, it is a very simple library, but sufficient for dealing with all of the .chm files I've come across. Due to the fairly well-designed indexing built into this particular file format, even a small library is able to gain reasonably good performance indexing into ITSS archives.
|
||||
|
@ -1,13 +1,11 @@
|
||||
if (VCPKG_LIBRARY_LINKAGE STREQUAL dynamic)
|
||||
message(STATUS "Warning: Dynamic building not supported. Building static.")
|
||||
set(VCPKG_LIBRARY_LINKAGE static)
|
||||
endif()
|
||||
include(vcpkg_common_functions)
|
||||
|
||||
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
|
||||
|
||||
set(CHMLIB_VERSION chmlib-0.40)
|
||||
set(CHMLIB_FILENAME ${CHMLIB_VERSION}.zip)
|
||||
set(CHMLIB_URL http://www.jedrea.com/chmlib/${CHMLIB_FILENAME})
|
||||
set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/${CHMLIB_VERSION})
|
||||
include(vcpkg_common_functions)
|
||||
|
||||
vcpkg_download_distfile(
|
||||
ARCHIVE
|
||||
|
@ -12,9 +12,7 @@ set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/bin)
|
||||
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/lib)
|
||||
set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/lib)
|
||||
set(CMAKE_MODULE_PATH "${CMAKE_MODULE_PATH};${CMAKE_CURRENT_SOURCE_DIR}/cmake")
|
||||
if(BUILD_SHARED_LIBS AND MSVC)
|
||||
set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON)
|
||||
endif(BUILD_SHARED_LIBS AND MSVC)
|
||||
|
||||
if(MSVC)
|
||||
set(
|
||||
CMAKE_CXX_FLAGS
|
||||
@ -35,8 +33,6 @@ set_property(GLOBAL PROPERTY USE_FOLDERS ON)
|
||||
# options
|
||||
option(BUILD_SHARED_LIBS "" ON)
|
||||
|
||||
#
|
||||
# 设置用于 install 的变量
|
||||
#
|
||||
# Introduce variables: * CMAKE_INSTALL_LIBDIR * CMAKE_INSTALL_BINDIR
|
||||
include(GNUInstallDirs)
|
||||
|
@ -1,4 +1,4 @@
|
||||
Source: clp
|
||||
Version: 1.16.11-0
|
||||
Version: 1.16.11-1
|
||||
Description: Clp (Coin-or linear programming) is an open-source linear programming solver written in C++. It is primarily meant to be used as a callable library, but a basic, stand-alone executable version is also available.
|
||||
Build-Depends: coinutils, osi
|
||||
|
@ -1,16 +1,7 @@
|
||||
# Common Ambient Variables:
|
||||
# CURRENT_BUILDTREES_DIR = ${VCPKG_ROOT_DIR}\buildtrees\${PORT}
|
||||
# CURRENT_PACKAGES_DIR = ${VCPKG_ROOT_DIR}\packages\${PORT}_${TARGET_TRIPLET}
|
||||
# CURRENT_PORT_DIR = ${VCPKG_ROOT_DIR}\ports\${PORT}
|
||||
# PORT = current port name (zlib, etc)
|
||||
# TARGET_TRIPLET = current triplet (x86-windows, x64-windows-static, etc)
|
||||
# VCPKG_CRT_LINKAGE = C runtime linkage type (static, dynamic)
|
||||
# VCPKG_LIBRARY_LINKAGE = target library linkage type (static, dynamic)
|
||||
# VCPKG_ROOT_DIR = <C:\path\to\current\vcpkg>
|
||||
# VCPKG_TARGET_ARCHITECTURE = target architecture (x64, x86, arm)
|
||||
#
|
||||
|
||||
include(vcpkg_common_functions)
|
||||
|
||||
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
|
||||
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO coin-or/Clp
|
||||
@ -21,17 +12,9 @@ vcpkg_from_github(
|
||||
file(COPY ${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt DESTINATION ${SOURCE_PATH})
|
||||
file(COPY ${CMAKE_CURRENT_LIST_DIR}/Config.cmake.in DESTINATION ${SOURCE_PATH})
|
||||
|
||||
if(VCPKG_LIBRARY_LINKAGE STREQUAL "dynamic")
|
||||
set(BUILD_SHARED_LIBS ON)
|
||||
else()
|
||||
set(BUILD_SHARED_LIBS OFF)
|
||||
endif()
|
||||
|
||||
vcpkg_configure_cmake(
|
||||
SOURCE_PATH ${SOURCE_PATH}
|
||||
PREFER_NINJA # Disable this option if project cannot be built with Ninja
|
||||
OPTIONS
|
||||
-DBUILD_SHARED_LIBS=${BUILD_SHARED_LIBS}
|
||||
PREFER_NINJA
|
||||
)
|
||||
|
||||
vcpkg_install_cmake()
|
||||
@ -41,6 +24,3 @@ vcpkg_fixup_cmake_targets(CONFIG_PATH "lib/cmake/Clp")
|
||||
|
||||
# Handle copyright
|
||||
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/clp RENAME copyright)
|
||||
|
||||
# Post-build test for cmake libraries
|
||||
# vcpkg_test_cmake(PACKAGE_NAME osi)
|
||||
|
@ -1,3 +1,3 @@
|
||||
Source: cmark
|
||||
Version: 0.28.3-2
|
||||
Version: 0.28.3-3
|
||||
Description: CommonMark parsing and rendering library
|
||||
|
@ -1,9 +1,6 @@
|
||||
include(vcpkg_common_functions)
|
||||
|
||||
if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
|
||||
# Note: fails due to missing cmark_export.h -- fix should be to always generate the correct export header.
|
||||
message(FATAL_ERROR "cmark does not currently support static library linkage")
|
||||
endif()
|
||||
vcpkg_check_linkage(ONLY_DYNAMIC_LIBRARY)
|
||||
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
|
@ -12,9 +12,7 @@ set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/bin)
|
||||
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/lib)
|
||||
set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/lib)
|
||||
set(CMAKE_MODULE_PATH "${CMAKE_MODULE_PATH};${CMAKE_CURRENT_SOURCE_DIR}/cmake")
|
||||
if(BUILD_SHARED_LIBS AND MSVC)
|
||||
set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON)
|
||||
endif(BUILD_SHARED_LIBS AND MSVC)
|
||||
|
||||
if(MSVC)
|
||||
set(
|
||||
CMAKE_CXX_FLAGS
|
||||
|
@ -1,3 +1,3 @@
|
||||
Source: coinutils
|
||||
Version: 2.10.14-0
|
||||
Version: 2.10.14-1
|
||||
Description: CoinUtils (Coin-or Utilities) is an open-source collection of classes and functions that are generally useful to more than one COIN-OR project
|
||||
|
@ -1,16 +1,7 @@
|
||||
# Common Ambient Variables:
|
||||
# CURRENT_BUILDTREES_DIR = ${VCPKG_ROOT_DIR}\buildtrees\${PORT}
|
||||
# CURRENT_PACKAGES_DIR = ${VCPKG_ROOT_DIR}\packages\${PORT}_${TARGET_TRIPLET}
|
||||
# CURRENT_PORT_DIR = ${VCPKG_ROOT_DIR}\ports\${PORT}
|
||||
# PORT = current port name (zlib, etc)
|
||||
# TARGET_TRIPLET = current triplet (x86-windows, x64-windows-static, etc)
|
||||
# VCPKG_CRT_LINKAGE = C runtime linkage type (static, dynamic)
|
||||
# VCPKG_LIBRARY_LINKAGE = target library linkage type (static, dynamic)
|
||||
# VCPKG_ROOT_DIR = <C:\path\to\current\vcpkg>
|
||||
# VCPKG_TARGET_ARCHITECTURE = target architecture (x64, x86, arm)
|
||||
#
|
||||
|
||||
include(vcpkg_common_functions)
|
||||
|
||||
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
|
||||
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO coin-or/CoinUtils
|
||||
@ -20,19 +11,10 @@ vcpkg_from_github(
|
||||
|
||||
file(COPY ${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt DESTINATION ${SOURCE_PATH})
|
||||
file(COPY ${CMAKE_CURRENT_LIST_DIR}/Config.cmake.in DESTINATION ${SOURCE_PATH})
|
||||
if(VCPKG_LIBRARY_LINKAGE STREQUAL "dynamic")
|
||||
set(VCPKG_LIBRARY_LINKAGE static)
|
||||
endif()
|
||||
|
||||
|
||||
vcpkg_configure_cmake(
|
||||
SOURCE_PATH ${SOURCE_PATH}
|
||||
PREFER_NINJA # Disable this option if project cannot be built with Ninja
|
||||
OPTIONS
|
||||
-DBUILD_SHARED_LIBS=OFF
|
||||
# OPTIONS -DUSE_THIS_IN_ALL_BUILDS=1 -DUSE_THIS_TOO=2
|
||||
# OPTIONS_RELEASE -DOPTIMIZE=1
|
||||
# OPTIONS_DEBUG -DDEBUGGABLE=1
|
||||
PREFER_NINJA
|
||||
)
|
||||
|
||||
vcpkg_install_cmake()
|
||||
@ -44,6 +26,3 @@ file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
|
||||
|
||||
# Handle copyright
|
||||
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/coinutils RENAME copyright)
|
||||
|
||||
# Post-build test for cmake libraries
|
||||
# vcpkg_test_cmake(PACKAGE_NAME coinutils)
|
||||
|
@ -1,3 +1,3 @@
|
||||
Source: constexpr
|
||||
Version: 1.0
|
||||
Version: 1.0-1
|
||||
Description: Small MIT License Library of general stdlib functions written as C++11 constexpr functions.
|
||||
|
@ -1,12 +1,13 @@
|
||||
#header-only library
|
||||
include(vcpkg_common_functions)
|
||||
set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/constexpr-a98b1db39c909e0130d21d3910d4faf97035a625)
|
||||
vcpkg_download_distfile(ARCHIVE
|
||||
URLS "https://github.com/elbeno/constexpr/archive/a98b1db39c909e0130d21d3910d4faf97035a625.zip"
|
||||
FILENAME "constexpr-a98b1db39c909e0130d21d3910d4faf97035a625.zip"
|
||||
SHA512 847e09f9df30cb5fbd8aa280679ff359d73c9e9454ffe3090f66975a15665080629e9a664d057f039b17430d42b5e5f5f3f92831e73c15024060991090209c2e
|
||||
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO elbeno/constexpr
|
||||
REF a98b1db39c909e0130d21d3910d4faf97035a625
|
||||
SHA512 8802ee43b510ea1f0c00949eecd84eb2bf3ac721802e6bc6755db9e6e2742d8b97fef427eca7d4d9a282c60a18ca10401386022eac995bd22624f45e3fc2c370
|
||||
HEAD_REF master
|
||||
)
|
||||
vcpkg_extract_source_archive(${ARCHIVE})
|
||||
|
||||
# Put the licence file where vcpkg expects it
|
||||
file(COPY ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/constexpr/LICENSE)
|
||||
|
@ -1,4 +1,4 @@
|
||||
Source: coroutine
|
||||
Version: 1.4.1
|
||||
Version: 1.4.1-1
|
||||
Build-Depends: ms-gsl
|
||||
Description: C++ coroutine helper/example library
|
||||
|
@ -18,19 +18,12 @@ set(GSL_INCLUDE_DIR ${CURRENT_INSTALLED_DIR}/include
|
||||
CACHE PATH "path to include C++ core guideline support library" FORCE)
|
||||
message(STATUS "Using ms-gsl at ${GSL_INCLUDE_DIR}")
|
||||
|
||||
set(DLL_LINKAGE false)
|
||||
if(${VCPKG_LIBRARY_LINKAGE} MATCHES dynamic)
|
||||
message(STATUS "Using DLL linkage")
|
||||
set(DLL_LINKAGE true)
|
||||
endif()
|
||||
|
||||
vcpkg_configure_cmake(
|
||||
SOURCE_PATH ${SOURCE_PATH}
|
||||
PREFER_NINJA
|
||||
OPTIONS
|
||||
-DGSL_INCLUDE_DIR=${GSL_INCLUDE_DIR}
|
||||
-DTEST_DISABLED=True
|
||||
-DBUILD_SHARED_LIBS=${DLL_LINKAGE}
|
||||
)
|
||||
|
||||
vcpkg_install_cmake()
|
||||
@ -44,6 +37,3 @@ file(
|
||||
# removed duplicates in debug
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/share)
|
||||
|
||||
# unset used variables
|
||||
unset(DLL_LINKAGE)
|
||||
|
@ -1,4 +1,4 @@
|
||||
Source: cpp-redis
|
||||
Version: 4.3.1
|
||||
Version: 4.3.1-1
|
||||
Build-Depends: tacopie
|
||||
Description: cpp-redis is a C++11 Asynchronous Multi-Platform Lightweight Redis Client, with support for synchronous operations and pipelining.
|
||||
|
@ -1,5 +1,7 @@
|
||||
include(vcpkg_common_functions)
|
||||
|
||||
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
|
||||
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO Cylix/cpp_redis
|
||||
@ -27,7 +29,6 @@ vcpkg_configure_cmake(
|
||||
PREFER_NINJA
|
||||
OPTIONS
|
||||
-DMSVC_RUNTIME_LIBRARY_CONFIG=${MSVC_RUNTIME_LIBRARY_CONFIG}
|
||||
-DCMAKE_WINDOWS_EXPORT_ALL_SYMBOLS=TRUE
|
||||
)
|
||||
|
||||
vcpkg_install_cmake()
|
||||
|
@ -1,4 +1,4 @@
|
||||
Source: cppcms
|
||||
Version: 1.1.0-1
|
||||
Version: 1.1.0-2
|
||||
Description: CppCMS is a Free High Performance Web Development Framework (not a CMS) aimed at Rapid Web Application Development
|
||||
Build-Depends: icu, pcre, openssl, zlib
|
||||
|
@ -1,13 +1,6 @@
|
||||
include(vcpkg_common_functions)
|
||||
|
||||
if(VCPKG_LIBRARY_LINKAGE STREQUAL static)
|
||||
message(STATUS "cppcms doesn't support static linkage. Building dynamic instead.")
|
||||
set(VCPKG_LIBRARY_LINKAGE dynamic)
|
||||
endif()
|
||||
|
||||
if(VCPKG_CRT_LINKAGE STREQUAL static)
|
||||
message(FATAL_ERROR "cppcms doesn't support static CRT linkage.")
|
||||
endif()
|
||||
vcpkg_check_linkage(ONLY_DYNAMIC_LIBRARY ONLY_DYNAMIC_CRT)
|
||||
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
|
@ -1,5 +1,5 @@
|
||||
Source: cppfs
|
||||
Version: 1.2.0
|
||||
Version: 1.2.0-1
|
||||
Description: Cross-platform C++ file system library supporting multiple backends
|
||||
|
||||
Feature: ssh
|
||||
|
@ -15,11 +15,6 @@ if(${TARGET_TRIPLET} MATCHES "uwp")
|
||||
message(FATAL_ERROR "cppfs does not support uwp")
|
||||
endif()
|
||||
|
||||
set(SHARED_LIBS Off)
|
||||
if(${VCPKG_LIBRARY_LINKAGE} STREQUAL "dynamic")
|
||||
set(SHARED_LIBS On)
|
||||
endif()
|
||||
|
||||
set(SSH_BACKEND OFF)
|
||||
if("ssh" IN_LIST FEATURES)
|
||||
set(SSH_BACKEND ON)
|
||||
@ -34,7 +29,6 @@ vcpkg_configure_cmake(
|
||||
OPTIONS
|
||||
-DOPTION_BUILD_SSH_BACKEND=${SSH_BACKEND}
|
||||
-DOPTION_BUILD_TESTS=Off
|
||||
-DBUILD_SHARED_LIBS=${SHARED_LIBS}
|
||||
-DOPTION_FORCE_SYSTEM_DIR_INSTALL=On
|
||||
)
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
Source: crossguid
|
||||
Version: 0.2.2-2018-06-16
|
||||
Version: 0.2.2-2018-06-16-1
|
||||
Build-Depends: libuuid (!windows&!uwp&!osx&!android)
|
||||
Description: CrossGuid is a minimal, cross platform, C++ GUID library.
|
||||
|
@ -1,4 +1,7 @@
|
||||
include(vcpkg_common_functions)
|
||||
|
||||
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
|
||||
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO graeme-hill/crossguid
|
||||
@ -7,11 +10,6 @@ vcpkg_from_github(
|
||||
HEAD_REF master
|
||||
)
|
||||
|
||||
if (VCPKG_LIBRARY_LINKAGE STREQUAL "dynamic")
|
||||
message(STATUS "Warning: Dynamic building not supported. Building static instead")
|
||||
set(VCPKG_LIBRARY_LINKAGE static)
|
||||
endif()
|
||||
|
||||
vcpkg_configure_cmake(
|
||||
SOURCE_PATH ${SOURCE_PATH}
|
||||
PREFER_NINJA
|
||||
|
@ -1,3 +1,3 @@
|
||||
Source: crow
|
||||
Version: 0.1
|
||||
Version: 0.1-1
|
||||
Description: Very fast and easy to use C++ micro web framework
|
||||
|
@ -1,12 +1,12 @@
|
||||
include(vcpkg_common_functions)
|
||||
|
||||
set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/crow-0.1)
|
||||
vcpkg_download_distfile(ARCHIVE_FILE
|
||||
URLS "https://github.com/ipkn/crow/archive/v0.1.tar.gz"
|
||||
FILENAME "crow-v0.1.tar.gz"
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO ipkn/crow
|
||||
REF v0.1
|
||||
SHA512 5a97c5b8cda3ffe79001aa382d4391eddde30027401bbb1d9c85c70ea715f556d3659f5eac0b9d9192c19d13718f19ad6bdf49d67bef03b21e75300d60e7d02a
|
||||
HEAD_REF master
|
||||
)
|
||||
vcpkg_extract_source_archive(${ARCHIVE_FILE})
|
||||
|
||||
file(INSTALL ${SOURCE_PATH}/include/ DESTINATION ${CURRENT_PACKAGES_DIR}/include)
|
||||
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/crow RENAME copyright)
|
||||
|
@ -1,3 +1,3 @@
|
||||
Source: dcmtk
|
||||
Version: 3.6.3
|
||||
Version: 3.6.3-1
|
||||
Description: This DICOM ToolKit (DCMTK) package consists of source code, documentation and installation instructions for a set of software libraries and applications implementing part of the DICOM/MEDICOM Standard.
|
||||
|
@ -1,9 +1,6 @@
|
||||
include(vcpkg_common_functions)
|
||||
|
||||
if(VCPKG_LIBRARY_LINKAGE STREQUAL "dynamic")
|
||||
message("DCMTK only supports static library linkage")
|
||||
set(VCPKG_LIBRARY_LINKAGE static)
|
||||
endif()
|
||||
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
|
||||
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
|
@ -1,3 +1,3 @@
|
||||
Source: directxmesh
|
||||
Version: feb2019
|
||||
Version: feb2019-1
|
||||
Description: DirectXMesh geometry processing library
|
@ -1,9 +1,6 @@
|
||||
include(vcpkg_common_functions)
|
||||
|
||||
if (VCPKG_LIBRARY_LINKAGE STREQUAL dynamic)
|
||||
message(STATUS "Warning: Dynamic building not supported yet. Building static.")
|
||||
set(VCPKG_LIBRARY_LINKAGE static)
|
||||
endif()
|
||||
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
|
||||
|
||||
if(NOT VCPKG_CRT_LINKAGE STREQUAL "dynamic")
|
||||
message(FATAL_ERROR "DirectXMesh only supports dynamic CRT linkage")
|
||||
|
@ -1,3 +1,3 @@
|
||||
Source: directxtex
|
||||
Version: feb2019
|
||||
Version: feb2019-1
|
||||
Description: DirectXTex texture processing library
|
@ -1,9 +1,6 @@
|
||||
include(vcpkg_common_functions)
|
||||
|
||||
if (VCPKG_LIBRARY_LINKAGE STREQUAL dynamic)
|
||||
message(STATUS "Warning: Dynamic building not supported yet. Building static.")
|
||||
set(VCPKG_LIBRARY_LINKAGE static)
|
||||
endif()
|
||||
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
|
||||
|
||||
if(NOT VCPKG_CRT_LINKAGE STREQUAL "dynamic")
|
||||
message(FATAL_ERROR "DirectXTex only supports dynamic CRT linkage")
|
||||
|
@ -1,3 +1,3 @@
|
||||
Source: directxtk
|
||||
Version: feb2019
|
||||
Version: feb2019-1
|
||||
Description: A collection of helper classes for writing DirectX 11.x code in C++.
|
||||
|
@ -1,9 +1,6 @@
|
||||
include(vcpkg_common_functions)
|
||||
|
||||
if (VCPKG_LIBRARY_LINKAGE STREQUAL dynamic)
|
||||
message(STATUS "Warning: Dynamic building not supported yet. Building static.")
|
||||
set(VCPKG_LIBRARY_LINKAGE static)
|
||||
endif()
|
||||
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
|
||||
|
||||
if(NOT VCPKG_CRT_LINKAGE STREQUAL "dynamic")
|
||||
message(FATAL_ERROR "DirectXTK only supports dynamic CRT linkage")
|
||||
|
@ -1,3 +1,3 @@
|
||||
Source: directxtk12
|
||||
Version: dec2016
|
||||
Version: dec2016-1
|
||||
Description: A collection of helper classes for writing DirectX 12 code in C++.
|
||||
|
@ -1,13 +1,11 @@
|
||||
if (VCPKG_LIBRARY_LINKAGE STREQUAL dynamic)
|
||||
message(STATUS "Warning: Dynamic building not supported yet. Building static.")
|
||||
set(VCPKG_LIBRARY_LINKAGE static)
|
||||
endif()
|
||||
include(vcpkg_common_functions)
|
||||
|
||||
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
|
||||
|
||||
if(NOT VCPKG_CRT_LINKAGE STREQUAL "dynamic")
|
||||
message(FATAL_ERROR "DirectXTk12 only supports dynamic CRT linkage")
|
||||
endif()
|
||||
|
||||
include(vcpkg_common_functions)
|
||||
set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/DirectXTK12-dec2016)
|
||||
vcpkg_download_distfile(ARCHIVE
|
||||
URLS "https://github.com/Microsoft/DirectXTK12/archive/dec2016.tar.gz"
|
||||
|
@ -1,5 +1,5 @@
|
||||
Source: dlib
|
||||
Version: 19.16-1
|
||||
Version: 19.16-2
|
||||
Build-Depends: libjpeg-turbo, libpng, sqlite3, fftw3, openblas, clapack
|
||||
Description: Modern C++ toolkit containing machine learning algorithms and tools for creating complex software in C++
|
||||
|
||||
|
@ -1,9 +1,6 @@
|
||||
include(vcpkg_common_functions)
|
||||
|
||||
if(VCPKG_LIBRARY_LINKAGE STREQUAL "dynamic")
|
||||
message("dlib only supports static linkage")
|
||||
set(VCPKG_LIBRARY_LINKAGE "static")
|
||||
endif()
|
||||
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
|
||||
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
|
@ -1,3 +1,3 @@
|
||||
Source: double-conversion
|
||||
Version: 3.1.0-1
|
||||
Version: 3.1.0-2
|
||||
Description: Efficient binary-decimal and decimal-binary conversion routines for IEEE doubles.
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user