-
Notifications
You must be signed in to change notification settings - Fork 6.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of https://github.com/Microsoft/vcpkg into dev/…
…viromer/5275
- Loading branch information
Showing
51 changed files
with
512 additions
and
152 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
Source: argh | ||
Version: 2018-12-18 | ||
Description: Argh! A minimalist argument handler. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# header-only library | ||
|
||
include(vcpkg_common_functions) | ||
|
||
vcpkg_from_github( | ||
OUT_SOURCE_PATH SOURCE_PATH | ||
REPO adishavit/argh | ||
REF a1edee559757e076e570b8f6c2f555d8d00b373c | ||
SHA512 a100c7ff20ef9ed39d53efeac5507a6ed59fb99ccba36ac4b5f8f5aaac6782f8e951b2f26b9b50f6c6fdbc53b5bceaabbb9dd9b9539f968fc1037733342e17a6 | ||
HEAD_REF master | ||
) | ||
|
||
vcpkg_configure_cmake( | ||
SOURCE_PATH ${SOURCE_PATH} | ||
PREFER_NINJA | ||
OPTIONS | ||
-DBUILD_TESTS=OFF | ||
-DBUILD_EXAMPLES=OFF | ||
) | ||
|
||
vcpkg_install_cmake() | ||
|
||
if(EXISTS ${CURRENT_PACKAGES_DIR}/CMake) | ||
vcpkg_fixup_cmake_targets(CONFIG_PATH CMake) | ||
elseif(EXISTS ${CURRENT_PACKAGES_DIR}/lib/cmake/${PORT}) | ||
vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/${PORT}) | ||
endif() | ||
|
||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug ${CURRENT_PACKAGES_DIR}/lib) | ||
file(REMOVE ${CURRENT_PACKAGES_DIR}/README.md) | ||
|
||
# Handle copyright | ||
configure_file(${SOURCE_PATH}/LICENSE ${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright COPYONLY) | ||
|
||
# CMake integration test | ||
vcpkg_test_cmake(PACKAGE_NAME ${PORT}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
Source: json-spirit | ||
Version: 4.1.0 | ||
Version: 4.1.0-1 | ||
Description: json parser using boost library | ||
Build-Depends: boost-config, boost-integer, boost-smart-ptr, boost-variant, boost-spirit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
diff --git a/CMakeLists.txt b/CMakeLists.txt | ||
index 24b1caf..2aac0b0 100644 | ||
--- a/CMakeLists.txt | ||
+++ b/CMakeLists.txt | ||
@@ -60,7 +60,9 @@ endif() | ||
|
||
message(${CMAKE_INSTALL_INCLUDEDIR}) | ||
|
||
- | ||
+if(MSVC) | ||
+add_definitions(/bigobj) | ||
+endif() | ||
set(CPACK_PACKAGE_VERSION_MAJOR 4) | ||
set(CPACK_PACKAGE_VERSION_MINOR 0) | ||
set(CPACK_PACKAGE_VERSION_PATCH 8) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
Source: jxrlib | ||
Version: 1.1-4 | ||
Version: 1.1-5 | ||
Description: Open source implementation of the jpegxr image format standard. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# - Find JXR | ||
# Find the JXR library | ||
# This module defines | ||
# JXR_INCLUDE_DIRS, where to find jxrlib/JXRGlue.h | ||
# JXR_LIBRARIES, the libraries needed to use JXR | ||
# | ||
|
||
find_path(JXR_INCLUDE_DIRS | ||
NAMES JXRGlue.h | ||
PATH_SUFFIXES jxrlib | ||
) | ||
mark_as_advanced(JXR_INCLUDE_DIRS) | ||
|
||
include(SelectLibraryConfigurations) | ||
|
||
find_library(JPEGXR_LIBRARY_RELEASE NAMES jpegxr PATH_SUFFIXES lib) | ||
find_library(JPEGXR_LIBRARY_DEBUG NAMES jpegxrd PATH_SUFFIXES lib) | ||
select_library_configurations(JPEGXR) | ||
|
||
find_library(JXRGLUE_LIBRARY_RELEASE NAMES jxrglue PATH_SUFFIXES lib) | ||
find_library(JXRGLUE_LIBRARY_DEBUG NAMES jxrglued PATH_SUFFIXES lib) | ||
select_library_configurations(JXRGLUE) | ||
|
||
set(JXR_LIBRARIES ${JPEGXR_LIBRARY} ${JXRGLUE_LIBRARY}) | ||
mark_as_advanced(JXR_LIBRARIES) | ||
|
||
include(FindPackageHandleStandardArgs) | ||
FIND_PACKAGE_HANDLE_STANDARD_ARGS(JXR DEFAULT_MSG JXR_INCLUDE_DIRS JXR_LIBRARIES) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
cmake_minimum_required(VERSION 3.0) | ||
project(libodb-boost VERSION 2.4.0 LANGUAGES CXX) | ||
find_package(odb 2.4.0 REQUIRED COMPONENTS libodb) | ||
configure_file(config.unix.h.in | ||
${CMAKE_CURRENT_SOURCE_DIR}/odb/boost/details/config.h COPYONLY) | ||
|
||
# FIXME: should we require boost? which packages? | ||
# find_package(PostgreSQL REQUIRED) | ||
set(LIBODB_INSTALL_HEADERS ON CACHE BOOL "Install the header files (a debug install)") | ||
file(GLOB_RECURSE libodb_src LIST_DIRECTORIES False | ||
RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} | ||
*.cxx) | ||
add_library(libodb-boost ${libodb_src}) | ||
target_include_directories(libodb-boost | ||
PUBLIC | ||
$<INSTALL_INTERFACE:include> | ||
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}> | ||
|
||
) | ||
|
||
target_link_libraries(libodb-boost PRIVATE odb::libodb) | ||
if(BUILD_SHARED_LIBS) | ||
target_compile_definitions(libodb-boost PRIVATE | ||
-DLIBODB_BOOST_DYNAMIC_LIB) | ||
else() | ||
target_compile_definitions(libodb-boost PRIVATE | ||
-DLIBODB_BOOST_STATIC_LIB) | ||
endif() | ||
install(TARGETS libodb-boost EXPORT odb_boostConfig | ||
COMPONENT boost | ||
ARCHIVE DESTINATION lib | ||
LIBRARY DESTINATION lib | ||
RUNTIME DESTINATION bin | ||
) | ||
if(LIBODB_INSTALL_HEADERS) | ||
install(DIRECTORY odb DESTINATION include/ | ||
COMPONENT sqlite | ||
FILES_MATCHING | ||
PATTERN "*.h" | ||
PATTERN "*.hxx" | ||
PATTERN "*.ixx" | ||
PATTERN "*.txx" | ||
PATTERN "*.options" | ||
) | ||
endif() | ||
install(EXPORT odb_boostConfig NAMESPACE odb:: COMPONENT boost DESTINATION share/odb) | ||
export(TARGETS libodb-boost NAMESPACE odb:: FILE odb_boostConfig.cmake) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
Source: libodb-boost | ||
Version: 2.4.0-1 | ||
Description: Description: Boost support for the ODB ORM library | ||
Build-Depends: libodb |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
/* odb/boost/details/config.h. Generated from config.h.in by configure. */ | ||
/* file : odb/boost/details/config.h.in | ||
* copyright : Copyright (c) 2009-2015 Code Synthesis Tools CC | ||
* license : GNU GPL v2; see accompanying LICENSE file | ||
*/ | ||
|
||
/* This file is automatically processed by configure. */ | ||
|
||
#ifndef ODB_BOOST_DETAILS_CONFIG_H | ||
#define ODB_BOOST_DETAILS_CONFIG_H | ||
|
||
/* #undef LIBODB_BOOST_STATIC_LIB */ | ||
|
||
#endif /* ODB_BOOST_DETAILS_CONFIG_H */ |
Oops, something went wrong.