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:
Victor Romero 2019-05-02 22:57:43 -07:00 committed by GitHub
parent b72f36e8cd
commit 050e71d01d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
413 changed files with 2402 additions and 2793 deletions

View File

@ -1,4 +1,4 @@
Source: 3fd Source: 3fd
Version: 2.6.2-2 Version: 2.6.2-3
Description: C++ Framework For Fast Development Description: C++ Framework For Fast Development
Build-Depends: boost-lockfree (windows), boost-regex (windows), poco (windows), sqlite3, rapidxml Build-Depends: boost-lockfree (windows), boost-regex (windows), poco (windows), sqlite3, rapidxml

View File

@ -1,113 +1,105 @@
include(vcpkg_common_functions) include(vcpkg_common_functions)
# Check architecture: # Check architecture:
if (VCPKG_TARGET_ARCHITECTURE STREQUAL "x86") if (VCPKG_TARGET_ARCHITECTURE STREQUAL "x86")
set(BUILD_ARCH "Win32") set(BUILD_ARCH "Win32")
elseif (VCPKG_TARGET_ARCHITECTURE STREQUAL "x64") elseif (VCPKG_TARGET_ARCHITECTURE STREQUAL "x64")
set(BUILD_ARCH "x64") set(BUILD_ARCH "x64")
elseif (VCPKG_TARGET_ARCHITECTURE STREQUAL "arm") elseif (VCPKG_TARGET_ARCHITECTURE STREQUAL "arm")
set(BUILD_ARCH "ARM") set(BUILD_ARCH "ARM")
else() else()
message(FATAL_ERROR "Unsupported architecture: ${VCPKG_TARGET_ARCHITECTURE}") message(FATAL_ERROR "Unsupported architecture: ${VCPKG_TARGET_ARCHITECTURE}")
endif() endif()
# Check library linkage: # Check library linkage:
if (VCPKG_LIBRARY_LINKAGE STREQUAL "dynamic") vcpkg_check_linkage(ONLY_STATIC_LIBRARY ONLY_DYNAMIC_CRT)
message("3FD only supports static library linkage. Building static.")
set(VCPKG_LIBRARY_LINKAGE static) # Get source code:
endif() vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
# Check CRT linkage: REPO faburaya/3FD
if (VCPKG_CRT_LINKAGE STREQUAL "static") REF v2.6.2
message(FATAL_ERROR "3FD can only be built with dynamic linkage to CRT!") SHA512 a2444cc07d8741540c6071ac59bc8c63785db52e412a843aa18a5dfa0144b5001d428e44bcb520238e3d476440bc74526343f025005f05d534e732645f59cbe0
endif() HEAD_REF master
PATCHES
# Get source code: "${CMAKE_CURRENT_LIST_DIR}/remove-seekpos.patch"
vcpkg_from_github( "${CMAKE_CURRENT_LIST_DIR}/DataException.patch"
OUT_SOURCE_PATH SOURCE_PATH "${CMAKE_CURRENT_LIST_DIR}/RapidXML.patch"
REPO faburaya/3FD )
REF v2.6.2
SHA512 a2444cc07d8741540c6071ac59bc8c63785db52e412a843aa18a5dfa0144b5001d428e44bcb520238e3d476440bc74526343f025005f05d534e732645f59cbe0 # Copy the sources to ensure a clean, out-of-source build
HEAD_REF master file(REMOVE_RECURSE ${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-all)
PATCHES file(MAKE_DIRECTORY ${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-all)
"${CMAKE_CURRENT_LIST_DIR}/remove-seekpos.patch" file(COPY ${SOURCE_PATH} DESTINATION ${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-all)
"${CMAKE_CURRENT_LIST_DIR}/DataException.patch" get_filename_component(LAST_DIR_NAME "${SOURCE_PATH}" NAME)
"${CMAKE_CURRENT_LIST_DIR}/RapidXML.patch" set(SOURCE_PATH "${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-all/${LAST_DIR_NAME}")
)
# Build:
# Copy the sources to ensure a clean, out-of-source build if (VCPKG_CMAKE_SYSTEM_NAME STREQUAL "WindowsStore") # UWP:
file(REMOVE_RECURSE ${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-all) vcpkg_build_msbuild(
file(MAKE_DIRECTORY ${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-all) USE_VCPKG_INTEGRATION
file(COPY ${SOURCE_PATH} DESTINATION ${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-all) PROJECT_PATH ${SOURCE_PATH}/3FD/3FD.WinRT.UWP.vcxproj
get_filename_component(LAST_DIR_NAME "${SOURCE_PATH}" NAME) PLATFORM ${BUILD_ARCH}
set(SOURCE_PATH "${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-all/${LAST_DIR_NAME}") )
elseif (NOT VCPKG_CMAKE_SYSTEM_NAME) # Win32:
# Build: vcpkg_build_msbuild(
if (VCPKG_CMAKE_SYSTEM_NAME STREQUAL "WindowsStore") # UWP: USE_VCPKG_INTEGRATION
vcpkg_build_msbuild( PROJECT_PATH ${SOURCE_PATH}/3FD/3FD.vcxproj
USE_VCPKG_INTEGRATION PLATFORM ${BUILD_ARCH}
PROJECT_PATH ${SOURCE_PATH}/3FD/3FD.WinRT.UWP.vcxproj TARGET Build
PLATFORM ${BUILD_ARCH} )
) else()
elseif (NOT VCPKG_CMAKE_SYSTEM_NAME) # Win32: message(FATAL_ERROR "Unsupported system: 3FD is not currently ported to VCPKG in ${VCPKG_CMAKE_SYSTEM_NAME}!")
vcpkg_build_msbuild( endif()
USE_VCPKG_INTEGRATION
PROJECT_PATH ${SOURCE_PATH}/3FD/3FD.vcxproj # Install:
PLATFORM ${BUILD_ARCH} file(GLOB HEADER_FILES LIST_DIRECTORIES false "${SOURCE_PATH}/3FD/*.h")
TARGET Build file(INSTALL
) ${HEADER_FILES}
else() DESTINATION ${CURRENT_PACKAGES_DIR}/include/3FD
message(FATAL_ERROR "Unsupported system: 3FD is not currently ported to VCPKG in ${VCPKG_CMAKE_SYSTEM_NAME}!") PATTERN "*_impl*.h" EXCLUDE
endif() PATTERN "*example*.h" EXCLUDE
PATTERN "stdafx.h" EXCLUDE
# Install: PATTERN "targetver.h" EXCLUDE
file(GLOB HEADER_FILES LIST_DIRECTORIES false "${SOURCE_PATH}/3FD/*.h") )
file(INSTALL
${HEADER_FILES} file(INSTALL ${SOURCE_PATH}/btree DESTINATION ${CURRENT_PACKAGES_DIR}/include/3FD)
DESTINATION ${CURRENT_PACKAGES_DIR}/include/3FD file(INSTALL ${SOURCE_PATH}/OpenCL/CL DESTINATION ${CURRENT_PACKAGES_DIR}/include/3FD)
PATTERN "*_impl*.h" EXCLUDE
PATTERN "*example*.h" EXCLUDE file(MAKE_DIRECTORY ${CURRENT_PACKAGES_DIR}/share/3FD)
PATTERN "stdafx.h" EXCLUDE file(INSTALL
PATTERN "targetver.h" EXCLUDE ${SOURCE_PATH}/3FD/3fd-config-template.xml
) DESTINATION ${CURRENT_PACKAGES_DIR}/share/3FD
)
file(INSTALL ${SOURCE_PATH}/btree DESTINATION ${CURRENT_PACKAGES_DIR}/include/3FD)
file(INSTALL ${SOURCE_PATH}/OpenCL/CL DESTINATION ${CURRENT_PACKAGES_DIR}/include/3FD) if (VCPKG_CMAKE_SYSTEM_NAME STREQUAL "WindowsStore") # Visual C++, UWP app:
file(INSTALL
file(MAKE_DIRECTORY ${CURRENT_PACKAGES_DIR}/share/3FD) ${SOURCE_PATH}/3FD/${BUILD_ARCH}/Debug/3FD.WinRT.UWP/3FD.WinRT.UWP.lib
file(INSTALL ${SOURCE_PATH}/3FD/${BUILD_ARCH}/Debug/3FD.WinRT.UWP/_3FD_WinRT_UWP.pri
${SOURCE_PATH}/3FD/3fd-config-template.xml ${SOURCE_PATH}/3FD/${BUILD_ARCH}/Debug/WinRT.UWP/3FD.WinRT.UWP.pdb
DESTINATION ${CURRENT_PACKAGES_DIR}/share/3FD DESTINATION ${CURRENT_PACKAGES_DIR}/debug/lib
) )
file(INSTALL
if (VCPKG_CMAKE_SYSTEM_NAME STREQUAL "WindowsStore") # Visual C++, UWP app: ${SOURCE_PATH}/3FD/${BUILD_ARCH}/Release/3FD.WinRT.UWP/3FD.WinRT.UWP.lib
file(INSTALL ${SOURCE_PATH}/3FD/${BUILD_ARCH}/Release/3FD.WinRT.UWP/_3FD_WinRT_UWP.pri
${SOURCE_PATH}/3FD/${BUILD_ARCH}/Debug/3FD.WinRT.UWP/3FD.WinRT.UWP.lib ${SOURCE_PATH}/3FD/${BUILD_ARCH}/Release/WinRT.UWP/3FD.WinRT.UWP.pdb
${SOURCE_PATH}/3FD/${BUILD_ARCH}/Debug/3FD.WinRT.UWP/_3FD_WinRT_UWP.pri DESTINATION ${CURRENT_PACKAGES_DIR}/lib
${SOURCE_PATH}/3FD/${BUILD_ARCH}/Debug/WinRT.UWP/3FD.WinRT.UWP.pdb )
DESTINATION ${CURRENT_PACKAGES_DIR}/debug/lib else() # Visual C++, Win32 app:
) file(INSTALL
file(INSTALL ${SOURCE_PATH}/3FD/${BUILD_ARCH}/Debug/3FD.lib
${SOURCE_PATH}/3FD/${BUILD_ARCH}/Release/3FD.WinRT.UWP/3FD.WinRT.UWP.lib ${SOURCE_PATH}/3FD/${BUILD_ARCH}/Debug/3FD.pdb
${SOURCE_PATH}/3FD/${BUILD_ARCH}/Release/3FD.WinRT.UWP/_3FD_WinRT_UWP.pri DESTINATION ${CURRENT_PACKAGES_DIR}/debug/lib
${SOURCE_PATH}/3FD/${BUILD_ARCH}/Release/WinRT.UWP/3FD.WinRT.UWP.pdb )
DESTINATION ${CURRENT_PACKAGES_DIR}/lib file(INSTALL
) ${SOURCE_PATH}/3FD/${BUILD_ARCH}/Release/3FD.lib
else() # Visual C++, Win32 app: ${SOURCE_PATH}/3FD/${BUILD_ARCH}/Release/3FD.pdb
file(INSTALL DESTINATION ${CURRENT_PACKAGES_DIR}/lib
${SOURCE_PATH}/3FD/${BUILD_ARCH}/Debug/3FD.lib )
${SOURCE_PATH}/3FD/${BUILD_ARCH}/Debug/3FD.pdb endif()
DESTINATION ${CURRENT_PACKAGES_DIR}/debug/lib
) # Handle copyright
file(INSTALL file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/3fd RENAME copyright)
${SOURCE_PATH}/3FD/${BUILD_ARCH}/Release/3FD.lib file(INSTALL ${SOURCE_PATH}/Acknowledgements.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/3fd)
${SOURCE_PATH}/3FD/${BUILD_ARCH}/Release/3FD.pdb
DESTINATION ${CURRENT_PACKAGES_DIR}/lib vcpkg_copy_pdbs()
)
endif()
# Handle copyright
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/3fd RENAME copyright)
file(INSTALL ${SOURCE_PATH}/Acknowledgements.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/3fd)
vcpkg_copy_pdbs()

View File

@ -6,7 +6,6 @@ add_definitions(-DNOMINMAX -DWIN32_LEAN_AND_MEAN)
set(CMAKE_CXX_STANDARD 14) set(CMAKE_CXX_STANDARD 14)
set(CMAKE_DEBUG_POSTFIX d) set(CMAKE_DEBUG_POSTFIX d)
set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON)
if(CMAKE_BUILD_TYPE STREQUAL "Release") if(CMAKE_BUILD_TYPE STREQUAL "Release")
option(INSTALL_HEADERS "Install header files" ON) option(INSTALL_HEADERS "Install header files" ON)

View File

@ -1,5 +1,5 @@
Source: abseil Source: abseil
Version: 2019-04-19 Version: 2019-04-19-1
Description: an open-source collection designed to augment the C++ standard library. 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. 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. 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.

View File

@ -4,6 +4,8 @@ if(VCPKG_CMAKE_SYSTEM_NAME STREQUAL "WindowsStore")
message(FATAL_ERROR "Abseil currently only supports being built for desktop") message(FATAL_ERROR "Abseil currently only supports being built for desktop")
endif() endif()
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
vcpkg_from_github( vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH OUT_SOURCE_PATH SOURCE_PATH
REPO abseil/abseil-cpp REPO abseil/abseil-cpp

View File

@ -20,10 +20,6 @@ if(MSVC)
add_compile_options(/W4 -D_CRT_SECURE_NO_WARNINGS -DTARGET_OS_WIN32) add_compile_options(/W4 -D_CRT_SECURE_NO_WARNINGS -DTARGET_OS_WIN32)
endif() endif()
if(BUILD_SHARED_LIBS)
set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON)
endif()
include_directories(.) include_directories(.)
add_library(libalac_decoder ${SRCS}) add_library(libalac_decoder ${SRCS})

View File

@ -1,3 +1,3 @@
Source: alac-decoder Source: alac-decoder
Version: 0.2 Version: 0.2-1
Description: ALAC C implementation of a decoder, written from reverse engineering the file format Description: ALAC C implementation of a decoder, written from reverse engineering the file format

View File

@ -1,4 +1,7 @@
include(vcpkg_common_functions) include(vcpkg_common_functions)
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/alac_decoder) set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/alac_decoder)
vcpkg_download_distfile(ARCHIVE vcpkg_download_distfile(ARCHIVE
URLS "https://distfiles.macports.org/alac_decoder/alac_decoder-0.2.0.tgz" URLS "https://distfiles.macports.org/alac_decoder/alac_decoder-0.2.0.tgz"

View File

@ -35,10 +35,6 @@ if(MSVC)
add_compile_options(/W4 -D_CRT_SECURE_NO_WARNINGS -DTARGET_OS_WIN32) add_compile_options(/W4 -D_CRT_SECURE_NO_WARNINGS -DTARGET_OS_WIN32)
endif() endif()
if(BUILD_SHARED_LIBS)
set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON)
endif()
include_directories(. codec convert-utility) include_directories(. codec convert-utility)
add_library(libalac ${SRCS}) add_library(libalac ${SRCS})

View File

@ -1,3 +1,3 @@
Source: alac 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. Description: The Apple Lossless Audio Codec (ALAC) is a lossless audio codec developed by Apple and deployed on all of its platforms and devices.

View File

@ -3,6 +3,9 @@ if(VCPKG_CMAKE_SYSTEM_NAME STREQUAL "WindowsStore")
endif() endif()
include(vcpkg_common_functions) include(vcpkg_common_functions)
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
vcpkg_from_github( vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH OUT_SOURCE_PATH SOURCE_PATH
REPO macosforge/alac REPO macosforge/alac

View File

@ -7,10 +7,7 @@ if(BUILDTREES_PATH_LENGTH GREATER 37 AND CMAKE_HOST_WIN32)
) )
endif() endif()
if(VCPKG_LIBRARY_LINKAGE STREQUAL static) vcpkg_check_linkage(ONLY_DYNAMIC_LIBRARY)
message(STATUS "Alembic does not support static linkage. Building dynamically.")
set(VCPKG_LIBRARY_LINKAGE dynamic)
endif()
vcpkg_from_github( vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH OUT_SOURCE_PATH SOURCE_PATH

View File

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

View File

@ -1,5 +1,7 @@
include(vcpkg_common_functions) include(vcpkg_common_functions)
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
vcpkg_from_github( vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH OUT_SOURCE_PATH SOURCE_PATH
REPO miguelmartin75/anax REPO miguelmartin75/anax
@ -13,8 +15,6 @@ vcpkg_from_github(
vcpkg_configure_cmake( vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH} SOURCE_PATH ${SOURCE_PATH}
DISABLE_PARALLEL_CONFIGURE DISABLE_PARALLEL_CONFIGURE
OPTIONS
-DCMAKE_WINDOWS_EXPORT_ALL_SYMBOLS=ON
) )
vcpkg_install_cmake() vcpkg_install_cmake()
@ -25,4 +25,4 @@ file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
file(COPY ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/anax) file(COPY ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/anax)
file(RENAME ${CURRENT_PACKAGES_DIR}/share/anax/LICENSE ${CURRENT_PACKAGES_DIR}/share/anax/copyright) file(RENAME ${CURRENT_PACKAGES_DIR}/share/anax/LICENSE ${CURRENT_PACKAGES_DIR}/share/anax/copyright)
vcpkg_copy_pdbs() vcpkg_copy_pdbs()

View File

@ -1,5 +1,5 @@
Source: angle 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. 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. 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 Build-Depends: egl-registry

View File

@ -1,44 +1,41 @@
include(vcpkg_common_functions) include(vcpkg_common_functions)
if (VCPKG_TARGET_ARCHITECTURE STREQUAL "x86") vcpkg_check_linkage(ONLY_DYNAMIC_LIBRARY)
set(ANGLE_CPU_BITNESS ANGLE_IS_32_BIT_CPU)
elseif (VCPKG_TARGET_ARCHITECTURE STREQUAL "x64") if (VCPKG_TARGET_ARCHITECTURE STREQUAL "x86")
set(ANGLE_CPU_BITNESS ANGLE_IS_64_BIT_CPU) set(ANGLE_CPU_BITNESS ANGLE_IS_32_BIT_CPU)
elseif (VCPKG_TARGET_ARCHITECTURE STREQUAL "arm") elseif (VCPKG_TARGET_ARCHITECTURE STREQUAL "x64")
set(ANGLE_CPU_BITNESS ANGLE_IS_32_BIT_CPU) set(ANGLE_CPU_BITNESS ANGLE_IS_64_BIT_CPU)
else() elseif (VCPKG_TARGET_ARCHITECTURE STREQUAL "arm")
message(FATAL_ERROR "Unsupported architecture: ${VCPKG_TARGET_ARCHITECTURE}") set(ANGLE_CPU_BITNESS ANGLE_IS_32_BIT_CPU)
endif() else()
message(FATAL_ERROR "Unsupported architecture: ${VCPKG_TARGET_ARCHITECTURE}")
if(VCPKG_LIBRARY_LINKAGE STREQUAL static) endif()
message(STATUS "ANGLE currently only supports being built as a dynamic library")
set(VCPKG_LIBRARY_LINKAGE dynamic) vcpkg_from_github(
endif() OUT_SOURCE_PATH SOURCE_PATH
REPO google/angle
vcpkg_from_github( REF chromium/3672
OUT_SOURCE_PATH SOURCE_PATH SHA512 dd6a05f0f1f4544b8646c41ffcb4d5e3b41f5261771ada47889345a24d4e55e6370df55a26c354a7073efcde307644cec6c6064ea6fe498ed6b52c3017249f81
REPO google/angle PATCHES
REF chromium/3672 001-fix-uwp.patch
SHA512 dd6a05f0f1f4544b8646c41ffcb4d5e3b41f5261771ada47889345a24d4e55e6370df55a26c354a7073efcde307644cec6c6064ea6fe498ed6b52c3017249f81 )
PATCHES
001-fix-uwp.patch file(COPY ${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt DESTINATION ${SOURCE_PATH})
) file(COPY ${CMAKE_CURRENT_LIST_DIR}/commit.h DESTINATION ${SOURCE_PATH})
file(COPY ${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt DESTINATION ${SOURCE_PATH}) vcpkg_configure_cmake(
file(COPY ${CMAKE_CURRENT_LIST_DIR}/commit.h DESTINATION ${SOURCE_PATH}) SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
vcpkg_configure_cmake( OPTIONS_DEBUG -DDISABLE_INSTALL_HEADERS=1
SOURCE_PATH ${SOURCE_PATH} OPTIONS
PREFER_NINJA -D${ANGLE_CPU_BITNESS}=1
OPTIONS_DEBUG -DDISABLE_INSTALL_HEADERS=1 )
OPTIONS
-D${ANGLE_CPU_BITNESS}=1 vcpkg_install_cmake()
)
vcpkg_fixup_cmake_targets(CONFIG_PATH share/unofficial-angle TARGET_PATH share/unofficial-angle)
vcpkg_install_cmake()
vcpkg_copy_pdbs()
vcpkg_fixup_cmake_targets(CONFIG_PATH share/unofficial-angle TARGET_PATH share/unofficial-angle)
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/angle RENAME copyright)
vcpkg_copy_pdbs()
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/angle RENAME copyright)

View File

@ -55,14 +55,8 @@ include_directories(BEFORE ${DEP_INCLUDE_DIRS})
add_library(arb ${SRC}) add_library(arb ${SRC})
target_compile_definitions(arb PRIVATE HAVE_TLS=1 FLINT_REENTRANT=0) target_compile_definitions(arb PRIVATE HAVE_TLS=1 FLINT_REENTRANT=0)
if (BUILD_SHARED_LIBS) target_compile_definitions(arb PRIVATE PTW32_STATIC_LIB)
target_compile_definitions(arb PRIVATE MSC_USE_DLL) MESSAGE( STATUS "Building static libraries" )
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 "ARB_BUILD_DLL") target_compile_definitions(arb PRIVATE "ARB_BUILD_DLL")
target_link_libraries(arb ${DEPS}) target_link_libraries(arb ${DEPS})
@ -91,4 +85,3 @@ if (BUILD_TESTS)
endforeach () endforeach ()
endforeach () endforeach ()
endif () endif ()

View File

@ -1,4 +1,4 @@
Source: arb Source: arb
Version: 2.11.1 Version: 2.11.1-1
Description: a C library for arbitrary-precision interval arithmetic Description: a C library for arbitrary-precision interval arithmetic
Build-Depends: flint Build-Depends: flint

View File

@ -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) include(vcpkg_common_functions)
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
vcpkg_from_github( vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH OUT_SOURCE_PATH SOURCE_PATH
REPO fredrik-johansson/arb REPO fredrik-johansson/arb

View File

@ -1,3 +1,3 @@
Source: argtable2 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. Description: Argtable is an ANSI C library for parsing GNU style command line options with a minimum of fuss.

View File

@ -1,4 +1,7 @@
include(vcpkg_common_functions) include(vcpkg_common_functions)
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/argtable2-13) set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/argtable2-13)
vcpkg_download_distfile(ARCHIVE vcpkg_download_distfile(ARCHIVE
URLS "http://prdownloads.sourceforge.net/argtable/argtable2-13.tar.gz" URLS "http://prdownloads.sourceforge.net/argtable/argtable2-13.tar.gz"
@ -17,8 +20,6 @@ vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH} SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA PREFER_NINJA
OPTIONS OPTIONS
# Due to missing dllexport flags we export all symbols
-DCMAKE_WINDOWS_EXPORT_ALL_SYMBOLS=TRUE
-DCMAKE_DEBUG_POSTFIX=d -DCMAKE_DEBUG_POSTFIX=d
) )

View File

@ -1,29 +1,29 @@
include(vcpkg_common_functions) include(vcpkg_common_functions)
vcpkg_check_linkage(ONLY_STATIC_LIBRARY) vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
vcpkg_from_gitlab( vcpkg_from_gitlab(
GITLAB_URL https://gitlab.com GITLAB_URL https://gitlab.com
OUT_SOURCE_PATH SOURCE_PATH OUT_SOURCE_PATH SOURCE_PATH
REPO conradsnicta/armadillo-code REPO conradsnicta/armadillo-code
REF f00d3225b1c005775044369723f31cecc3cd6569 REF f00d3225b1c005775044369723f31cecc3cd6569
SHA512 ca3574edf5de8c752867403c3856ed9569fbed2ce9729585cae59be5751493c2e71121319b0a812e2ea56baada6b6f62fbc84ce6f1efb362347e5fd4141ccf1b SHA512 ca3574edf5de8c752867403c3856ed9569fbed2ce9729585cae59be5751493c2e71121319b0a812e2ea56baada6b6f62fbc84ce6f1efb362347e5fd4141ccf1b
HEAD_REF 9.400.x HEAD_REF 9.400.x
) )
vcpkg_configure_cmake( vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH} SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA PREFER_NINJA
OPTIONS OPTIONS
-DDETECT_HDF5=false -DDETECT_HDF5=false
) )
vcpkg_install_cmake() vcpkg_install_cmake()
vcpkg_fixup_cmake_targets(CONFIG_PATH share/Armadillo/CMake TARGET_PATH share/armadillo) vcpkg_fixup_cmake_targets(CONFIG_PATH share/Armadillo/CMake TARGET_PATH share/armadillo)
vcpkg_copy_pdbs() vcpkg_copy_pdbs()
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include) file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/share) file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/share)
file(INSTALL ${SOURCE_PATH}/LICENSE.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/Armadillo RENAME copyright) file(INSTALL ${SOURCE_PATH}/LICENSE.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/Armadillo RENAME copyright)

View File

@ -1,4 +1,4 @@
Source: assimp Source: assimp
Version: 4.1.0-3 Version: 4.1.0-4
Description: The Open Asset import library Description: The Open Asset import library
Build-Depends: zlib, rapidjson Build-Depends: zlib, rapidjson

View File

@ -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_C_FLAGS "${VCPKG_C_FLAGS} -D_CRT_SECURE_NO_WARNINGS")
set(VCPKG_CXX_FLAGS "${VCPKG_CXX_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( vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH} SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA PREFER_NINJA

View File

@ -1,4 +1,4 @@
Source: atk Source: atk
Version: 2.24.0-2 Version: 2.24.0-3
Description: GNOME Accessibility Toolkit Description: GNOME Accessibility Toolkit
Build-Depends: glib, gettext Build-Depends: glib, gettext

View File

@ -1,33 +1,31 @@
# ATK uses DllMain include(vcpkg_common_functions)
if (VCPKG_LIBRARY_LINKAGE STREQUAL "static" OR VCPKG_CRT_LINKAGE STREQUAL "static")
message(FATAL_ERROR "ATK only supports dynamic library and crt linkage") vcpkg_check_linkage(ONLY_DYNAMIC_LIBRARY ONLY_DYNAMIC_CRT)
endif()
set(ATK_VERSION 2.24.0)
include(vcpkg_common_functions) set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/atk-${ATK_VERSION})
set(ATK_VERSION 2.24.0) vcpkg_download_distfile(ARCHIVE
set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/atk-${ATK_VERSION}) URLS "http://ftp.gnome.org/pub/GNOME/sources/atk/2.24/atk-${ATK_VERSION}.tar.xz"
vcpkg_download_distfile(ARCHIVE FILENAME "atk-${ATK_VERSION}.tar.xz"
URLS "http://ftp.gnome.org/pub/GNOME/sources/atk/2.24/atk-${ATK_VERSION}.tar.xz" SHA512 3ae0a4d5f28d5619d465135c685161f690732053bcb70a47669c951fbf389b5d2ccc5c7c73d4ee8c5a3b2df14e2f5b082e812a215f10a79b27b412d077f5e962)
FILENAME "atk-${ATK_VERSION}.tar.xz"
SHA512 3ae0a4d5f28d5619d465135c685161f690732053bcb70a47669c951fbf389b5d2ccc5c7c73d4ee8c5a3b2df14e2f5b082e812a215f10a79b27b412d077f5e962) vcpkg_extract_source_archive(${ARCHIVE})
vcpkg_apply_patches(SOURCE_PATH ${SOURCE_PATH}/atk
vcpkg_extract_source_archive(${ARCHIVE}) PATCHES
vcpkg_apply_patches(SOURCE_PATH ${SOURCE_PATH}/atk ${CMAKE_CURRENT_LIST_DIR}/fix-encoding.patch)
PATCHES
${CMAKE_CURRENT_LIST_DIR}/fix-encoding.patch) file(COPY ${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt DESTINATION ${SOURCE_PATH})
file(COPY ${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt DESTINATION ${SOURCE_PATH}) vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
vcpkg_configure_cmake( PREFER_NINJA
SOURCE_PATH ${SOURCE_PATH} OPTIONS
PREFER_NINJA -DCMAKE_PROGRAM_PATH=${CURRENT_INSTALLED_DIR}/tools/glib
OPTIONS OPTIONS_DEBUG
-DCMAKE_PROGRAM_PATH=${CURRENT_INSTALLED_DIR}/tools/glib -DATK_SKIP_HEADERS=ON)
OPTIONS_DEBUG
-DATK_SKIP_HEADERS=ON) vcpkg_install_cmake()
vcpkg_copy_pdbs()
vcpkg_install_cmake()
vcpkg_copy_pdbs() file(COPY ${SOURCE_PATH}/COPYING DESTINATION ${CURRENT_PACKAGES_DIR}/share/atk)
file(RENAME ${CURRENT_PACKAGES_DIR}/share/atk/COPYING ${CURRENT_PACKAGES_DIR}/share/atk/copyright)
file(COPY ${SOURCE_PATH}/COPYING DESTINATION ${CURRENT_PACKAGES_DIR}/share/atk)
file(RENAME ${CURRENT_PACKAGES_DIR}/share/atk/COPYING ${CURRENT_PACKAGES_DIR}/share/atk/copyright)

View File

@ -1,4 +1,4 @@
Source: atkmm 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. 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 Build-Depends: glib, gettext, atk, glibmm

View File

@ -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) include(vcpkg_common_functions)
vcpkg_check_linkage(ONLY_DYNAMIC_LIBRARY)
set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/atkmm-2.24.2) set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/atkmm-2.24.2)
vcpkg_download_distfile(ARCHIVE vcpkg_download_distfile(ARCHIVE
URLS "http://ftp.gnome.org/pub/GNOME/sources/atkmm/2.24/atkmm-2.24.2.tar.xz" URLS "http://ftp.gnome.org/pub/GNOME/sources/atkmm/2.24/atkmm-2.24.2.tar.xz"

View File

@ -19,7 +19,6 @@ add_definitions(
-D_CRT_SECURE_NO_WARNINGS=1 -D_CRT_SECURE_NO_WARNINGS=1
) )
set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON)
set(CMAKE_DEBUG_POSTFIX d) set(CMAKE_DEBUG_POSTFIX d)
option(BUILD_TOOLS "Build and install tools" ON) option(BUILD_TOOLS "Build and install tools" ON)
@ -72,7 +71,7 @@ if(BUILD_TOOLS)
target_link_libraries(${EXAMPLE_EXEC} PRIVATE aubio) target_link_libraries(${EXAMPLE_EXEC} PRIVATE aubio)
target_compile_definitions(${EXAMPLE_EXEC} PRIVATE -DHAVE_WIN_HACKS=1) target_compile_definitions(${EXAMPLE_EXEC} PRIVATE -DHAVE_WIN_HACKS=1)
endforeach() endforeach()
# Create and add fake config.h to avoid build errors (file is generated for # Create and add fake config.h to avoid build errors (file is generated for
# cross-platform requirements in waf build-system) # cross-platform requirements in waf build-system)
file(WRITE "${CMAKE_BINARY_DIR}/config.h" "") file(WRITE "${CMAKE_BINARY_DIR}/config.h" "")
include_directories(${CMAKE_BINARY_DIR}) include_directories(${CMAKE_BINARY_DIR})

View File

@ -1,4 +1,4 @@
Source: aubio 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. 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 Build-Depends: ffmpeg, libsndfile, libogg, libflac, libvorbis, bzip2, liblzma

View File

@ -1,9 +1,12 @@
include(vcpkg_common_functions) include(vcpkg_common_functions)
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/aubio-3c230fae309e9ea3298783368dd71bae6172359a) set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/aubio-3c230fae309e9ea3298783368dd71bae6172359a)
vcpkg_from_github( vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH OUT_SOURCE_PATH SOURCE_PATH
REPO aubio/aubio REPO aubio/aubio
REF 0.4.8 REF 0.4.8
SHA512 0422ec9ceb645dd5cdb1ca8b17f552edf9197dbf9c929ca75aacfb89f092c02db8b6d2b8aec567ddc1df5b310770de77cd941b45ed74700c3d3584924f39b576 SHA512 0422ec9ceb645dd5cdb1ca8b17f552edf9197dbf9c929ca75aacfb89f092c02db8b6d2b8aec567ddc1df5b310770de77cd941b45ed74700c3d3584924f39b576
HEAD_REF master HEAD_REF master
) )

View File

@ -1,3 +1,3 @@
Source: bde 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. Description: Basic Development Environment - a set of foundational C++ libraries used at Bloomberg.

View File

@ -1,141 +1,136 @@
include(vcpkg_common_functions) include(vcpkg_common_functions)
set(BDE_VERSION 3.2.0.0)
set(BDE_TOOLS_VERSION 1.x) vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
set(CONFIGURE_COMMON_ARGS ${CONFIGURE_COMMON_ARGS} --library-type=static)
# Paths used in build
set(SOURCE_PATH_DEBUG ${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-dbg/bde-${BDE_VERSION}) set(BDE_VERSION 3.2.0.0)
set(SOURCE_PATH_RELEASE ${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-rel/bde-${BDE_VERSION}) set(BDE_TOOLS_VERSION 1.x)
# Acquire Python 2 and add it to PATH # Paths used in build
vcpkg_find_acquire_program(PYTHON2) set(SOURCE_PATH_DEBUG ${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-dbg/bde-${BDE_VERSION})
get_filename_component(PYTHON2_EXE_PATH ${PYTHON2} DIRECTORY) set(SOURCE_PATH_RELEASE ${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-rel/bde-${BDE_VERSION})
# Acquire BDE Tools and add them to PATH # Acquire Python 2 and add it to PATH
vcpkg_from_github( vcpkg_find_acquire_program(PYTHON2)
OUT_SOURCE_PATH TOOLS_PATH get_filename_component(PYTHON2_EXE_PATH ${PYTHON2} DIRECTORY)
REPO "bloomberg/bde-tools"
REF d4b1a7670829228f4ec81ecdccc598ce03ae8e80 # Acquire BDE Tools and add them to PATH
SHA512 80af734c080adb225d5369157301ae0af18e02b1912351e34d23f5f2ba4e19f9ae2b5a367923f036330c9f9afd11a90cdf12680eb3e59b4297a312a1b713f17f vcpkg_from_github(
HEAD_REF master OUT_SOURCE_PATH TOOLS_PATH
) REPO "bloomberg/bde-tools"
message(STATUS "Configure bde-tools-v${BDE_TOOLS_VERSION}") REF d4b1a7670829228f4ec81ecdccc598ce03ae8e80
if(VCPKG_CMAKE_SYSTEM_NAME) SHA512 80af734c080adb225d5369157301ae0af18e02b1912351e34d23f5f2ba4e19f9ae2b5a367923f036330c9f9afd11a90cdf12680eb3e59b4297a312a1b713f17f
set(ENV{PATH} "$ENV{PATH}:${PYTHON2_EXE_PATH}") HEAD_REF master
set(ENV{PATH} "$ENV{PATH}:${TOOLS_PATH}/bin") )
else() message(STATUS "Configure bde-tools-v${BDE_TOOLS_VERSION}")
set(ENV{PATH} "$ENV{PATH};${PYTHON2_EXE_PATH}") if(VCPKG_CMAKE_SYSTEM_NAME)
set(ENV{PATH} "$ENV{PATH};${TOOLS_PATH}/bin") set(ENV{PATH} "$ENV{PATH}:${PYTHON2_EXE_PATH}")
endif() set(ENV{PATH} "$ENV{PATH}:${TOOLS_PATH}/bin")
else()
# Acquire BDE sources set(ENV{PATH} "$ENV{PATH};${PYTHON2_EXE_PATH}")
vcpkg_from_github( set(ENV{PATH} "$ENV{PATH};${TOOLS_PATH}/bin")
OUT_SOURCE_PATH SOURCE_PATH endif()
REPO "bloomberg/bde"
REF 3720d132d0879f19b9084cca62ebc75f1f24e1a3 # Acquire BDE sources
SHA512 234ebb71997f5b7d3951584235ead10f977689cef323ae1c198629a6b1995b1481d8a1515d827c46df10209bdc66e1f3cc7780dafee9ca0ff4172be47c460d78 vcpkg_from_github(
HEAD_REF master OUT_SOURCE_PATH SOURCE_PATH
) REPO "bloomberg/bde"
REF 3720d132d0879f19b9084cca62ebc75f1f24e1a3
# Clean up previous builds SHA512 234ebb71997f5b7d3951584235ead10f977689cef323ae1c198629a6b1995b1481d8a1515d827c46df10209bdc66e1f3cc7780dafee9ca0ff4172be47c460d78
file(REMOVE_RECURSE ${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-rel HEAD_REF master
${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-dbg) )
# Identify waf executable and calculate configure args # Clean up previous builds
if(VCPKG_CMAKE_SYSTEM_NAME) file(REMOVE_RECURSE ${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-rel
set(WAF_COMMAND waf) ${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-dbg)
else()
set(WAF_COMMAND waf.bat) # Identify waf executable and calculate configure args
endif() if(VCPKG_CMAKE_SYSTEM_NAME)
set(CONFIGURE_COMMON_ARGS --use-flat-include-dir) set(WAF_COMMAND waf)
if(VCPKG_TARGET_ARCHITECTURE STREQUAL "x86") else()
set(CONFIGURE_COMMON_ARGS ${CONFIGURE_COMMON_ARGS} --abi-bits=32) set(WAF_COMMAND waf.bat)
elseif(VCPKG_TARGET_ARCHITECTURE STREQUAL "x64") endif()
set(CONFIGURE_COMMON_ARGS ${CONFIGURE_COMMON_ARGS} --abi-bits=64) set(CONFIGURE_COMMON_ARGS ${CONFIGURE_COMMON_ARGS} --use-flat-include-dir)
else() if(VCPKG_TARGET_ARCHITECTURE STREQUAL "x86")
message(FATAL_ERROR "Unsupported target architecture: ${VCPKG_TARGET_ARCHITECTURE}") set(CONFIGURE_COMMON_ARGS ${CONFIGURE_COMMON_ARGS} --abi-bits=32)
endif() elseif(VCPKG_TARGET_ARCHITECTURE STREQUAL "x64")
if(VCPKG_LIBRARY_LINKAGE STREQUAL static) set(CONFIGURE_COMMON_ARGS ${CONFIGURE_COMMON_ARGS} --abi-bits=64)
set(CONFIGURE_COMMON_ARGS ${CONFIGURE_COMMON_ARGS} --library-type=static) else()
else() message(FATAL_ERROR "Unsupported target architecture: ${VCPKG_TARGET_ARCHITECTURE}")
message(FATAL_ERROR "Unsupported library linkage: ${VCPKG_LIBRARY_LINKAGE}") endif()
endif() if(NOT VCPKG_CMAKE_SYSTEM_NAME)
if(NOT VCPKG_CMAKE_SYSTEM_NAME) set(CONFIGURE_COMMON_ARGS ${CONFIGURE_COMMON_ARGS} --msvc-runtime-type=static)
if(VCPKG_CRT_LINKAGE STREQUAL static) endif()
set(CONFIGURE_COMMON_ARGS ${CONFIGURE_COMMON_ARGS} --msvc-runtime-type=static)
else() # Configure debug
set(CONFIGURE_COMMON_ARGS ${CONFIGURE_COMMON_ARGS} --msvc-runtime-type=dynamic) message(STATUS "Configuring ${TARGET_TRIPLET}-dbg")
endif() vcpkg_execute_required_process(
endif() COMMAND ${WAF_COMMAND} configure ${CONFIGURE_COMMON_ARGS}
--prefix=${CURRENT_PACKAGES_DIR}/debug --out=${SOURCE_PATH_DEBUG}
# Configure debug --build-type=debug
message(STATUS "Configuring ${TARGET_TRIPLET}-dbg") WORKING_DIRECTORY ${SOURCE_PATH}
vcpkg_execute_required_process( LOGNAME configure-${TARGET_TRIPLET}--dbg
COMMAND ${WAF_COMMAND} configure ${CONFIGURE_COMMON_ARGS} )
--prefix=${CURRENT_PACKAGES_DIR}/debug --out=${SOURCE_PATH_DEBUG} message(STATUS "Configuring ${TARGET_TRIPLET}-dbg done")
--build-type=debug
WORKING_DIRECTORY ${SOURCE_PATH} # Build debug
LOGNAME configure-${TARGET_TRIPLET}--dbg message(STATUS "Building ${TARGET_TRIPLET}-dbg")
) vcpkg_execute_required_process(
message(STATUS "Configuring ${TARGET_TRIPLET}-dbg done") COMMAND ${WAF_COMMAND} build
WORKING_DIRECTORY ${SOURCE_PATH}
# Build debug LOGNAME build-${TARGET_TRIPLET}--dbg
message(STATUS "Building ${TARGET_TRIPLET}-dbg") )
vcpkg_execute_required_process( message(STATUS "Building ${TARGET_TRIPLET}-dbg done")
COMMAND ${WAF_COMMAND} build
WORKING_DIRECTORY ${SOURCE_PATH} # Install debug
LOGNAME build-${TARGET_TRIPLET}--dbg message(STATUS "Installing ${TARGET_TRIPLET}-dbg")
) vcpkg_execute_required_process(
message(STATUS "Building ${TARGET_TRIPLET}-dbg done") COMMAND ${WAF_COMMAND} install
WORKING_DIRECTORY ${SOURCE_PATH}
# Install debug LOGNAME install-${TARGET_TRIPLET}--dbg
message(STATUS "Installing ${TARGET_TRIPLET}-dbg") )
vcpkg_execute_required_process( # Include files should not be duplicated
COMMAND ${WAF_COMMAND} install file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
WORKING_DIRECTORY ${SOURCE_PATH} # pkg-config files should point to correct include directory
LOGNAME install-${TARGET_TRIPLET}--dbg file(GLOB PC_FILES "${CURRENT_PACKAGES_DIR}/debug/lib/pkgconfig/*.pc")
) foreach(PC_FILE_NAME ${PC_FILES})
# Include files should not be duplicated file(READ "${PC_FILE_NAME}" _contents)
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include) string(REPLACE "includedir=\${prefix}/include" "includedir=\${prefix}/../include" _contents "${_contents}")
# pkg-config files should point to correct include directory file(WRITE "${PC_FILE_NAME}" "${_contents}")
file(GLOB PC_FILES "${CURRENT_PACKAGES_DIR}/debug/lib/pkgconfig/*.pc") endforeach()
foreach(PC_FILE_NAME ${PC_FILES}) message(STATUS "Installing ${TARGET_TRIPLET}-dbg done")
file(READ "${PC_FILE_NAME}" _contents)
string(REPLACE "includedir=\${prefix}/include" "includedir=\${prefix}/../include" _contents "${_contents}") # Configure release
file(WRITE "${PC_FILE_NAME}" "${_contents}") message(STATUS "Configuring ${TARGET_TRIPLET}-rel")
endforeach() vcpkg_execute_required_process(
message(STATUS "Installing ${TARGET_TRIPLET}-dbg done") COMMAND ${WAF_COMMAND} configure ${CONFIGURE_COMMON_ARGS}
--prefix=${CURRENT_PACKAGES_DIR} --out=${SOURCE_PATH_RELEASE}
# Configure release --build-type=release
message(STATUS "Configuring ${TARGET_TRIPLET}-rel") WORKING_DIRECTORY ${SOURCE_PATH}
vcpkg_execute_required_process( LOGNAME configure-${TARGET_TRIPLET}--rel
COMMAND ${WAF_COMMAND} configure ${CONFIGURE_COMMON_ARGS} )
--prefix=${CURRENT_PACKAGES_DIR} --out=${SOURCE_PATH_RELEASE} message(STATUS "Configuring ${TARGET_TRIPLET}-rel done")
--build-type=release
WORKING_DIRECTORY ${SOURCE_PATH} # Build release
LOGNAME configure-${TARGET_TRIPLET}--rel message(STATUS "Building ${TARGET_TRIPLET}-rel")
) vcpkg_execute_required_process(
message(STATUS "Configuring ${TARGET_TRIPLET}-rel done") COMMAND ${WAF_COMMAND} build
WORKING_DIRECTORY ${SOURCE_PATH}
# Build release LOGNAME build-${TARGET_TRIPLET}--rel
message(STATUS "Building ${TARGET_TRIPLET}-rel") )
vcpkg_execute_required_process( message(STATUS "Building ${TARGET_TRIPLET}-rel done")
COMMAND ${WAF_COMMAND} build
WORKING_DIRECTORY ${SOURCE_PATH} # Install release
LOGNAME build-${TARGET_TRIPLET}--rel message(STATUS "Installing ${TARGET_TRIPLET}-rel")
) vcpkg_execute_required_process(
message(STATUS "Building ${TARGET_TRIPLET}-rel done") COMMAND ${WAF_COMMAND} install
WORKING_DIRECTORY ${SOURCE_PATH}
# Install release LOGNAME install-${TARGET_TRIPLET}--rel
message(STATUS "Installing ${TARGET_TRIPLET}-rel") )
vcpkg_execute_required_process( message(STATUS "Installing ${TARGET_TRIPLET}-rel done")
COMMAND ${WAF_COMMAND} install
WORKING_DIRECTORY ${SOURCE_PATH} # Handle copyright
LOGNAME install-${TARGET_TRIPLET}--rel file(INSTALL ${SOURCE_PATH}/LICENSE
) DESTINATION ${CURRENT_PACKAGES_DIR}/share/bde
message(STATUS "Installing ${TARGET_TRIPLET}-rel done") RENAME copyright
)
# Handle copyright
file(INSTALL ${SOURCE_PATH}/LICENSE
DESTINATION ${CURRENT_PACKAGES_DIR}/share/bde
RENAME copyright
)

View File

@ -1,3 +1,3 @@
Source: benchmark Source: benchmark
Version: 1.4.1 Version: 1.4.1-1
Description: A library to support the benchmarking of functions, similar to unit-tests. Description: A library to support the benchmarking of functions, similar to unit-tests.

View File

@ -2,13 +2,10 @@ if(VCPKG_CMAKE_SYSTEM_NAME STREQUAL "WindowsStore")
message(FATAL_ERROR "${PORT} does not currently support UWP") message(FATAL_ERROR "${PORT} does not currently support UWP")
endif() 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) include(vcpkg_common_functions)
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
vcpkg_from_github( vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH OUT_SOURCE_PATH SOURCE_PATH
REPO google/benchmark REPO google/benchmark

View File

@ -1,3 +1,3 @@
Source: bigint Source: bigint
Version: 2010.04.30-2 Version: 2010.04.30-3
Description: C++ Big Integer Library Description: C++ Big Integer Library

View File

@ -1,10 +1,6 @@
include(vcpkg_common_functions) include(vcpkg_common_functions)
if(VCPKG_LIBRARY_LINKAGE STREQUAL dynamic) vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
message(WARNING "Dynamic not supported building static")
set(VCPKG_LIBRARY_LINKAGE static)
endif()
set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/bigint-2010.04.30) set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/bigint-2010.04.30)
vcpkg_download_distfile(ARCHIVE vcpkg_download_distfile(ARCHIVE

View File

@ -1,23 +1,21 @@
cmake_minimum_required(VERSION 3.8) cmake_minimum_required(VERSION 3.8)
project(binn project(binn
VERSION 1.0 VERSION 1.0
DESCRIPTION "Binn is a binary data serialization format designed to be compact, fast and easy to use." DESCRIPTION "Binn is a binary data serialization format designed to be compact, fast and easy to use."
HOMEPAGE_URL "https://github.com/liteserver/binn" HOMEPAGE_URL "https://github.com/liteserver/binn"
) )
set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON) add_library (binn src/binn.h src/binn.c)
add_library (binn src/binn.h src/binn.c) target_include_directories(binn
PUBLIC
target_include_directories(binn ${PROJECT_SOURCE_DIR}/src
PUBLIC )
${PROJECT_SOURCE_DIR}/src
) install(
TARGETS binn
install( RUNTIME DESTINATION bin
TARGETS binn LIBRARY DESTINATION lib
RUNTIME DESTINATION bin ARCHIVE DESTINATION lib
LIBRARY DESTINATION lib )
ARCHIVE DESTINATION lib
)

View File

@ -1,3 +1,3 @@
Source: binn Source: binn
Version: 1.0 Version: 1.0
Description: Binn is a binary data serialization format designed to be compact, fast and easy to use. Description: Binn is a binary data serialization format designed to be compact, fast and easy to use.

View File

@ -1,26 +1,28 @@
include(vcpkg_common_functions) include(vcpkg_common_functions)
vcpkg_from_github( vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
OUT_SOURCE_PATH SOURCE_PATH
REPO liteserver/binn vcpkg_from_github(
REF 38019c11e582e5078436b8257887e79a33db8b28 OUT_SOURCE_PATH SOURCE_PATH
SHA512 82c7ef211154303ebb4cb991e620da520231edd224de674d4dabc42760fd7b8b6dd7be167d6c0b6c04146ea7e077b0bcff14312be909cb4ebb1ec786863d3fb4 REPO liteserver/binn
HEAD_REF master REF 38019c11e582e5078436b8257887e79a33db8b28
PATCHES SHA512 82c7ef211154303ebb4cb991e620da520231edd224de674d4dabc42760fd7b8b6dd7be167d6c0b6c04146ea7e077b0bcff14312be909cb4ebb1ec786863d3fb4
0001_fix_uwp.patch HEAD_REF master
) PATCHES
0001_fix_uwp.patch
file(COPY ${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt DESTINATION ${SOURCE_PATH}) )
file(INSTALL ${SOURCE_PATH}/src/binn.h DESTINATION ${CURRENT_PACKAGES_DIR}/include/binn) file(COPY ${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt DESTINATION ${SOURCE_PATH})
vcpkg_configure_cmake( file(INSTALL ${SOURCE_PATH}/src/binn.h DESTINATION ${CURRENT_PACKAGES_DIR}/include/binn)
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA vcpkg_configure_cmake(
) SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
vcpkg_install_cmake() )
# Handle copyright vcpkg_install_cmake()
file(COPY ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/binn)
file(RENAME ${CURRENT_PACKAGES_DIR}/share/binn/LICENSE ${CURRENT_PACKAGES_DIR}/share/binn/copyright) # Handle copyright
file(COPY ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/binn)
file(RENAME ${CURRENT_PACKAGES_DIR}/share/binn/LICENSE ${CURRENT_PACKAGES_DIR}/share/binn/copyright)

View File

@ -1,5 +1,5 @@
Source: bond Source: bond
Maintainer: bond@microsoft.com 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> 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 Build-Depends: rapidjson, boost-config, boost-utility, boost-assign

View File

@ -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) include(vcpkg_common_functions)
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/bond-7.0.2) set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/bond-7.0.2)
vcpkg_download_distfile(ARCHIVE vcpkg_download_distfile(ARCHIVE

View File

@ -1,3 +1,3 @@
Source: box2d 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. Description: Box2D (http://box2d.org) is an open source C++ engine for simulating rigid bodies in 2D.

View File

@ -1,9 +1,6 @@
include(vcpkg_common_functions) include(vcpkg_common_functions)
if(VCPKG_LIBRARY_LINKAGE STREQUAL "dynamic") vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
message("Box2D only supports building as a static library")
set(VCPKG_LIBRARY_LINKAGE "static")
endif()
vcpkg_from_github( vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH OUT_SOURCE_PATH SOURCE_PATH

View File

@ -1,3 +1,3 @@
Source: bullet3 Source: bullet3
Version: 2.87 Version: 2.87-1
Description: Bullet Physics is a professional collision detection, rigid body, and soft body dynamics library Description: Bullet Physics is a professional collision detection, rigid body, and soft body dynamics library

View File

@ -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) include(vcpkg_common_functions)
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
vcpkg_from_github( vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH OUT_SOURCE_PATH SOURCE_PATH
REPO bulletphysics/bullet3 REPO bulletphysics/bullet3
@ -22,7 +13,6 @@ vcpkg_from_github(
vcpkg_configure_cmake( vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH} SOURCE_PATH ${SOURCE_PATH}
OPTIONS OPTIONS
-DCMAKE_WINDOWS_EXPORT_ALL_SYMBOLS=ON
-DUSE_MSVC_RUNTIME_LIBRARY_DLL=ON -DUSE_MSVC_RUNTIME_LIBRARY_DLL=ON
-DBUILD_DEMOS=OFF -DBUILD_DEMOS=OFF
-DBUILD_CPU_DEMOS=OFF -DBUILD_CPU_DEMOS=OFF
@ -30,7 +20,6 @@ vcpkg_configure_cmake(
-DBUILD_BULLET3=OFF -DBUILD_BULLET3=OFF
-DBUILD_EXTRAS=OFF -DBUILD_EXTRAS=OFF
-DBUILD_UNIT_TESTS=OFF -DBUILD_UNIT_TESTS=OFF
-DBUILD_SHARED_LIBS=ON
-DINSTALL_LIBS=ON -DINSTALL_LIBS=ON
) )
@ -44,4 +33,4 @@ file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/include/bullet/BulletInverseDynamics
vcpkg_copy_pdbs() vcpkg_copy_pdbs()
# Handle copyright # Handle copyright
file(INSTALL ${SOURCE_PATH}/LICENSE.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/bullet3 RENAME copyright) file(INSTALL ${SOURCE_PATH}/LICENSE.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/bullet3 RENAME copyright)

View File

@ -1,7 +1,6 @@
cmake_minimum_required(VERSION 3.8.0) cmake_minimum_required(VERSION 3.8.0)
project(butteraugli CXX) project(butteraugli CXX)
set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON)
add_compile_options(-D_CRT_SECURE_NO_WARNINGS -DNOMINMAX) add_compile_options(-D_CRT_SECURE_NO_WARNINGS -DNOMINMAX)
if(MSVC) if(MSVC)
add_compile_options(/W3 /wd4005 /wd4996 /wd4018) add_compile_options(/W3 /wd4005 /wd4996 /wd4018)

View File

@ -1,4 +1,4 @@
Source: butteraugli Source: butteraugli
Version: 2018-02-25 Version: 2018-02-25-1
Description: butteraugli estimates the psychovisual difference between two images Description: butteraugli estimates the psychovisual difference between two images
Build-Depends: libpng, libjpeg-turbo Build-Depends: libpng, libjpeg-turbo

View File

@ -1,5 +1,7 @@
include(vcpkg_common_functions) include(vcpkg_common_functions)
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
vcpkg_from_github( vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH OUT_SOURCE_PATH SOURCE_PATH
REPO google/butteraugli REPO google/butteraugli

View File

@ -1,4 +1,4 @@
Source: caf Source: caf
Version: 0.16.2 Version: 0.16.2-1
Build-Depends: openssl 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. Description: an open source C++11 actor model implementation featuring lightweight & fast actor implementations, pattern matching for messages, network transparent messaging, and more.

View File

@ -1,9 +1,6 @@
include(vcpkg_common_functions) include(vcpkg_common_functions)
if(VCPKG_LIBRARY_LINKAGE STREQUAL "dynamic") vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
set(VCPKG_LIBRARY_LINKAGE "static")
message("CAF only supports static library linkage")
endif()
vcpkg_from_github( vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH OUT_SOURCE_PATH SOURCE_PATH

View File

@ -1,4 +1,4 @@
Source: caffe2 Source: caffe2
Version: 0.8.1-2 Version: 0.8.1-3
Build-Depends: lmdb, gflags, glog, eigen3, protobuf Build-Depends: lmdb, gflags, glog, eigen3, protobuf
Description: Caffe2 is a lightweight, modular, and scalable deep learning framework. Description: Caffe2 is a lightweight, modular, and scalable deep learning framework.

View File

@ -1,14 +1,11 @@
if (VCPKG_LIBRARY_LINKAGE STREQUAL dynamic) include(vcpkg_common_functions)
message(STATUS "Warning: Dynamic building not supported yet. Building static.")
set(VCPKG_LIBRARY_LINKAGE static) vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
endif()
if (VCPKG_TARGET_ARCHITECTURE STREQUAL x86) if (VCPKG_TARGET_ARCHITECTURE STREQUAL x86)
message(FATAL_ERROR "Caffe2 cannot be built for the x86 architecture") message(FATAL_ERROR "Caffe2 cannot be built for the x86 architecture")
endif() endif()
include(vcpkg_common_functions)
vcpkg_from_github( vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH OUT_SOURCE_PATH SOURCE_PATH
REPO caffe2/caffe2 REPO caffe2/caffe2
@ -36,7 +33,6 @@ vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH} SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA PREFER_NINJA
OPTIONS OPTIONS
-DBUILD_SHARED_LIBS=OFF
# Set to ON to use python # Set to ON to use python
-DBUILD_PYTHON=OFF -DBUILD_PYTHON=OFF
-DUSE_STATIC_RUNTIME=${USE_STATIC_RUNTIME} -DUSE_STATIC_RUNTIME=${USE_STATIC_RUNTIME}

View File

@ -6,8 +6,6 @@ set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/build/cmake")
set(CMAKE_CXX_STANDARD 11) set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD_REQUIRED ON) set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON)
#get cairomm version #get cairomm version
file (STRINGS "configure.ac" CONFIGURE_AC_INIT REGEX "AC_INIT\\(\\[cairomm\\], \\[.*\\].*" ) 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}) string(REGEX REPLACE "AC_INIT\\(\\[.*\\], \\[([0-9]+\\.[0-9]+\\.[0-9]+)\\].*" "\\1" VERSION ${CONFIGURE_AC_INIT})

View File

@ -1,4 +1,4 @@
Source: cairomm Source: cairomm
Version: 1.15.3-2 Version: 1.15.3-3
Description: A C++ wrapper for the cairo graphics library Description: A C++ wrapper for the cairo graphics library
Build-Depends: cairo, libsigcpp Build-Depends: cairo, libsigcpp

View File

@ -1,5 +1,7 @@
include(vcpkg_common_functions) include(vcpkg_common_functions)
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
set(CAIROMM_VERSION 1.15.3) set(CAIROMM_VERSION 1.15.3)
set(CAIROMM_HASH a2c28786dbd167179561d8f580eeb11d10634a36dfdb1adeefc0279acf83ee906f01f264cb924845fc4ab98da1afac71e1ead742f283c1a32368ca9af28e464a) set(CAIROMM_HASH a2c28786dbd167179561d8f580eeb11d10634a36dfdb1adeefc0279acf83ee906f01f264cb924845fc4ab98da1afac71e1ead742f283c1a32368ca9af28e464a)
set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/cairomm-${CAIROMM_VERSION}) set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/cairomm-${CAIROMM_VERSION})

View File

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

View File

@ -3,16 +3,13 @@ if(VCPKG_CMAKE_SYSTEM_NAME STREQUAL WindowsStore)
endif() endif()
if(DEFINED VCPKG_CMAKE_SYSTEM_NAME) 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") message(FATAL_ERROR "Error: CapnProto only build on Windows for now. See #5630 and #5635")
endif() 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) include(vcpkg_common_functions)
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
vcpkg_from_github( vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH OUT_SOURCE_PATH SOURCE_PATH
REPO capnproto/capnproto REPO capnproto/capnproto

View File

@ -1,4 +1,4 @@
Source: cartographer Source: cartographer
Version: 0.3.0-5 Version: 0.3.0-6
Build-Depends: ceres[eigensparse], gflags, glog, lua, cairo, boost-iostreams, gtest, protobuf Build-Depends: ceres[eigensparse], gflags, glog, lua, cairo, boost-iostreams, gtest, protobuf
Description: Google 2D & 3D SLAM package Description: Google 2D & 3D SLAM package

View File

@ -1,5 +1,7 @@
include(vcpkg_common_functions) include(vcpkg_common_functions)
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
vcpkg_from_github( vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH OUT_SOURCE_PATH SOURCE_PATH
REPO googlecartographer/cartographer REPO googlecartographer/cartographer
@ -15,11 +17,10 @@ vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH} SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA PREFER_NINJA
OPTIONS OPTIONS
-DGFLAGS_PREFER_EXPORTED_GFLAGS_CMAKE_CONFIGURATION=OFF -DGFLAGS_PREFER_EXPORTED_GFLAGS_CMAKE_CONFIGURATION=OFF
-DGLOG_PREFER_EXPORTED_GLOG_CMAKE_CONFIGURATION=OFF -DGLOG_PREFER_EXPORTED_GLOG_CMAKE_CONFIGURATION=OFF
-Dgtest_disable_pthreads=ON -Dgtest_disable_pthreads=ON
-DCMAKE_USE_PTHREADS_INIT=OFF -DCMAKE_USE_PTHREADS_INIT=OFF
-DCMAKE_WINDOWS_EXPORT_ALL_SYMBOLS=ON
OPTIONS_DEBUG OPTIONS_DEBUG
-DFORCE_DEBUG_BUILD=True -DFORCE_DEBUG_BUILD=True
) )

View File

@ -4,7 +4,6 @@ project(cctz CXX)
set(CMAKE_CXX_STANDARD 14) set(CMAKE_CXX_STANDARD 14)
set(CMAKE_DEBUG_POSTFIX d) set(CMAKE_DEBUG_POSTFIX d)
set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON)
if(CMAKE_BUILD_TYPE STREQUAL "Release") if(CMAKE_BUILD_TYPE STREQUAL "Release")
option(INSTALL_HEADERS "Install header files" ON) option(INSTALL_HEADERS "Install header files" ON)

View File

@ -1,4 +1,4 @@
Source: cctz Source: cctz
Version: 2.3 Version: 2.3-2
Build-Depends: benchmark 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. 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.

View File

@ -3,6 +3,9 @@ if(VCPKG_CMAKE_SYSTEM_NAME STREQUAL "WindowsStore")
endif() endif()
include(vcpkg_common_functions) include(vcpkg_common_functions)
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
vcpkg_from_github( vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH OUT_SOURCE_PATH SOURCE_PATH
REPO google/cctz REPO google/cctz

View File

@ -1,3 +1,3 @@
Source: cgicc 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 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

@ -1,9 +1,8 @@
include(vcpkg_common_functions) include(vcpkg_common_functions)
if (VCPKG_LIBRARY_LINKAGE STREQUAL dynamic)
message(WARNING "Warning: Dynamic building not supported. Building static.") vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
set(VCPKG_LIBRARY_LINKAGE static)
endif()
set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/cgicc-3.2.19) set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/cgicc-3.2.19)
vcpkg_download_distfile(ARCHIVE vcpkg_download_distfile(ARCHIVE
URLS "http://ftp.gnu.org/gnu/cgicc/cgicc-3.2.19.tar.gz" URLS "http://ftp.gnu.org/gnu/cgicc/cgicc-3.2.19.tar.gz"

View File

@ -1,3 +1,3 @@
Source: chmlib 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. 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.

View File

@ -1,20 +1,18 @@
if (VCPKG_LIBRARY_LINKAGE STREQUAL dynamic) include(vcpkg_common_functions)
message(STATUS "Warning: Dynamic building not supported. Building static.")
set(VCPKG_LIBRARY_LINKAGE static) vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
endif()
set(CHMLIB_VERSION chmlib-0.40) set(CHMLIB_VERSION chmlib-0.40)
set(CHMLIB_FILENAME ${CHMLIB_VERSION}.zip) set(CHMLIB_FILENAME ${CHMLIB_VERSION}.zip)
set(CHMLIB_URL http://www.jedrea.com/chmlib/${CHMLIB_FILENAME}) set(CHMLIB_URL http://www.jedrea.com/chmlib/${CHMLIB_FILENAME})
set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/${CHMLIB_VERSION}) set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/${CHMLIB_VERSION})
include(vcpkg_common_functions)
vcpkg_download_distfile( vcpkg_download_distfile(
ARCHIVE ARCHIVE
URLS ${CHMLIB_URL} URLS ${CHMLIB_URL}
FILENAME ${CHMLIB_FILENAME} FILENAME ${CHMLIB_FILENAME}
SHA512 ad3b0d49fcf99e724c0c38b9c842bae9508d0e4ad47122b0f489c113160f5344223d311abb79f25cbb0b662bb00e2925d338d60dd20a0c309bda2822cda4cd24 SHA512 ad3b0d49fcf99e724c0c38b9c842bae9508d0e4ad47122b0f489c113160f5344223d311abb79f25cbb0b662bb00e2925d338d60dd20a0c309bda2822cda4cd24
) )
vcpkg_extract_source_archive(${ARCHIVE}) vcpkg_extract_source_archive(${ARCHIVE})
file(COPY ${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt DESTINATION ${SOURCE_PATH}) file(COPY ${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt DESTINATION ${SOURCE_PATH})

View File

@ -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_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/lib)
set(CMAKE_ARCHIVE_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") 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) if(MSVC)
set( set(
CMAKE_CXX_FLAGS CMAKE_CXX_FLAGS
@ -35,8 +33,6 @@ set_property(GLOBAL PROPERTY USE_FOLDERS ON)
# options # options
option(BUILD_SHARED_LIBS "" ON) option(BUILD_SHARED_LIBS "" ON)
#
# install
# #
# Introduce variables: * CMAKE_INSTALL_LIBDIR * CMAKE_INSTALL_BINDIR # Introduce variables: * CMAKE_INSTALL_LIBDIR * CMAKE_INSTALL_BINDIR
include(GNUInstallDirs) include(GNUInstallDirs)

View File

@ -1,4 +1,4 @@
Source: clp 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. 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 Build-Depends: coinutils, osi

View File

@ -1,46 +1,26 @@
# Common Ambient Variables: include(vcpkg_common_functions)
# CURRENT_BUILDTREES_DIR = ${VCPKG_ROOT_DIR}\buildtrees\${PORT}
# CURRENT_PACKAGES_DIR = ${VCPKG_ROOT_DIR}\packages\${PORT}_${TARGET_TRIPLET} vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
# CURRENT_PORT_DIR = ${VCPKG_ROOT_DIR}\ports\${PORT}
# PORT = current port name (zlib, etc) vcpkg_from_github(
# TARGET_TRIPLET = current triplet (x86-windows, x64-windows-static, etc) OUT_SOURCE_PATH SOURCE_PATH
# VCPKG_CRT_LINKAGE = C runtime linkage type (static, dynamic) REPO coin-or/Clp
# VCPKG_LIBRARY_LINKAGE = target library linkage type (static, dynamic) REF releases/1.16.11
# VCPKG_ROOT_DIR = <C:\path\to\current\vcpkg> SHA512 4291ab6c4985491c100fab265ebeace88623a691f87890ed7b9240b4b1111fb55043be4e0f226cfa0e565f593f4df4c3661c570a39189f17f48b6f710a10fffe
# VCPKG_TARGET_ARCHITECTURE = target architecture (x64, x86, arm) )
#
file(COPY ${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt DESTINATION ${SOURCE_PATH})
include(vcpkg_common_functions) file(COPY ${CMAKE_CURRENT_LIST_DIR}/Config.cmake.in DESTINATION ${SOURCE_PATH})
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH vcpkg_configure_cmake(
REPO coin-or/Clp SOURCE_PATH ${SOURCE_PATH}
REF releases/1.16.11 PREFER_NINJA
SHA512 4291ab6c4985491c100fab265ebeace88623a691f87890ed7b9240b4b1111fb55043be4e0f226cfa0e565f593f4df4c3661c570a39189f17f48b6f710a10fffe )
)
vcpkg_install_cmake()
file(COPY ${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt DESTINATION ${SOURCE_PATH}) vcpkg_copy_pdbs()
file(COPY ${CMAKE_CURRENT_LIST_DIR}/Config.cmake.in DESTINATION ${SOURCE_PATH}) file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
vcpkg_fixup_cmake_targets(CONFIG_PATH "lib/cmake/Clp")
if(VCPKG_LIBRARY_LINKAGE STREQUAL "dynamic")
set(BUILD_SHARED_LIBS ON) # Handle copyright
else() file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/clp RENAME copyright)
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}
)
vcpkg_install_cmake()
vcpkg_copy_pdbs()
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
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)

View File

@ -1,3 +1,3 @@
Source: cmark Source: cmark
Version: 0.28.3-2 Version: 0.28.3-3
Description: CommonMark parsing and rendering library Description: CommonMark parsing and rendering library

View File

@ -1,9 +1,6 @@
include(vcpkg_common_functions) include(vcpkg_common_functions)
if(VCPKG_LIBRARY_LINKAGE STREQUAL "static") vcpkg_check_linkage(ONLY_DYNAMIC_LIBRARY)
# 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_from_github( vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH OUT_SOURCE_PATH SOURCE_PATH

View File

@ -1,111 +1,109 @@
cmake_minimum_required(VERSION 3.11) cmake_minimum_required(VERSION 3.11)
project(CoinUtils LANGUAGES C CXX) project(CoinUtils LANGUAGES C CXX)
set(PROJECT_VERSION 2.10.14) set(PROJECT_VERSION 2.10.14)
set(PROJECT_VERSION_MAJOR 2) set(PROJECT_VERSION_MAJOR 2)
set(PROJECT_VERSION_MINOR 10) set(PROJECT_VERSION_MINOR 10)
set(PROJECT_VERSION_PATCH 14) set(PROJECT_VERSION_PATCH 14)
set(CMAKE_CXX_STANDARD 14) set(CMAKE_CXX_STANDARD 14)
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/bin) set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/bin)
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/lib) set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/lib)
set(CMAKE_ARCHIVE_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") 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) if(MSVC)
endif(BUILD_SHARED_LIBS AND MSVC) set(
if(MSVC) CMAKE_CXX_FLAGS
set( "${CMAKE_CXX_FLAGS} /bigobj /MP /wd4996 /wd4819 /wd4251 /wd4267 /wd4244 /wd4275"
CMAKE_CXX_FLAGS )
"${CMAKE_CXX_FLAGS} /bigobj /MP /wd4996 /wd4819 /wd4251 /wd4267 /wd4244 /wd4275" endif(MSVC)
) if(APPLE)
endif(MSVC) set(
if(APPLE) CMAKE_CXX_FLAGS
set( "${CMAKE_CXX_FLAGS} -Wno-inconsistent-missing-override -Wno-unused-command-line-argument -Wno-unused-result -Wno-exceptions"
CMAKE_CXX_FLAGS )
"${CMAKE_CXX_FLAGS} -Wno-inconsistent-missing-override -Wno-unused-command-line-argument -Wno-unused-result -Wno-exceptions" set(CMAKE_OSX_DEPLOYMENT_TARGET "10.9"
) CACHE STRING "Minimum OS X deployment version")
set(CMAKE_OSX_DEPLOYMENT_TARGET "10.9" endif(APPLE)
CACHE STRING "Minimum OS X deployment version")
endif(APPLE) set_property(GLOBAL PROPERTY USE_FOLDERS ON)
set_property(GLOBAL PROPERTY USE_FOLDERS ON) # options
option(BUILD_SHARED_LIBS "" ON)
# options
option(BUILD_SHARED_LIBS "" ON) #
# install
# #
# install # Introduce variables: * CMAKE_INSTALL_LIBDIR * CMAKE_INSTALL_BINDIR
# include(GNUInstallDirs)
# Introduce variables: * CMAKE_INSTALL_LIBDIR * CMAKE_INSTALL_BINDIR
include(GNUInstallDirs) # Include module with fuction 'write_basic_package_version_file'
include(CMakePackageConfigHelpers)
# Include module with fuction 'write_basic_package_version_file'
include(CMakePackageConfigHelpers) # Layout. This works for all platforms: * <prefix>/lib*/cmake/<PROJECT-NAME> *
# <prefix>/lib*/ * <prefix>/include/
# Layout. This works for all platforms: * <prefix>/lib*/cmake/<PROJECT-NAME> * set(config_install_dir "${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME}")
# <prefix>/lib*/ * <prefix>/include/ set(generated_dir "${CMAKE_CURRENT_BINARY_DIR}/generated")
set(config_install_dir "${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME}") # Configuration
set(generated_dir "${CMAKE_CURRENT_BINARY_DIR}/generated") set(version_config "${generated_dir}/${PROJECT_NAME}ConfigVersion.cmake")
# Configuration set(project_config "${generated_dir}/${PROJECT_NAME}Config.cmake")
set(version_config "${generated_dir}/${PROJECT_NAME}ConfigVersion.cmake") set(TARGETS_EXPORT_NAME "${PROJECT_NAME}Targets")
set(project_config "${generated_dir}/${PROJECT_NAME}Config.cmake") set(namespace "Coin::")
set(TARGETS_EXPORT_NAME "${PROJECT_NAME}Targets")
set(namespace "Coin::") #
# Add sources
# #
# Add sources include_directories(CoinUtils/src)
#
include_directories(CoinUtils/src) file(GLOB UTILS_SOURCES
CoinUtils/src/*.hpp
file(GLOB UTILS_SOURCES CoinUtils/src/*.cpp
CoinUtils/src/*.hpp CoinUtils/src/*.h)
CoinUtils/src/*.cpp add_library(${PROJECT_NAME} ${UTILS_SOURCES})
CoinUtils/src/*.h)
add_library(${PROJECT_NAME} ${UTILS_SOURCES}) target_include_directories(${PROJECT_NAME}
PUBLIC $<INSTALL_INTERFACE:include/coin>)
target_include_directories(${PROJECT_NAME} target_compile_definitions(${PROJECT_NAME}
PUBLIC $<INSTALL_INTERFACE:include/coin>) PUBLIC
target_compile_definitions(${PROJECT_NAME} $<INSTALL_INTERFACE:-DHAVE_CMATH>
PUBLIC $<INSTALL_INTERFACE:-D_CRT_SECURE_NO_WARNINGS>)
$<INSTALL_INTERFACE:-DHAVE_CMATH>
$<INSTALL_INTERFACE:-D_CRT_SECURE_NO_WARNINGS>) install(TARGETS ${PROJECT_NAME}
EXPORT "${TARGETS_EXPORT_NAME}"
install(TARGETS ${PROJECT_NAME} LIBRARY DESTINATION lib
EXPORT "${TARGETS_EXPORT_NAME}" ARCHIVE DESTINATION lib
LIBRARY DESTINATION lib RUNTIME DESTINATION bin
ARCHIVE DESTINATION lib INCLUDES
RUNTIME DESTINATION bin DESTINATION include)
INCLUDES
DESTINATION include) install(DIRECTORY CoinUtils/src/
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/coin
install(DIRECTORY CoinUtils/src/ FILES_MATCHING
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/coin PATTERN "*.h"
FILES_MATCHING PATTERN "*.hpp")
PATTERN "*.h"
PATTERN "*.hpp") #
# Install Libraries
# #
# Install Libraries # Configure '<PROJECT-NAME>ConfigVersion.cmake' Use: * PROJECT_VERSION
# write_basic_package_version_file("${version_config}"
# Configure '<PROJECT-NAME>ConfigVersion.cmake' Use: * PROJECT_VERSION COMPATIBILITY SameMajorVersion)
write_basic_package_version_file("${version_config}"
COMPATIBILITY SameMajorVersion) # Configure '<PROJECT-NAME>Config.cmake' Use variables: * TARGETS_EXPORT_NAME *
# PROJECT_NAME
# Configure '<PROJECT-NAME>Config.cmake' Use variables: * TARGETS_EXPORT_NAME * configure_package_config_file("Config.cmake.in"
# PROJECT_NAME "${project_config}"
configure_package_config_file("Config.cmake.in" INSTALL_DESTINATION
"${project_config}" "${config_install_dir}")
INSTALL_DESTINATION
"${config_install_dir}") # Config * <prefix>/lib/cmake/Foo/FooConfig.cmake *
# <prefix>/lib/cmake/Foo/FooConfigVersion.cmake
# Config * <prefix>/lib/cmake/Foo/FooConfig.cmake * install(FILES "${project_config}" "${version_config}"
# <prefix>/lib/cmake/Foo/FooConfigVersion.cmake DESTINATION "${config_install_dir}")
install(FILES "${project_config}" "${version_config}"
DESTINATION "${config_install_dir}") # Config * <prefix>/lib/cmake/Foo/FooTargets.cmake
install(EXPORT "${TARGETS_EXPORT_NAME}"
# Config * <prefix>/lib/cmake/Foo/FooTargets.cmake NAMESPACE "${namespace}"
install(EXPORT "${TARGETS_EXPORT_NAME}" DESTINATION "${config_install_dir}")
NAMESPACE "${namespace}"
DESTINATION "${config_install_dir}")

View File

@ -1,3 +1,3 @@
Source: coinutils 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 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

View File

@ -1,5 +1,5 @@
@PACKAGE_INIT@ @PACKAGE_INIT@
include("${CMAKE_CURRENT_LIST_DIR}/@TARGETS_EXPORT_NAME@.cmake") include("${CMAKE_CURRENT_LIST_DIR}/@TARGETS_EXPORT_NAME@.cmake")
check_required_components("@PROJECT_NAME@") check_required_components("@PROJECT_NAME@")

View File

@ -1,49 +1,28 @@
# Common Ambient Variables: include(vcpkg_common_functions)
# CURRENT_BUILDTREES_DIR = ${VCPKG_ROOT_DIR}\buildtrees\${PORT}
# CURRENT_PACKAGES_DIR = ${VCPKG_ROOT_DIR}\packages\${PORT}_${TARGET_TRIPLET} vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
# CURRENT_PORT_DIR = ${VCPKG_ROOT_DIR}\ports\${PORT}
# PORT = current port name (zlib, etc) vcpkg_from_github(
# TARGET_TRIPLET = current triplet (x86-windows, x64-windows-static, etc) OUT_SOURCE_PATH SOURCE_PATH
# VCPKG_CRT_LINKAGE = C runtime linkage type (static, dynamic) REPO coin-or/CoinUtils
# VCPKG_LIBRARY_LINKAGE = target library linkage type (static, dynamic) REF releases/2.10.14
# VCPKG_ROOT_DIR = <C:\path\to\current\vcpkg> SHA512 2d5108e096f126cf98750a4892ca4d946d0bad41b65f29001c116c5ad15aa4900c3091d163fa16b6a55f0518344c6681ad95bbc6efa431c77aaaaa751494c48b
# VCPKG_TARGET_ARCHITECTURE = target architecture (x64, x86, arm) )
#
file(COPY ${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt DESTINATION ${SOURCE_PATH})
include(vcpkg_common_functions) file(COPY ${CMAKE_CURRENT_LIST_DIR}/Config.cmake.in DESTINATION ${SOURCE_PATH})
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH vcpkg_configure_cmake(
REPO coin-or/CoinUtils SOURCE_PATH ${SOURCE_PATH}
REF releases/2.10.14 PREFER_NINJA
SHA512 2d5108e096f126cf98750a4892ca4d946d0bad41b65f29001c116c5ad15aa4900c3091d163fa16b6a55f0518344c6681ad95bbc6efa431c77aaaaa751494c48b )
)
vcpkg_install_cmake()
file(COPY ${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt DESTINATION ${SOURCE_PATH}) vcpkg_copy_pdbs()
file(COPY ${CMAKE_CURRENT_LIST_DIR}/Config.cmake.in DESTINATION ${SOURCE_PATH})
if(VCPKG_LIBRARY_LINKAGE STREQUAL "dynamic") vcpkg_fixup_cmake_targets(CONFIG_PATH "lib/cmake/CoinUtils")
set(VCPKG_LIBRARY_LINKAGE static)
endif() file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
# Handle copyright
vcpkg_configure_cmake( file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/coinutils RENAME copyright)
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
)
vcpkg_install_cmake()
vcpkg_copy_pdbs()
vcpkg_fixup_cmake_targets(CONFIG_PATH "lib/cmake/CoinUtils")
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)

View File

@ -1,3 +1,3 @@
Source: constexpr Source: constexpr
Version: 1.0 Version: 1.0-1
Description: Small MIT License Library of general stdlib functions written as C++11 constexpr functions. Description: Small MIT License Library of general stdlib functions written as C++11 constexpr functions.

View File

@ -1,12 +1,13 @@
#header-only library #header-only library
include(vcpkg_common_functions) include(vcpkg_common_functions)
set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/constexpr-a98b1db39c909e0130d21d3910d4faf97035a625)
vcpkg_download_distfile(ARCHIVE vcpkg_from_github(
URLS "https://github.com/elbeno/constexpr/archive/a98b1db39c909e0130d21d3910d4faf97035a625.zip" OUT_SOURCE_PATH SOURCE_PATH
FILENAME "constexpr-a98b1db39c909e0130d21d3910d4faf97035a625.zip" REPO elbeno/constexpr
SHA512 847e09f9df30cb5fbd8aa280679ff359d73c9e9454ffe3090f66975a15665080629e9a664d057f039b17430d42b5e5f5f3f92831e73c15024060991090209c2e REF a98b1db39c909e0130d21d3910d4faf97035a625
SHA512 8802ee43b510ea1f0c00949eecd84eb2bf3ac721802e6bc6755db9e6e2742d8b97fef427eca7d4d9a282c60a18ca10401386022eac995bd22624f45e3fc2c370
HEAD_REF master
) )
vcpkg_extract_source_archive(${ARCHIVE})
# Put the licence file where vcpkg expects it # Put the licence file where vcpkg expects it
file(COPY ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/constexpr/LICENSE) file(COPY ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/constexpr/LICENSE)

View File

@ -1,4 +1,4 @@
Source: coroutine Source: coroutine
Version: 1.4.1 Version: 1.4.1-1
Build-Depends: ms-gsl Build-Depends: ms-gsl
Description: C++ coroutine helper/example library Description: C++ coroutine helper/example library

View File

@ -14,23 +14,16 @@ vcpkg_from_github(
) )
# package: 'ms-gsl' # package: 'ms-gsl'
set(GSL_INCLUDE_DIR ${CURRENT_INSTALLED_DIR}/include set(GSL_INCLUDE_DIR ${CURRENT_INSTALLED_DIR}/include
CACHE PATH "path to include C++ core guideline support library" FORCE) CACHE PATH "path to include C++ core guideline support library" FORCE)
message(STATUS "Using ms-gsl at ${GSL_INCLUDE_DIR}") 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( vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH} SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA PREFER_NINJA
OPTIONS OPTIONS
-DGSL_INCLUDE_DIR=${GSL_INCLUDE_DIR} -DGSL_INCLUDE_DIR=${GSL_INCLUDE_DIR}
-DTEST_DISABLED=True -DTEST_DISABLED=True
-DBUILD_SHARED_LIBS=${DLL_LINKAGE}
) )
vcpkg_install_cmake() vcpkg_install_cmake()
@ -44,6 +37,3 @@ file(
# removed duplicates in debug # removed duplicates in debug
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include) file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/share) file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/share)
# unset used variables
unset(DLL_LINKAGE)

View File

@ -1,4 +1,4 @@
Source: cpp-redis Source: cpp-redis
Version: 4.3.1 Version: 4.3.1-1
Build-Depends: tacopie Build-Depends: tacopie
Description: cpp-redis is a C++11 Asynchronous Multi-Platform Lightweight Redis Client, with support for synchronous operations and pipelining. Description: cpp-redis is a C++11 Asynchronous Multi-Platform Lightweight Redis Client, with support for synchronous operations and pipelining.

View File

@ -1,5 +1,7 @@
include(vcpkg_common_functions) include(vcpkg_common_functions)
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
vcpkg_from_github( vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH OUT_SOURCE_PATH SOURCE_PATH
REPO Cylix/cpp_redis REPO Cylix/cpp_redis
@ -27,7 +29,6 @@ vcpkg_configure_cmake(
PREFER_NINJA PREFER_NINJA
OPTIONS OPTIONS
-DMSVC_RUNTIME_LIBRARY_CONFIG=${MSVC_RUNTIME_LIBRARY_CONFIG} -DMSVC_RUNTIME_LIBRARY_CONFIG=${MSVC_RUNTIME_LIBRARY_CONFIG}
-DCMAKE_WINDOWS_EXPORT_ALL_SYMBOLS=TRUE
) )
vcpkg_install_cmake() vcpkg_install_cmake()

View File

@ -1,4 +1,4 @@
Source: cppcms 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 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 Build-Depends: icu, pcre, openssl, zlib

View File

@ -1,13 +1,6 @@
include(vcpkg_common_functions) include(vcpkg_common_functions)
if(VCPKG_LIBRARY_LINKAGE STREQUAL static) vcpkg_check_linkage(ONLY_DYNAMIC_LIBRARY ONLY_DYNAMIC_CRT)
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_from_github( vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH OUT_SOURCE_PATH SOURCE_PATH

View File

@ -1,7 +1,7 @@
Source: cppfs Source: cppfs
Version: 1.2.0 Version: 1.2.0-1
Description: Cross-platform C++ file system library supporting multiple backends Description: Cross-platform C++ file system library supporting multiple backends
Feature: ssh Feature: ssh
Description: SSH backend for cppfs Description: SSH backend for cppfs
Build-Depends: libssh2,openssl,zlib Build-Depends: libssh2,openssl,zlib

View File

@ -15,11 +15,6 @@ if(${TARGET_TRIPLET} MATCHES "uwp")
message(FATAL_ERROR "cppfs does not support uwp") message(FATAL_ERROR "cppfs does not support uwp")
endif() endif()
set(SHARED_LIBS Off)
if(${VCPKG_LIBRARY_LINKAGE} STREQUAL "dynamic")
set(SHARED_LIBS On)
endif()
set(SSH_BACKEND OFF) set(SSH_BACKEND OFF)
if("ssh" IN_LIST FEATURES) if("ssh" IN_LIST FEATURES)
set(SSH_BACKEND ON) set(SSH_BACKEND ON)
@ -31,10 +26,9 @@ endif()
vcpkg_configure_cmake( vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH} SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA PREFER_NINJA
OPTIONS OPTIONS
-DOPTION_BUILD_SSH_BACKEND=${SSH_BACKEND} -DOPTION_BUILD_SSH_BACKEND=${SSH_BACKEND}
-DOPTION_BUILD_TESTS=Off -DOPTION_BUILD_TESTS=Off
-DBUILD_SHARED_LIBS=${SHARED_LIBS}
-DOPTION_FORCE_SYSTEM_DIR_INSTALL=On -DOPTION_FORCE_SYSTEM_DIR_INSTALL=On
) )

View File

@ -1,4 +1,4 @@
Source: crossguid Source: crossguid
Version: 0.2.2-2018-06-16 Version: 0.2.2-2018-06-16-1
Build-Depends: libuuid (!windows&!uwp&!osx&!android) Build-Depends: libuuid (!windows&!uwp&!osx&!android)
Description: CrossGuid is a minimal, cross platform, C++ GUID library. Description: CrossGuid is a minimal, cross platform, C++ GUID library.

View File

@ -1,4 +1,7 @@
include(vcpkg_common_functions) include(vcpkg_common_functions)
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
vcpkg_from_github( vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH OUT_SOURCE_PATH SOURCE_PATH
REPO graeme-hill/crossguid REPO graeme-hill/crossguid
@ -7,11 +10,6 @@ vcpkg_from_github(
HEAD_REF master 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( vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH} SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA PREFER_NINJA

View File

@ -1,3 +1,3 @@
Source: crow Source: crow
Version: 0.1 Version: 0.1-1
Description: Very fast and easy to use C++ micro web framework Description: Very fast and easy to use C++ micro web framework

View File

@ -1,12 +1,12 @@
include(vcpkg_common_functions) include(vcpkg_common_functions)
set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/crow-0.1) vcpkg_from_github(
vcpkg_download_distfile(ARCHIVE_FILE OUT_SOURCE_PATH SOURCE_PATH
URLS "https://github.com/ipkn/crow/archive/v0.1.tar.gz" REPO ipkn/crow
FILENAME "crow-v0.1.tar.gz" REF v0.1
SHA512 5a97c5b8cda3ffe79001aa382d4391eddde30027401bbb1d9c85c70ea715f556d3659f5eac0b9d9192c19d13718f19ad6bdf49d67bef03b21e75300d60e7d02a 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}/include/ DESTINATION ${CURRENT_PACKAGES_DIR}/include)
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/crow RENAME copyright) file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/crow RENAME copyright)

View File

@ -1,3 +1,3 @@
Source: dcmtk 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. 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.

View File

@ -1,49 +1,46 @@
include(vcpkg_common_functions) include(vcpkg_common_functions)
if(VCPKG_LIBRARY_LINKAGE STREQUAL "dynamic") vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
message("DCMTK only supports static library linkage")
set(VCPKG_LIBRARY_LINKAGE static) vcpkg_from_github(
endif() OUT_SOURCE_PATH SOURCE_PATH
REPO DCMTK/dcmtk
vcpkg_from_github( REF DCMTK-3.6.3
OUT_SOURCE_PATH SOURCE_PATH SHA512 5863d0c05f046075b998bced7c8c71bf8e969dd366f26d48cdf26012ea744ae4a22784a5c3c12e12b0f188e997c93a6890ef0c3c336865ea93f13c45f70b258d
REPO DCMTK/dcmtk HEAD_REF master
REF DCMTK-3.6.3 PATCHES ${CMAKE_CURRENT_LIST_DIR}/dcmtk.patch
SHA512 5863d0c05f046075b998bced7c8c71bf8e969dd366f26d48cdf26012ea744ae4a22784a5c3c12e12b0f188e997c93a6890ef0c3c336865ea93f13c45f70b258d )
HEAD_REF master
PATCHES ${CMAKE_CURRENT_LIST_DIR}/dcmtk.patch vcpkg_configure_cmake(
) SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
vcpkg_configure_cmake( OPTIONS
SOURCE_PATH ${SOURCE_PATH} -DDCMTK_WITH_DOXYGEN=OFF
PREFER_NINJA -DDCMTK_WITH_ZLIB=OFF
OPTIONS -DDCMTK_WITH_OPENSSL=OFF
-DDCMTK_WITH_DOXYGEN=OFF -DDCMTK_WITH_PNG=OFF
-DDCMTK_WITH_ZLIB=OFF -DDCMTK_WITH_TIFF=OFF
-DDCMTK_WITH_OPENSSL=OFF -DDCMTK_WITH_XML=OFF
-DDCMTK_WITH_PNG=OFF -DDCMTK_WITH_ICONV=OFF
-DDCMTK_WITH_TIFF=OFF -DDCMTK_FORCE_FPIC_ON_UNIX=ON
-DDCMTK_WITH_XML=OFF -DDCMTK_OVERWRITE_WIN32_COMPILER_FLAGS=OFF
-DDCMTK_WITH_ICONV=OFF -DDCMTK_ENABLE_BUILTIN_DICTIONARY=ON
-DDCMTK_FORCE_FPIC_ON_UNIX=ON -DDCMTK_ENABLE_PRIVATE_TAGS=ON
-DDCMTK_OVERWRITE_WIN32_COMPILER_FLAGS=OFF -DBUILD_APPS=OFF
-DDCMTK_ENABLE_BUILTIN_DICTIONARY=ON -DDCMTK_ENABLE_CXX11=ON
-DDCMTK_ENABLE_PRIVATE_TAGS=ON -DCMAKE_DEBUG_POSTFIX="d"
-DBUILD_APPS=OFF OPTIONS_DEBUG
-DDCMTK_ENABLE_CXX11=ON -DINSTALL_HEADERS=OFF
-DCMAKE_DEBUG_POSTFIX="d" -DINSTALL_OTHER=OFF
OPTIONS_DEBUG )
-DINSTALL_HEADERS=OFF
-DINSTALL_OTHER=OFF vcpkg_install_cmake()
) vcpkg_copy_pdbs()
vcpkg_install_cmake() vcpkg_fixup_cmake_targets()
vcpkg_copy_pdbs()
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/share)
vcpkg_fixup_cmake_targets() file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/share) # Handle copyright
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include) file(INSTALL ${SOURCE_PATH}/COPYRIGHT DESTINATION ${CURRENT_PACKAGES_DIR}/share/dcmtk RENAME copyright)
# Handle copyright
file(INSTALL ${SOURCE_PATH}/COPYRIGHT DESTINATION ${CURRENT_PACKAGES_DIR}/share/dcmtk RENAME copyright)

View File

@ -1,3 +1,3 @@
Source: directxmesh Source: directxmesh
Version: feb2019 Version: feb2019-1
Description: DirectXMesh geometry processing library Description: DirectXMesh geometry processing library

View File

@ -1,9 +1,6 @@
include(vcpkg_common_functions) include(vcpkg_common_functions)
if (VCPKG_LIBRARY_LINKAGE STREQUAL dynamic) vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
message(STATUS "Warning: Dynamic building not supported yet. Building static.")
set(VCPKG_LIBRARY_LINKAGE static)
endif()
if(NOT VCPKG_CRT_LINKAGE STREQUAL "dynamic") if(NOT VCPKG_CRT_LINKAGE STREQUAL "dynamic")
message(FATAL_ERROR "DirectXMesh only supports dynamic CRT linkage") message(FATAL_ERROR "DirectXMesh only supports dynamic CRT linkage")
@ -12,7 +9,7 @@ endif()
vcpkg_from_github( vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH OUT_SOURCE_PATH SOURCE_PATH
REPO Microsoft/DirectXMesh REPO Microsoft/DirectXMesh
REF feb2019 REF feb2019
SHA512 341870f6a66626ec78ac283434e568fd664d3331468ac06554d6403c9b1a34a737895ca3bc8c073a01b983db31cc1e398ef4828a0e794a7382cba04a6cf28f05 SHA512 341870f6a66626ec78ac283434e568fd664d3331468ac06554d6403c9b1a34a737895ca3bc8c073a01b983db31cc1e398ef4828a0e794a7382cba04a6cf28f05
HEAD_REF master HEAD_REF master
) )

View File

@ -1,3 +1,3 @@
Source: directxtex Source: directxtex
Version: feb2019 Version: feb2019-1
Description: DirectXTex texture processing library Description: DirectXTex texture processing library

View File

@ -1,9 +1,6 @@
include(vcpkg_common_functions) include(vcpkg_common_functions)
if (VCPKG_LIBRARY_LINKAGE STREQUAL dynamic) vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
message(STATUS "Warning: Dynamic building not supported yet. Building static.")
set(VCPKG_LIBRARY_LINKAGE static)
endif()
if(NOT VCPKG_CRT_LINKAGE STREQUAL "dynamic") if(NOT VCPKG_CRT_LINKAGE STREQUAL "dynamic")
message(FATAL_ERROR "DirectXTex only supports dynamic CRT linkage") message(FATAL_ERROR "DirectXTex only supports dynamic CRT linkage")
@ -12,7 +9,7 @@ endif()
vcpkg_from_github( vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH OUT_SOURCE_PATH SOURCE_PATH
REPO Microsoft/DirectXTex REPO Microsoft/DirectXTex
REF feb2019 REF feb2019
SHA512 4eea6fadbcaf1332565034a061c0688fc8ac1c3a25df22b7602f52c0558974e5aaa6aa3104dcfbd2a1718df35272e33a3302f49c0f79f6bee14233bca2532893 SHA512 4eea6fadbcaf1332565034a061c0688fc8ac1c3a25df22b7602f52c0558974e5aaa6aa3104dcfbd2a1718df35272e33a3302f49c0f79f6bee14233bca2532893
HEAD_REF master HEAD_REF master
) )

View File

@ -1,3 +1,3 @@
Source: directxtk Source: directxtk
Version: feb2019 Version: feb2019-1
Description: A collection of helper classes for writing DirectX 11.x code in C++. Description: A collection of helper classes for writing DirectX 11.x code in C++.

View File

@ -1,9 +1,6 @@
include(vcpkg_common_functions) include(vcpkg_common_functions)
if (VCPKG_LIBRARY_LINKAGE STREQUAL dynamic) vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
message(STATUS "Warning: Dynamic building not supported yet. Building static.")
set(VCPKG_LIBRARY_LINKAGE static)
endif()
if(NOT VCPKG_CRT_LINKAGE STREQUAL "dynamic") if(NOT VCPKG_CRT_LINKAGE STREQUAL "dynamic")
message(FATAL_ERROR "DirectXTK only supports dynamic CRT linkage") message(FATAL_ERROR "DirectXTK only supports dynamic CRT linkage")

View File

@ -1,3 +1,3 @@
Source: directxtk12 Source: directxtk12
Version: dec2016 Version: dec2016-1
Description: A collection of helper classes for writing DirectX 12 code in C++. Description: A collection of helper classes for writing DirectX 12 code in C++.

View File

@ -1,13 +1,11 @@
if (VCPKG_LIBRARY_LINKAGE STREQUAL dynamic) include(vcpkg_common_functions)
message(STATUS "Warning: Dynamic building not supported yet. Building static.")
set(VCPKG_LIBRARY_LINKAGE static) vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
endif()
if(NOT VCPKG_CRT_LINKAGE STREQUAL "dynamic") if(NOT VCPKG_CRT_LINKAGE STREQUAL "dynamic")
message(FATAL_ERROR "DirectXTk12 only supports dynamic CRT linkage") message(FATAL_ERROR "DirectXTk12 only supports dynamic CRT linkage")
endif() endif()
include(vcpkg_common_functions)
set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/DirectXTK12-dec2016) set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/DirectXTK12-dec2016)
vcpkg_download_distfile(ARCHIVE vcpkg_download_distfile(ARCHIVE
URLS "https://github.com/Microsoft/DirectXTK12/archive/dec2016.tar.gz" URLS "https://github.com/Microsoft/DirectXTK12/archive/dec2016.tar.gz"

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