Add PREFER_NINJA to many ports (#7468)

* Add PREFER_NINJA to many ports
This commit is contained in:
Phoebe 2019-08-01 04:01:02 +08:00 committed by Phil Christensen
parent 80b187ad64
commit bcff929875
158 changed files with 161 additions and 80 deletions

View File

@ -1,5 +1,5 @@
Source: alembic
Version: 1.7.11-2
Version: 1.7.11-3
Build-Depends: ilmbase, hdf5
Description: Alembic is an open framework for storing and sharing scene data that includes a C++ library, a file format, and client plugins and applications.
Homepage: https://alembic.io/

View File

@ -23,6 +23,7 @@ vcpkg_from_github(
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
OPTIONS
-DUSE_HDF5=ON
-DHDF5_ROOT=${CURRENT_INSTALLED_DIR}

View File

@ -1,3 +1,3 @@
Source: ampl-mp
Version: 2019-03-21
Version: 2019-03-21-1
Description: An open-source library for mathematical programming

View File

@ -20,6 +20,7 @@ vcpkg_from_github(
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
OPTIONS
-DBUILD=asl
-DBUILD_TESTING=OFF

View File

@ -1,4 +1,4 @@
Source: anax
Version: 2.1.0-5
Version: 2.1.0-6
Description: An open source C++ entity system.
Homepage: https://github.com/miguelmartin75/anax

View File

@ -14,6 +14,7 @@ vcpkg_from_github(
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
DISABLE_PARALLEL_CONFIGURE
)

View File

@ -1,5 +1,5 @@
Source: apr
Version: 1.6.5-1
Version: 1.6.5-2
Homepage: https://apr.apache.org/
Description: The Apache Portable Runtime (APR) is a C library that forms a system portability layer that covers many operating systems.

View File

@ -22,6 +22,7 @@ endif()
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
OPTIONS
-DINSTALL_PDB=OFF
-DMIN_WINDOWS_VER=Windows7

View File

@ -1,5 +1,5 @@
Source: azure-storage-cpp
Version: 6.1.0-1
Version: 6.1.0-2
Build-Depends: cpprestsdk[core], atlmfc (windows), boost-log (!windows&!uwp), boost-locale (!windows&!uwp), libxml2 (!windows&!uwp), libuuid (!windows&!uwp&!osx), gettext
Description: Microsoft Azure Storage Client SDK for C++
A client library for working with Microsoft Azure storage services including blobs, files, tables, and queues. This client library enables working with the Microsoft Azure storage services which include the blob service for storing binary and text data, the file service for storing binary and text data, the table service for storing structured non-relational data, and the queue service for storing messages that may be accessed by a client.

View File

@ -18,6 +18,7 @@ vcpkg_from_github(
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}/Microsoft.WindowsAzure.Storage
PREFER_NINJA
OPTIONS
-DCMAKE_FIND_FRAMEWORK=LAST
-DBUILD_TESTS=OFF

View File

@ -1,5 +1,5 @@
Source: basisu
Version: 0.0.1
Version: 0.0.1-1
Homepage: https://github.com/BinomialLLC/basis_universal
Description: Basis Universal is a supercompressed GPU texture and video compression format that outputs a highly compressed intermediate file format (.basis) that can be quickly transcoded to a wide variety of GPU texture compression formats.
Build-Depends: lodepng

View File

@ -10,6 +10,7 @@ vcpkg_from_github(
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
OPTIONS
-DBUILD_TESTS=OFF
)

View File

@ -1,5 +1,5 @@
Source: blosc
Version: 1.16.3-1
Version: 1.16.3-2
Build-Depends: lz4, snappy, zlib, zstd
Homepage: https://github.com/Blosc/c-blosc
Description: A blocking, shuffling and loss-less compression library that can be faster than `memcpy()`

View File

@ -20,6 +20,7 @@ file(REMOVE_RECURSE ${SOURCE_PATH}/internal-complibs)
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
OPTIONS -DPREFER_EXTERNAL_LZ4=ON
-DPREFER_EXTERNAL_SNAPPY=ON
-DPREFER_EXTERNAL_ZLIB=ON

View File

@ -1,5 +1,5 @@
Source: bullet3
Version: 2.88
Version: 2.88-1
Homepage: https://github.com/bulletphysics/bullet3
Description: Bullet Physics is a professional collision detection, rigid body, and soft body dynamics library

View File

@ -17,6 +17,7 @@ endif()
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
OPTIONS
-DUSE_MSVC_RUNTIME_LIBRARY_DLL=ON
-DBUILD_DEMOS=OFF

View File

@ -1,5 +1,5 @@
Source: capnproto
Version: 0.7.0-2
Version: 0.7.0-3
Description: Data interchange format and capability-based RPC system
Homepage: https://capnproto.org/
Build-Depends: zlib

View File

@ -15,7 +15,10 @@ vcpkg_from_github(
PATCHES "${CMAKE_CURRENT_LIST_DIR}/0001-fix-capnpc-extension-handling-on-Windows.patch"
)
vcpkg_configure_cmake(SOURCE_PATH ${SOURCE_PATH})
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
)
vcpkg_install_cmake()

View File

@ -1,4 +1,4 @@
Source: cgicc
Version: 3.2.19-1
Version: 3.2.19-2
Homepage: https://www.gnu.org/software/cgicc/
Description: GNU Cgicc is an ANSI C++ compliant class library that greatly simplifies the creation of CGI applications for the World Wide Web

View File

@ -15,6 +15,7 @@ file(COPY ${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt DESTINATION ${SOURCE_PATH})
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
OPTIONS_DEBUG -DDISABLE_INSTALL_HEADERS=ON -DDISABLE_INSTALL_TOOLS=ON
)

View File

@ -1,4 +1,4 @@
Source: charls
Version: 2.0.0-1
Version: 2.0.0-2
Homepage: https://github.com/team-charls/charls
Description: CharLS, a C++ JPEG-LS library implementation.

View File

@ -15,6 +15,7 @@ vcpkg_apply_patches(
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
OPTIONS
-DBUILD_TESTING=OFF
)

View File

@ -1,4 +1,4 @@
Source: collada-dom
Version: 2.5.0-1
Version: 2.5.0-2
Description: The COLLADA Document Object Model (DOM) is an application programming interface (API) that provides a C++ object representation of a COLLADA XML instance document.
Build-Depends: zlib, libxml2, minizip, pcre, uriparser, boost-filesystem, boost-system

View File

@ -14,6 +14,7 @@ vcpkg_from_github(
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
)
vcpkg_install_cmake()

View File

@ -1,4 +1,4 @@
Source: ctemplate
Version: 2017-06-23-44b7c5-3
Version: 2017-06-23-44b7c5-4
Homepage: https://github.com/OlafvdSpek/ctemplate
Description: C++ CTemplate system

View File

@ -14,6 +14,7 @@ vcpkg_find_acquire_program(PYTHON3)
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
OPTIONS -DPYTHON_EXECUTABLE=${PYTHON3}
OPTIONS_DEBUG -DDISABLE_INSTALL_HEADERS=ON
)

View File

@ -1,4 +1,4 @@
Source: dlfcn-win32
Version: 1.1.1-1
Version: 1.1.1-2
Homepage: https://github.com/dlfcn-win32/dlfcn-win32
Description: dlfcn-win32 is an implementation of dlfcn for Windows.

View File

@ -22,6 +22,7 @@ vcpkg_extract_source_archive(${ARCHIVE})
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
)
vcpkg_install_cmake()

View File

@ -1,5 +1,5 @@
Source: duktape
Version: 2.3.0-1
Version: 2.3.0-2
Homepage: https://github.com/svaarala/duktape
Description: Embeddable Javascript engine with a focus on portability and compact footprint.
Build-Depends:

View File

@ -48,6 +48,7 @@ vcpkg_apply_patches(
)
vcpkg_configure_cmake(
PREFER_NINJA
SOURCE_PATH ${SOURCE_PATH}
)

View File

@ -1,3 +1,3 @@
Source: easyloggingpp
Version: 9.96.7
Version: 9.96.7-1
Description: Easylogging++ is a single header efficient logging library for C++ applications.

View File

@ -12,6 +12,7 @@ vcpkg_from_github(
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
OPTIONS
-Dbuild_static_lib=ON
)

View File

@ -1,4 +1,4 @@
Source: ecm
Version: 5.60.0
Version: 5.60.0-1
Homepage: https://github.com/KDE/extra-cmake-modules
Description: Extra CMake Modules (ECM), extra modules and scripts for CMake

View File

@ -11,6 +11,7 @@ vcpkg_from_github(
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
OPTIONS -DBUILD_HTML_DOCS=OFF
-DBUILD_MAN_DOCS=OFF
-DBUILD_QTHELP_DOCS=OFF

View File

@ -1,3 +1,3 @@
Source: fastfeat
Version: 391d5e9
Version: 391d5e9-1
Description: FAST feature detectors in C

View File

@ -17,6 +17,7 @@ DESTINATION ${SOURCE_PATH}
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
OPTIONS_DEBUG
-DDISABLE_INSTALL_HEADERS=ON
)

View File

@ -1,4 +1,4 @@
Source: fastlz
Version: 1.0-2
Version: 1.0-3
Homepage: https://github.com/ariya/FastLZ
Description: A lightning-fast lossless compression library

View File

@ -14,6 +14,7 @@ file(COPY ${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt DESTINATION ${SOURCE_PATH})
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
)
vcpkg_install_cmake()

View File

@ -1,4 +1,4 @@
Source: freeglut
Version: 3.0.0-6
Version: 3.0.0-7
Homepage: https://sourceforge.net/projects/freeglut/
Description: Open source implementation of GLUT with source and binary backwards compatibility.

View File

@ -36,6 +36,7 @@ file(WRITE ${SOURCE_PATH}/include/GL/freeglut_std.h "${FREEGLUT_STDH}")
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
OPTIONS
-DFREEGLUT_BUILD_STATIC_LIBS=${FREEGLUT_STATIC}
-DFREEGLUT_BUILD_SHARED_LIBS=${FREEGLUT_DYNAMIC}

View File

@ -1,3 +1,3 @@
Source: gherkin-c
Version: 2019-10-07
Version: 2019-10-07-1
Description: Gherkin parser/compiler in C

View File

@ -10,6 +10,7 @@ vcpkg_from_github(
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
OPTIONS
-DBUILD_GHERKIN_TESTS=OFF
)

View File

@ -1,5 +1,5 @@
Source: gl2ps
Version: 1.4.0-2
Version: 1.4.0-3
Homepage: https://gitlab.onelab.info/gl2ps/gl2ps
Description: OpenGL to PostScript Printing Library
Build-Depends: freeglut, zlib, libpng

View File

@ -12,6 +12,7 @@ vcpkg_from_gitlab(
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
OPTIONS_DEBUG -DDISABLE_INSTALL_HEADERS=ON
)

View File

@ -1,5 +1,5 @@
Source: glbinding
Version: 3.1.0-1
Version: 3.1.0-2
Description: glbinding is an MIT licensed, cross-platform C++ binding for the OpenGL API
Homepage: https://github.com/cginternals/glbinding
Build-Depends: egl-registry

View File

@ -14,6 +14,7 @@ vcpkg_from_github(
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
OPTIONS
-DOPTION_BUILD_TESTS=OFF
-DOPTION_BUILD_GPU_TESTS=OFF

View File

@ -1,4 +1,4 @@
Source: glew
Version: 2.1.0-4
Version: 2.1.0-5
Description: The OpenGL Extension Wrangler Library (GLEW) is a cross-platform open-source C/C++ extension loading library.
Homepage: https://github.com/nigels-com/glew

View File

@ -18,6 +18,7 @@ vcpkg_extract_source_archive_ex(
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}/build/cmake
PREFER_NINJA
DISABLE_PARALLEL_CONFIGURE
OPTIONS
-DBUILD_UTILS=OFF

View File

@ -1,4 +1,4 @@
Source: glfw3
Version: 3.3
Version: 3.3-1
Homepage: https://github.com/glfw/glfw
Description: GLFW is a free, Open Source, multi-platform library for OpenGL, OpenGL ES and Vulkan application development. It provides a simple, platform-independent API for creating windows, contexts and surfaces, reading input, handling events, etc.

View File

@ -20,6 +20,7 @@ endif()
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
OPTIONS
-DGLFW_BUILD_EXAMPLES=OFF
-DGLFW_BUILD_TESTS=OFF

View File

@ -1,6 +1,6 @@
Source: graphicsmagick
Maintainer: josuegomes@gmail.com
Version: 1.3.32
Version: 1.3.32-1
Build-Depends: zlib, bzip2, freetype, libjpeg-turbo, libpng, tiff
Homepage: https://sourceforge.net/projects/graphicsmagick/
Description: Image processing library

View File

@ -28,6 +28,7 @@ file(COPY ${CMAKE_CURRENT_LIST_DIR}/magick_types.h DESTINATION ${SOURCE_PATH}/ma
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
OPTIONS_DEBUG
-DINSTALL_HEADERS=OFF
)

View File

@ -1,5 +1,5 @@
Source: hypre
Version: 2.11.2-1
Version: 2.11.2-2
Homepage: https://computation.llnl.gov/projects/hypre-scalable-linear-solvers-multigrid-methods
Description: SCALABLE LINEAR SOLVERS AND MULTIGRID METHODS
Build-Depends: msmpi

View File

@ -25,6 +25,7 @@ endif()
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
OPTIONS
${OPTIONS}
OPTIONS_RELEASE

View File

@ -1,5 +1,5 @@
Source: jack2
Version: 1.9.12-1
Version: 1.9.12-2
Homepage: https://github.com/jackaudio/jack2
Description: Cross-platform API that enables device sharing and inter-application audio routing

View File

@ -15,6 +15,7 @@ file(COPY ${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt DESTINATION ${SOURCE_PATH})
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
)
vcpkg_install_cmake()

View File

@ -1,4 +1,4 @@
Source: jxrlib
Version: 1.1-7
Version: 1.1-8
Homepage: https://github.com/4creators/jxrlib
Description: Open source implementation of the jpegxr image format standard.

View File

@ -22,6 +22,7 @@ endif()
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
)
vcpkg_install_cmake()

View File

@ -1,3 +1,3 @@
Source: kangaru
Version: 4.1.3-1
Version: 4.1.3-2
Description: A dependency injection container for C++11, C++14 and later

View File

@ -10,6 +10,7 @@ vcpkg_from_github(
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
OPTIONS -DKANGARU_EXPORT=Off -DKANGARU_TEST=Off
)

View File

@ -1,3 +1,3 @@
Source: leaf
Version: 0.2.1-1
Version: 0.2.1-2
Description: Lightweight error augmentation framework

View File

@ -10,6 +10,7 @@ vcpkg_from_github(
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
)
vcpkg_install_cmake()

View File

@ -1,4 +1,4 @@
Source: libconfig
Version: 1.7.2
Version: 1.7.2-1
Homepage: https://github.com/hyperrealm/libconfig
Description: C/C++ library for processing configuration files

View File

@ -13,6 +13,7 @@ file(COPY ${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt DESTINATION ${SOURCE_PATH})
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
OPTIONS_DEBUG -DDISABLE_INSTALL_HEADERS=ON
)

View File

@ -1,5 +1,5 @@
Source: libfreenect2
Version: 0.2.0-2
Version: 0.2.0-3
Build-Depends: libusb, libjpeg-turbo
Homepage: https://github.com/OpenKinect/libfreenect2
Description: Open source drivers for the Kinect for Windows v2 device

View File

@ -20,6 +20,7 @@ file(WRITE ${SOURCE_PATH}/examples/CMakeLists.txt "${EXAMPLECMAKE}")
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
OPTIONS
-DENABLE_CUDA=OFF
)

View File

@ -1,3 +1,3 @@
Source: libmad
Version: 0.15.1-2
Version: 0.15.1-3
Description: high-quality MPEG audio decoder

View File

@ -24,6 +24,7 @@ file(COPY ${SOURCE_PATH}/msvc++/mad.h DESTINATION ${SOURCE_PATH})
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
)
vcpkg_install_cmake()

View File

@ -1,4 +1,4 @@
Source: libmariadb
Version: 3.0.10-2
Version: 3.0.10-3
Homepage: https://github.com/MariaDB/mariadb-connector-c
Description: MariaDB Connector/C is used to connect C/C++ applications to MariaDB and MySQL databases

View File

@ -19,6 +19,7 @@ vcpkg_from_github(
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
OPTIONS
-DWITH_UNITTEST=OFF
-DWITH_SSL=OFF

View File

@ -1,5 +1,5 @@
Source: libmspack
Version: 0.10.1
Version: 0.10.1-1
Build-Depends:
Homepage: https://www.cabextract.org.uk/libmspack
Description: libmspack is a portable library for some loosely related Microsoft compression formats.

View File

@ -18,6 +18,7 @@ file(COPY ${CMAKE_CURRENT_LIST_DIR}/libmspack.def DESTINATION ${SOURCE_PATH})
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
)
vcpkg_install_cmake()

View File

@ -1,5 +1,5 @@
Source: libnice
Version: 0.1.15
Version: 0.1.15-1
Homepage: https://nice.freedesktop.org
Description: Libnice is an implementation of the IETF's Interactive Connectivity Establishment (ICE) standard (RFC 5245) and the Session Traversal Utilities for NAT (STUN) standard (RFC 5389).
Build-Depends: glib, openssl

View File

@ -15,6 +15,7 @@ file(COPY ${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt DESTINATION ${SOURCE_PATH})
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
OPTIONS_RELEASE -DOPTIMIZE=1
OPTIONS_DEBUG -DDEBUGGABLE=1
)

View File

@ -1,4 +1,4 @@
Source: libodb-boost
Version: 2.4.0-2
Version: 2.4.0-3
Description: Description: Boost support for the ODB ORM library
Build-Depends: libodb

View File

@ -14,6 +14,7 @@ file(COPY
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
OPTIONS_DEBUG
-DLIBODB_INSTALL_HEADERS=OFF
)

View File

@ -1,5 +1,5 @@
Source: libodb-mysql
Version: 2.4.0-2
Version: 2.4.0-3
Homepage: https://www.codesynthesis.com/products/odb/
Description: MySQL support for the ODB ORM library
Build-Depends: libodb, libmysql

View File

@ -35,6 +35,7 @@ set(MYSQL_LIB "${CURRENT_INSTALLED_DIR}/lib/libmysql.lib")
set(MYSQL_LIB_DEBUG "${CURRENT_INSTALLED_DIR}/debug/lib/libmysql.lib")
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
OPTIONS
-DMYSQL_INCLUDE_DIR=${MYSQL_INCLUDE_DIR}
OPTIONS_RELEASE

View File

@ -1,5 +1,5 @@
Source: libodb-pgsql
Version: 2.4.0-2
Version: 2.4.0-3
Homepage: https://www.codesynthesis.com/products/odb/
Description: Description: PostgreSQL support for the ODB ORM library
Build-Depends: libodb, libpq

View File

@ -14,6 +14,7 @@ file(COPY
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
OPTIONS_DEBUG
-DLIBODB_INSTALL_HEADERS=OFF
)

View File

@ -1,5 +1,5 @@
Source: libodb-sqlite
Version: 2.4.0-3
Version: 2.4.0-4
Homepage: https://www.codesynthesis.com/products/odb/
Description: Sqlite support for the ODB ORM library
Build-Depends: libodb, sqlite3

View File

@ -22,6 +22,7 @@ file(COPY
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
OPTIONS_DEBUG
-DLIBODB_INSTALL_HEADERS=OFF
)

View File

@ -1,4 +1,4 @@
Source: libodb
Version: 2.4.0-4
Version: 2.4.0-5
Homepage: https://www.codesynthesis.com/products/odb/
Description: ODB library, base runtime for the ODB ORM solution

View File

@ -22,6 +22,7 @@ file(COPY
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
OPTIONS_DEBUG
-DLIBODB_INSTALL_HEADERS=OFF
)

View File

@ -1,5 +1,5 @@
Source: librabbitmq
Version: 0.9.0
Version: 0.9.0-1
Build-Depends: openssl
Homepage: https://github.com/alanxz/rabbitmq-c
Description: A C-language AMQP client library for use with v2.0+ of the RabbitMQ broker.

View File

@ -15,6 +15,7 @@ string(COMPARE EQUAL "${VCPKG_LIBRARY_LINKAGE}" "dynamic" BUILD_SHARED)
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
OPTIONS
-DBUILD_EXAMPLES=OFF
-DBUILD_TESTS=OFF

View File

@ -1,4 +1,4 @@
Source: libsamplerate
Version: 0.1.9.0
Version: 0.1.9.0-1
Homepage: https://www.mega-nerd.com/SRC
Description: Sample Rate Converter for audio

View File

@ -15,6 +15,7 @@ file(COPY ${SOURCE_PATH}/Win32/config.h DESTINATION ${SOURCE_PATH}/src)
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}/src
PREFER_NINJA
)
vcpkg_install_cmake()

View File

@ -1,5 +1,5 @@
Source: libwebsockets
Version: 3.1.0-2
Version: 3.1.0-3
Build-Depends: zlib, openssl
Homepage: https://github.com/warmcat/libwebsockets
Description: Libwebsockets is a lightweight pure C library built to use minimal CPU and memory resources, and provide fast throughput in both directions as client or server.

View File

@ -13,6 +13,7 @@ string(COMPARE EQUAL "${VCPKG_LIBRARY_LINKAGE}" "dynamic" LWS_WITH_SHARED)
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
OPTIONS
-DLWS_WITH_STATIC=${LWS_WITH_STATIC}
-DLWS_WITH_SHARED=${LWS_WITH_SHARED}

View File

@ -1,4 +1,4 @@
Source: lmdb
Version: 0.9.23-1
Version: 0.9.23-2
Homepage: https://github.com/LMDB/lmdb
Description: LMDB is an extraordinarily fast, memory-efficient database

View File

@ -13,6 +13,7 @@ file(COPY ${CMAKE_CURRENT_LIST_DIR}/cmake/ DESTINATION ${SOURCE_PATH}/libraries/
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}/libraries/liblmdb
PREFER_NINJA
OPTIONS_DEBUG
-DLMDB_INSTALL_HEADERS=OFF
)

View File

@ -1,4 +1,4 @@
Source: metis
Version: 5.1.0-4
Version: 5.1.0-5
Homepage: https://glaros.dtc.umn.edu/gkhome/metis/metis/overview
Description: Serial Graph Partitioning and Fill-reducing Matrix Ordering

View File

@ -26,6 +26,7 @@ vcpkg_extract_source_archive_ex(
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
OPTIONS ${OPTIONS}
)

View File

@ -1,4 +1,4 @@
Source: mozjpeg
Version: 3.2-2
Version: 3.2-3
Homepage: https://github.com/mozilla/mozjpeg
Description: MozJPEG reduces file sizes of JPEG images while retaining quality and compatibility with the vast majority of the world's deployed decoders. It's compatible with libjpeg API and ABI, and can be used as a drop-in replacement for libjpeg.

View File

@ -26,6 +26,7 @@ string(COMPARE EQUAL "${VCPKG_CRT_LINKAGE}" "dynamic" WITH_CRT_DLL)
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
OPTIONS
-DDENABLE_SHARED=${ENABLE_SHARED_BUILD}
-DENABLE_STATIC=${ENABLE_STATIC_BUILD}

View File

@ -1,4 +1,4 @@
Source: nanodbc
Version: 2.12.4-3
Version: 2.12.4-4
Homepage: https://github.com/lexicalunit/nanodbc
Description: A small C++ wrapper for the native C ODBC API.

View File

@ -14,6 +14,7 @@ vcpkg_from_github(
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
OPTIONS
# Legacy, remove at release of v2.13
-DNANODBC_EXAMPLES=OFF

View File

@ -1,5 +1,5 @@
Source: nmslib
Version: 1.7.3.6
Version: 1.7.3.6-1
Homepage: https://github.com/searchivarius/nmslib
Description: Non-Metric Space Library (NMSLIB) is an efficient similarity search library and a toolkit for evaluation of k-NN methods for generic non-metric spaces.
#

View File

@ -25,6 +25,7 @@ endif()
# TODO: check SSE and AVX avability and set corresponding tags
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}/similarity_search
PREFER_NINJA
OPTIONS
-DWITH_EXTRAS=${WITH_EXTRAS}
)

Some files were not shown because too many files have changed in this diff Show More