-
Notifications
You must be signed in to change notification settings - Fork 6.7k
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' into port/cpuinfo
- Loading branch information
Showing
283 changed files
with
3,687 additions
and
933 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
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,6 @@ | ||
# vcpkg-pkgconfig-get-modules | ||
|
||
**Experimental: will change or be removed at any time** | ||
|
||
`vcpkg-pkgconfig-get-modules` provides `x_vcpkg_pkgconfig_get_modules()`, a function which simplifies calling | ||
`pkg-config` in portfiles in order to gather dependencies for exotic buildsystems. |
44 changes: 44 additions & 0 deletions
44
.../maintainers/ports/vcpkg-pkgconfig-get-modules/x_vcpkg_pkgconfig_get_modules.md
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,44 @@ | ||
# x_vcpkg_pkgconfig_get_modules | ||
|
||
The latest version of this document lives in the [vcpkg repo](https://github.com/Microsoft/vcpkg/blob/master/docs/maintainers/ports/vcpkg-pkgconfig-get-modules/x_vcpkg_pkgconfig_get_modules.md). | ||
|
||
Experimental | ||
Retrieve required module information from pkgconfig modules | ||
|
||
## Usage | ||
```cmake | ||
x_vcpkg_pkgconfig_get_modules( | ||
PREFIX <prefix> | ||
MODULES <pkgconfig_modules>... | ||
[LIBS] | ||
[LIBRARIES] | ||
[LIBRARIES_DIRS] | ||
[INCLUDE_DIRS] | ||
) | ||
``` | ||
## Parameters | ||
|
||
### PREFIX | ||
Used variable prefix to use | ||
|
||
### MODULES | ||
List of pkgconfig modules to retrieve information for. | ||
|
||
### LIBS | ||
Returns `"${PKGCONFIG}" --libs` in <prefix>_LIBS_(DEBUG|RELEASE) | ||
|
||
### LIBRARIES | ||
Returns `"${PKGCONFIG}" --libs-only-l` in <prefix>_LIBRARIES_(DEBUG|RELEASE) | ||
|
||
### LIBRARIES_DIRS | ||
Returns `"${PKGCONFIG}" --libs-only-L` in <prefix>_LIBRARIES_DIRS_(DEBUG|RELEASE) | ||
|
||
### INCLUDE_DIRS | ||
Returns `"${PKGCONFIG}" --cflags-only-I` in <prefix>_INCLUDE_DIRS_(DEBUG|RELEASE) | ||
|
||
## Examples | ||
|
||
* [qt5-base](https://github.com/microsoft/vcpkg/blob/master/ports/qt5-base/portfile.cmake) | ||
|
||
## Source | ||
[ports/vcpkg-pkgconfig-get-modules/x\_vcpkg\_pkgconfig\_get\_modules.cmake](https://github.com/Microsoft/vcpkg/blob/master/ports/vcpkg-pkgconfig-get-modules/x_vcpkg_pkgconfig_get_modules.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
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,13 +1,13 @@ | ||
diff --git a/CMakeLists.txt b/CMakeLists.txt | ||
index 75dea11..4eea781 100644 | ||
index a390aed..658f994 100644 | ||
--- a/CMakeLists.txt | ||
+++ b/CMakeLists.txt | ||
@@ -229,7 +229,7 @@ if( ZMQ_FOUND ) | ||
@@ -233,7 +233,7 @@ if( ZMQ_FOUND ) | ||
endif() | ||
|
||
if(MSVC) | ||
- target_compile_options(${BEHAVIOR_TREE_LIBRARY} PRIVATE /W4 /WX) | ||
+ target_compile_options(${BEHAVIOR_TREE_LIBRARY} PRIVATE /W4 /wd4702) | ||
- target_compile_options(${BEHAVIOR_TREE_LIBRARY} PRIVATE /W3 /WX) | ||
+ target_compile_options(${BEHAVIOR_TREE_LIBRARY} PRIVATE /W3 /wd4702) | ||
else() | ||
target_compile_options(${BEHAVIOR_TREE_LIBRARY} PRIVATE | ||
-Wall -Wextra -Werror=return-type) |
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 |
---|---|---|
@@ -0,0 +1,31 @@ | ||
vcpkg_from_github( | ||
OUT_SOURCE_PATH SOURCE_PATH | ||
REPO boost-ext/ut | ||
REF v1.1.8 | ||
SHA512 0df2f8ce784dc69c3cca5554a8b2be7c1664dd66bf52e83f305db5fae84d416a851e9282e9a8cfe50fbcada85b17da00fb25c1228d9cca32226a18bae18acb83 | ||
HEAD_REF master | ||
) | ||
|
||
vcpkg_download_distfile(LICENSE_FILE | ||
URLS https://www.boost.org/LICENSE_1_0.txt | ||
FILENAME d6078467835dba893231.txt | ||
SHA512 d6078467835dba8932314c1c1e945569a64b065474d7aced27c9a7acc391d52e9f234138ed9f1aa9cd576f25f12f557e0b733c14891d42c16ecdc4a7bd4d60b8 | ||
) | ||
|
||
vcpkg_configure_cmake( | ||
SOURCE_PATH ${SOURCE_PATH} | ||
PREFER_NINJA | ||
OPTIONS | ||
-DBOOST_UT_BUILD_BENCHMARKS=OFF | ||
-DBOOST_UT_BUILD_EXAMPLES=OFF | ||
-DBOOST_UT_BUILD_TESTS=OFF | ||
) | ||
vcpkg_install_cmake() | ||
vcpkg_copy_pdbs() | ||
vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/ut TARGET_PATH share/ut) | ||
|
||
configure_file("${LICENSE_FILE}" "${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright" COPYONLY) | ||
|
||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug | ||
${CURRENT_PACKAGES_DIR}/lib | ||
) |
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,6 @@ | ||
{ | ||
"name": "bext-ut", | ||
"version": "1.1.8", | ||
"description": "UT: C++20 μ(micro)/Unit Testing Framework", | ||
"homepage": "https://boost-ext.github.io/ut/" | ||
} |
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,6 @@ | ||
if("icu" IN_LIST FEATURES) | ||
set(B2_REQUIREMENTS "<library>/user-config//icuuc <library>/user-config//icudt <library>/user-config//icuin <define>BOOST_HAS_ICU=1") | ||
if(APPLE) | ||
list(APPEND B2_OPTIONS cxxstd=11) | ||
endif() | ||
endif() |
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 was deleted.
Oops, something went wrong.
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,44 @@ | ||
diff --git a/cmake/FindMSPack.cmake b/cmake/FindMSPack.cmake | ||
index cad448f..4ce4f87 100644 | ||
--- a/cmake/FindMSPack.cmake | ||
+++ b/cmake/FindMSPack.cmake | ||
@@ -50,7 +50,7 @@ find_path(MSPack_INCLUDE_DIR | ||
PATH_SUFFIXES mspack | ||
) | ||
find_library(MSPack_LIBRARY | ||
- NAMES mspack | ||
+ NAMES libmspack | ||
PATHS ${PC_MSPack_LIBRARY_DIRS} | ||
) | ||
|
||
diff --git a/libclamav/CMakeLists.txt b/libclamav/CMakeLists.txt | ||
index 136ea30..72db826 100644 | ||
--- a/libclamav/CMakeLists.txt | ||
+++ b/libclamav/CMakeLists.txt | ||
@@ -504,7 +504,7 @@ target_link_libraries( clamav_obj | ||
yara | ||
tomsfastmath | ||
bytecode_runtime | ||
- ClamAV::libmspack | ||
+ ${MSPack_LIBRARIES} | ||
ClamAV::libclamunrar_iface_iface | ||
OpenSSL::SSL | ||
OpenSSL::Crypto | ||
@@ -547,7 +547,7 @@ if(ENABLE_SHARED_LIB) | ||
yara | ||
tomsfastmath | ||
bytecode_runtime | ||
- ClamAV::libmspack | ||
+ ${MSPack_LIBRARIES} | ||
ClamAV::libclamunrar_iface_iface | ||
OpenSSL::SSL | ||
OpenSSL::Crypto | ||
@@ -588,7 +588,7 @@ if(ENABLE_STATIC_LIB) | ||
yara | ||
tomsfastmath | ||
bytecode_runtime | ||
- ClamAV::libmspack | ||
+ ${MSPack_LIBRARIES} | ||
ClamAV::libclamunrar_iface_iface | ||
OpenSSL::SSL | ||
OpenSSL::Crypto |
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,18 @@ | ||
{ | ||
"name": "clamav", | ||
"version-semver": "0.103.0", | ||
"port-version": 1, | ||
"description": "ClamAV is an open-source anti-virus toolkit.", | ||
"homepage": "https://www.clamav.net", | ||
"supports": "!uwp & !static", | ||
"dependencies": [ | ||
"bzip2", | ||
"json-c", | ||
"libmspack", | ||
"libxml2", | ||
"openssl", | ||
"pcre2", | ||
"pthreads", | ||
"zlib" | ||
] | ||
} |
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
Oops, something went wrong.