Skip to content

Commit

Permalink
Add PREFER_NINJA to many ports (microsoft#7468)
Browse files Browse the repository at this point in the history
* Add PREFER_NINJA to many ports
  • Loading branch information
Phoebe authored and Rastaban committed Jul 31, 2019
1 parent 80b187a commit bcff929
Show file tree
Hide file tree
Showing 158 changed files with 161 additions and 80 deletions.
2 changes: 1 addition & 1 deletion ports/alembic/CONTROL
Original file line number Diff line number Diff line change
@@ -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/
1 change: 1 addition & 0 deletions ports/alembic/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down
2 changes: 1 addition & 1 deletion ports/ampl-mp/CONTROL
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
Source: ampl-mp
Version: 2019-03-21
Version: 2019-03-21-1
Description: An open-source library for mathematical programming
1 change: 1 addition & 0 deletions ports/ampl-mp/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ vcpkg_from_github(

vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
OPTIONS
-DBUILD=asl
-DBUILD_TESTING=OFF
Expand Down
2 changes: 1 addition & 1 deletion ports/anax/CONTROL
Original file line number Diff line number Diff line change
@@ -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
1 change: 1 addition & 0 deletions ports/anax/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ vcpkg_from_github(

vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
DISABLE_PARALLEL_CONFIGURE
)

Expand Down
2 changes: 1 addition & 1 deletion ports/apr/CONTROL
Original file line number Diff line number Diff line change
@@ -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.

Expand Down
1 change: 1 addition & 0 deletions ports/apr/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ endif()

vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
OPTIONS
-DINSTALL_PDB=OFF
-DMIN_WINDOWS_VER=Windows7
Expand Down
2 changes: 1 addition & 1 deletion ports/azure-storage-cpp/CONTROL
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
1 change: 1 addition & 0 deletions ports/azure-storage-cpp/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion ports/basisu/CONTROL
Original file line number Diff line number Diff line change
@@ -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
1 change: 1 addition & 0 deletions ports/basisu/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ vcpkg_from_github(

vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
OPTIONS
-DBUILD_TESTS=OFF
)
Expand Down
2 changes: 1 addition & 1 deletion ports/blosc/CONTROL
Original file line number Diff line number Diff line change
@@ -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()`
1 change: 1 addition & 0 deletions ports/blosc/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion ports/bullet3/CONTROL
Original file line number Diff line number Diff line change
@@ -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

Expand Down
1 change: 1 addition & 0 deletions ports/bullet3/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ endif()

vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
OPTIONS
-DUSE_MSVC_RUNTIME_LIBRARY_DLL=ON
-DBUILD_DEMOS=OFF
Expand Down
2 changes: 1 addition & 1 deletion ports/capnproto/CONTROL
Original file line number Diff line number Diff line change
@@ -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
5 changes: 4 additions & 1 deletion ports/capnproto/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down
2 changes: 1 addition & 1 deletion ports/cgicc/CONTROL
Original file line number Diff line number Diff line change
@@ -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
1 change: 1 addition & 0 deletions ports/cgicc/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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
)

Expand Down
2 changes: 1 addition & 1 deletion ports/charls/CONTROL
Original file line number Diff line number Diff line change
@@ -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.
1 change: 1 addition & 0 deletions ports/charls/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ vcpkg_apply_patches(

vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
OPTIONS
-DBUILD_TESTING=OFF
)
Expand Down
2 changes: 1 addition & 1 deletion ports/collada-dom/CONTROL
Original file line number Diff line number Diff line change
@@ -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
1 change: 1 addition & 0 deletions ports/collada-dom/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ vcpkg_from_github(

vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
)

vcpkg_install_cmake()
Expand Down
2 changes: 1 addition & 1 deletion ports/ctemplate/CONTROL
Original file line number Diff line number Diff line change
@@ -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
1 change: 1 addition & 0 deletions ports/ctemplate/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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
)
Expand Down
2 changes: 1 addition & 1 deletion ports/dlfcn-win32/CONTROL
Original file line number Diff line number Diff line change
@@ -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.
1 change: 1 addition & 0 deletions ports/dlfcn-win32/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ vcpkg_extract_source_archive(${ARCHIVE})

vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
)

vcpkg_install_cmake()
Expand Down
2 changes: 1 addition & 1 deletion ports/duktape/CONTROL
Original file line number Diff line number Diff line change
@@ -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:
1 change: 1 addition & 0 deletions ports/duktape/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ vcpkg_apply_patches(
)

vcpkg_configure_cmake(
PREFER_NINJA
SOURCE_PATH ${SOURCE_PATH}
)

Expand Down
2 changes: 1 addition & 1 deletion ports/easyloggingpp/CONTROL
Original file line number Diff line number Diff line change
@@ -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.
1 change: 1 addition & 0 deletions ports/easyloggingpp/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ vcpkg_from_github(

vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
OPTIONS
-Dbuild_static_lib=ON
)
Expand Down
2 changes: 1 addition & 1 deletion ports/ecm/CONTROL
Original file line number Diff line number Diff line change
@@ -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
1 change: 1 addition & 0 deletions ports/ecm/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion ports/fastfeat/CONTROL
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
Source: fastfeat
Version: 391d5e9
Version: 391d5e9-1
Description: FAST feature detectors in C
1 change: 1 addition & 0 deletions ports/fastfeat/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ DESTINATION ${SOURCE_PATH}

vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
OPTIONS_DEBUG
-DDISABLE_INSTALL_HEADERS=ON
)
Expand Down
2 changes: 1 addition & 1 deletion ports/fastlz/CONTROL
Original file line number Diff line number Diff line change
@@ -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
1 change: 1 addition & 0 deletions ports/fastlz/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
2 changes: 1 addition & 1 deletion ports/freeglut/CONTROL
Original file line number Diff line number Diff line change
@@ -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.
1 change: 1 addition & 0 deletions ports/freeglut/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down
2 changes: 1 addition & 1 deletion ports/gherkin-c/CONTROL
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
Source: gherkin-c
Version: 2019-10-07
Version: 2019-10-07-1
Description: Gherkin parser/compiler in C
1 change: 1 addition & 0 deletions ports/gherkin-c/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ vcpkg_from_github(

vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
OPTIONS
-DBUILD_GHERKIN_TESTS=OFF
)
Expand Down
2 changes: 1 addition & 1 deletion ports/gl2ps/CONTROL
Original file line number Diff line number Diff line change
@@ -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
1 change: 1 addition & 0 deletions ports/gl2ps/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ vcpkg_from_gitlab(

vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
OPTIONS_DEBUG -DDISABLE_INSTALL_HEADERS=ON
)

Expand Down
2 changes: 1 addition & 1 deletion ports/glbinding/CONTROL
Original file line number Diff line number Diff line change
@@ -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
1 change: 1 addition & 0 deletions ports/glbinding/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion ports/glew/CONTROL
Original file line number Diff line number Diff line change
@@ -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
1 change: 1 addition & 0 deletions ports/glew/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion ports/glfw3/CONTROL
Original file line number Diff line number Diff line change
@@ -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.
1 change: 1 addition & 0 deletions ports/glfw3/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ endif()

vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
OPTIONS
-DGLFW_BUILD_EXAMPLES=OFF
-DGLFW_BUILD_TESTS=OFF
Expand Down
2 changes: 1 addition & 1 deletion ports/graphicsmagick/CONTROL
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Source: graphicsmagick
Maintainer: [email protected]
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
1 change: 1 addition & 0 deletions ports/graphicsmagick/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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
)
Expand Down
2 changes: 1 addition & 1 deletion ports/hypre/CONTROL
Original file line number Diff line number Diff line change
@@ -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
1 change: 1 addition & 0 deletions ports/hypre/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ endif()

vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
OPTIONS
${OPTIONS}
OPTIONS_RELEASE
Expand Down
2 changes: 1 addition & 1 deletion ports/jack2/CONTROL
Original file line number Diff line number Diff line change
@@ -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

Loading

0 comments on commit bcff929

Please sign in to comment.