Add files using upload-large-folder tool
Browse filesThis view is limited to 50 files because it contains too many changes.
See raw diff
- cc-multilingual-main/cc_net/vcpkg/ports/angelscript/fix-dependency.patch +9 -0
- cc-multilingual-main/cc_net/vcpkg/ports/angelscript/mark-threads-private.patch +13 -0
- cc-multilingual-main/cc_net/vcpkg/ports/angelscript/portfile.cmake +30 -0
- cc-multilingual-main/cc_net/vcpkg/ports/angelscript/vcpkg.json +24 -0
- cc-multilingual-main/cc_net/vcpkg/ports/boost-multiprecision/portfile.cmake +12 -0
- cc-multilingual-main/cc_net/vcpkg/ports/boost-multiprecision/vcpkg.json +51 -0
- cc-multilingual-main/cc_net/vcpkg/ports/boost-ptr-container/portfile.cmake +12 -0
- cc-multilingual-main/cc_net/vcpkg/ports/boost-ptr-container/vcpkg.json +66 -0
- cc-multilingual-main/cc_net/vcpkg/ports/boost-wave/portfile.cmake +19 -0
- cc-multilingual-main/cc_net/vcpkg/ports/boost-wave/vcpkg.json +106 -0
- cc-multilingual-main/cc_net/vcpkg/ports/check/linkage.patch +20 -0
- cc-multilingual-main/cc_net/vcpkg/ports/check/portfile.cmake +36 -0
- cc-multilingual-main/cc_net/vcpkg/ports/check/usage +4 -0
- cc-multilingual-main/cc_net/vcpkg/ports/check/vcpkg.json +18 -0
- cc-multilingual-main/cc_net/vcpkg/ports/curl/0002_fix_uwp.patch +24 -0
- cc-multilingual-main/cc_net/vcpkg/ports/curl/0005_remove_imp_suffix.patch +12 -0
- cc-multilingual-main/cc_net/vcpkg/ports/curl/cmake-config.patch +12 -0
- cc-multilingual-main/cc_net/vcpkg/ports/curl/dependencies.patch +61 -0
- cc-multilingual-main/cc_net/vcpkg/ports/curl/mbedtls-ws2_32.patch +14 -0
- cc-multilingual-main/cc_net/vcpkg/ports/curl/portfile.cmake +148 -0
- cc-multilingual-main/cc_net/vcpkg/ports/curl/usage +4 -0
- cc-multilingual-main/cc_net/vcpkg/ports/curl/vcpkg-cmake-wrapper.cmake +75 -0
- cc-multilingual-main/cc_net/vcpkg/ports/curl/vcpkg.json +227 -0
- cc-multilingual-main/cc_net/vcpkg/ports/datraw/portfile.cmake +14 -0
- cc-multilingual-main/cc_net/vcpkg/ports/datraw/vcpkg.json +7 -0
- cc-multilingual-main/cc_net/vcpkg/ports/glog/fix_crosscompile_symbolize.patch +22 -0
- cc-multilingual-main/cc_net/vcpkg/ports/glog/vcpkg.json +27 -0
- cc-multilingual-main/cc_net/vcpkg/ports/gtsam/build-fixes.patch +73 -0
- cc-multilingual-main/cc_net/vcpkg/ports/gtsam/path-fixes.patch +33 -0
- cc-multilingual-main/cc_net/vcpkg/ports/gtsam/portfile.cmake +39 -0
- cc-multilingual-main/cc_net/vcpkg/ports/gtsam/usage +4 -0
- cc-multilingual-main/cc_net/vcpkg/ports/gtsam/vcpkg.json +34 -0
- cc-multilingual-main/cc_net/vcpkg/ports/kf5itemviews/portfile.cmake +31 -0
- cc-multilingual-main/cc_net/vcpkg/ports/kf5itemviews/vcpkg.json +19 -0
- cc-multilingual-main/cc_net/vcpkg/ports/libbf/portfile.cmake +35 -0
- cc-multilingual-main/cc_net/vcpkg/ports/libbf/vcpkg.json +14 -0
- cc-multilingual-main/cc_net/vcpkg/ports/libcds/001-cmake-install.patch +32 -0
- cc-multilingual-main/cc_net/vcpkg/ports/mozjpeg/fix-install-error.patch +13 -0
- cc-multilingual-main/cc_net/vcpkg/ports/mozjpeg/portfile.cmake +60 -0
- cc-multilingual-main/cc_net/vcpkg/ports/mozjpeg/vcpkg.json +18 -0
- cc-multilingual-main/cc_net/vcpkg/ports/opendnp3/deps/asio.cmake +1 -0
- cc-multilingual-main/cc_net/vcpkg/ports/opendnp3/opendnp3-config.cmake.in +22 -0
- cc-multilingual-main/cc_net/vcpkg/ports/opendnp3/portfile.cmake +65 -0
- cc-multilingual-main/cc_net/vcpkg/ports/opendnp3/vcpkg.json +27 -0
- cc-multilingual-main/cc_net/vcpkg/ports/palsigslot/portfile.cmake +25 -0
- cc-multilingual-main/cc_net/vcpkg/ports/palsigslot/vcpkg.json +17 -0
- cc-multilingual-main/cc_net/vcpkg/ports/qtquick3dphysics/portfile.cmake +13 -0
- cc-multilingual-main/cc_net/vcpkg/ports/qtquick3dphysics/vcpkg.json +14 -0
- cc-multilingual-main/cc_net/vcpkg/ports/readosm/fix-makefiles.patch +48 -0
- cc-multilingual-main/cc_net/vcpkg/ports/readosm/pc-file.patch +12 -0
cc-multilingual-main/cc_net/vcpkg/ports/angelscript/fix-dependency.patch
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
diff --git a/angelscript/projects/cmake/cmake/AngelscriptConfig.cmake b/angelscript/projects/cmake/cmake/AngelscriptConfig.cmake
|
2 |
+
index 4d1ef0f..ec14fe9 100644
|
3 |
+
--- a/angelscript/projects/cmake/cmake/AngelscriptConfig.cmake
|
4 |
+
+++ b/angelscript/projects/cmake/cmake/AngelscriptConfig.cmake
|
5 |
+
@@ -1,2 +1,4 @@
|
6 |
+
include("${CMAKE_CURRENT_LIST_DIR}/AngelscriptTargets.cmake")
|
7 |
+
+include(CMakeFindDependencyMacro)
|
8 |
+
+find_dependency(Threads REQUIRED)
|
9 |
+
|
cc-multilingual-main/cc_net/vcpkg/ports/angelscript/mark-threads-private.patch
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
diff --git a/angelscript/projects/cmake/CMakeLists.txt b/angelscript/projects/cmake/CMakeLists.txt
|
2 |
+
index 7c800c5..982ad8b 100644
|
3 |
+
--- a/angelscript/projects/cmake/CMakeLists.txt
|
4 |
+
+++ b/angelscript/projects/cmake/CMakeLists.txt
|
5 |
+
@@ -145,7 +145,7 @@ endif()
|
6 |
+
|
7 |
+
# Don't override the default library output path to avoid conflicts when building for multiple target platforms
|
8 |
+
#set(LIBRARY_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/../../lib)
|
9 |
+
-target_link_libraries(${ANGELSCRIPT_LIBRARY_NAME} Threads::Threads)
|
10 |
+
+target_link_libraries(${ANGELSCRIPT_LIBRARY_NAME} PRIVATE Threads::Threads)
|
11 |
+
|
12 |
+
set_target_properties(${ANGELSCRIPT_LIBRARY_NAME} PROPERTIES VERSION ${PROJECT_VERSION})
|
13 |
+
|
cc-multilingual-main/cc_net/vcpkg/ports/angelscript/portfile.cmake
ADDED
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
vcpkg_download_distfile(ARCHIVE
|
2 |
+
URLS "https://angelcode.com/angelscript/sdk/files/angelscript_2.36.1.zip"
|
3 |
+
FILENAME "angelscript_2.36.1.zip"
|
4 |
+
SHA512 d6d213ce72135c89e47e67521f654611ff67673f3decd9db3da4b7bf317a04a3f91c5c6ae36658ec3f2b20498facd069af02a91255a24ec79c96d8c90d6b554e
|
5 |
+
)
|
6 |
+
|
7 |
+
vcpkg_extract_source_archive(
|
8 |
+
SOURCE_PATH
|
9 |
+
ARCHIVE "${ARCHIVE}"
|
10 |
+
PATCHES
|
11 |
+
mark-threads-private.patch
|
12 |
+
fix-dependency.patch
|
13 |
+
)
|
14 |
+
|
15 |
+
vcpkg_cmake_configure(
|
16 |
+
SOURCE_PATH "${SOURCE_PATH}/angelscript/projects/cmake"
|
17 |
+
)
|
18 |
+
|
19 |
+
vcpkg_cmake_install()
|
20 |
+
vcpkg_copy_pdbs()
|
21 |
+
|
22 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
23 |
+
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/Angelscript)
|
24 |
+
|
25 |
+
# Copy the addon files
|
26 |
+
if("addons" IN_LIST FEATURES)
|
27 |
+
file(INSTALL "${SOURCE_PATH}/add_on/" DESTINATION "${CURRENT_PACKAGES_DIR}/include/angelscript" FILES_MATCHING PATTERN "*.h" PATTERN "*.cpp")
|
28 |
+
endif()
|
29 |
+
|
30 |
+
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/docs/manual/doc_license.html")
|
cc-multilingual-main/cc_net/vcpkg/ports/angelscript/vcpkg.json
ADDED
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "angelscript",
|
3 |
+
"version": "2.36.1",
|
4 |
+
"port-version": 1,
|
5 |
+
"description": "The AngelCode Scripting Library, or AngelScript as it is also known, is an extremely flexible cross-platform scripting library designed to allow applications to extend their functionality through external scripts. It has been designed from the beginning to be an easy to use component, both for the application programmer and the script writer.",
|
6 |
+
"homepage": "https://angelcode.com/angelscript",
|
7 |
+
"license": "Zlib",
|
8 |
+
"supports": "!arm",
|
9 |
+
"dependencies": [
|
10 |
+
{
|
11 |
+
"name": "vcpkg-cmake",
|
12 |
+
"host": true
|
13 |
+
},
|
14 |
+
{
|
15 |
+
"name": "vcpkg-cmake-config",
|
16 |
+
"host": true
|
17 |
+
}
|
18 |
+
],
|
19 |
+
"features": {
|
20 |
+
"addons": {
|
21 |
+
"description": "Installs all addons for use in compiling scripts addons"
|
22 |
+
}
|
23 |
+
}
|
24 |
+
}
|
cc-multilingual-main/cc_net/vcpkg/ports/boost-multiprecision/portfile.cmake
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Automatically generated by scripts/boost/generate-ports.ps1
|
2 |
+
|
3 |
+
vcpkg_from_github(
|
4 |
+
OUT_SOURCE_PATH SOURCE_PATH
|
5 |
+
REPO boostorg/multiprecision
|
6 |
+
REF boost-${VERSION}
|
7 |
+
SHA512 7173006ac8b305eee2cfea3a88ea56ce85e48cc72eeeed360c115b3d4390e7f112b518a12b0bf6a9e6080bf7b0616b6f2d41c6a624f65a377584123add12908c
|
8 |
+
HEAD_REF master
|
9 |
+
)
|
10 |
+
|
11 |
+
include(${CURRENT_INSTALLED_DIR}/share/boost-vcpkg-helpers/boost-modular-headers.cmake)
|
12 |
+
boost_modular_headers(SOURCE_PATH ${SOURCE_PATH})
|
cc-multilingual-main/cc_net/vcpkg/ports/boost-multiprecision/vcpkg.json
ADDED
@@ -0,0 +1,51 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"$comment": "Automatically generated by scripts/boost/generate-ports.ps1",
|
3 |
+
"name": "boost-multiprecision",
|
4 |
+
"version": "1.84.0",
|
5 |
+
"description": "Boost multiprecision module",
|
6 |
+
"homepage": "https://github.com/boostorg/multiprecision",
|
7 |
+
"license": "BSL-1.0",
|
8 |
+
"dependencies": [
|
9 |
+
{
|
10 |
+
"name": "boost-assert",
|
11 |
+
"version>=": "1.84.0"
|
12 |
+
},
|
13 |
+
{
|
14 |
+
"name": "boost-config",
|
15 |
+
"version>=": "1.84.0"
|
16 |
+
},
|
17 |
+
{
|
18 |
+
"name": "boost-core",
|
19 |
+
"version>=": "1.84.0"
|
20 |
+
},
|
21 |
+
{
|
22 |
+
"name": "boost-integer",
|
23 |
+
"version>=": "1.84.0"
|
24 |
+
},
|
25 |
+
{
|
26 |
+
"name": "boost-lexical-cast",
|
27 |
+
"version>=": "1.84.0"
|
28 |
+
},
|
29 |
+
{
|
30 |
+
"name": "boost-math",
|
31 |
+
"version>=": "1.84.0"
|
32 |
+
},
|
33 |
+
{
|
34 |
+
"name": "boost-predef",
|
35 |
+
"version>=": "1.84.0"
|
36 |
+
},
|
37 |
+
{
|
38 |
+
"name": "boost-random",
|
39 |
+
"platform": "!uwp",
|
40 |
+
"version>=": "1.84.0"
|
41 |
+
},
|
42 |
+
{
|
43 |
+
"name": "boost-throw-exception",
|
44 |
+
"version>=": "1.84.0"
|
45 |
+
},
|
46 |
+
{
|
47 |
+
"name": "boost-vcpkg-helpers",
|
48 |
+
"version>=": "1.84.0"
|
49 |
+
}
|
50 |
+
]
|
51 |
+
}
|
cc-multilingual-main/cc_net/vcpkg/ports/boost-ptr-container/portfile.cmake
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Automatically generated by scripts/boost/generate-ports.ps1
|
2 |
+
|
3 |
+
vcpkg_from_github(
|
4 |
+
OUT_SOURCE_PATH SOURCE_PATH
|
5 |
+
REPO boostorg/ptr_container
|
6 |
+
REF boost-${VERSION}
|
7 |
+
SHA512 443e3400b934baaf5d2389e2be3dc7cff343481a69ec7f9d4aa85017c69d6bee7a474a5358cfe38472f64cbab65216cf58c9802c74ee90d37bfdd7574b6004fd
|
8 |
+
HEAD_REF master
|
9 |
+
)
|
10 |
+
|
11 |
+
include(${CURRENT_INSTALLED_DIR}/share/boost-vcpkg-helpers/boost-modular-headers.cmake)
|
12 |
+
boost_modular_headers(SOURCE_PATH ${SOURCE_PATH})
|
cc-multilingual-main/cc_net/vcpkg/ports/boost-ptr-container/vcpkg.json
ADDED
@@ -0,0 +1,66 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"$comment": "Automatically generated by scripts/boost/generate-ports.ps1",
|
3 |
+
"name": "boost-ptr-container",
|
4 |
+
"version": "1.84.0",
|
5 |
+
"description": "Boost ptr_container module",
|
6 |
+
"homepage": "https://github.com/boostorg/ptr_container",
|
7 |
+
"license": "BSL-1.0",
|
8 |
+
"dependencies": [
|
9 |
+
{
|
10 |
+
"name": "boost-array",
|
11 |
+
"version>=": "1.84.0"
|
12 |
+
},
|
13 |
+
{
|
14 |
+
"name": "boost-assert",
|
15 |
+
"version>=": "1.84.0"
|
16 |
+
},
|
17 |
+
{
|
18 |
+
"name": "boost-circular-buffer",
|
19 |
+
"version>=": "1.84.0"
|
20 |
+
},
|
21 |
+
{
|
22 |
+
"name": "boost-config",
|
23 |
+
"version>=": "1.84.0"
|
24 |
+
},
|
25 |
+
{
|
26 |
+
"name": "boost-core",
|
27 |
+
"version>=": "1.84.0"
|
28 |
+
},
|
29 |
+
{
|
30 |
+
"name": "boost-iterator",
|
31 |
+
"version>=": "1.84.0"
|
32 |
+
},
|
33 |
+
{
|
34 |
+
"name": "boost-mpl",
|
35 |
+
"version>=": "1.84.0"
|
36 |
+
},
|
37 |
+
{
|
38 |
+
"name": "boost-range",
|
39 |
+
"version>=": "1.84.0"
|
40 |
+
},
|
41 |
+
{
|
42 |
+
"name": "boost-smart-ptr",
|
43 |
+
"version>=": "1.84.0"
|
44 |
+
},
|
45 |
+
{
|
46 |
+
"name": "boost-static-assert",
|
47 |
+
"version>=": "1.84.0"
|
48 |
+
},
|
49 |
+
{
|
50 |
+
"name": "boost-type-traits",
|
51 |
+
"version>=": "1.84.0"
|
52 |
+
},
|
53 |
+
{
|
54 |
+
"name": "boost-unordered",
|
55 |
+
"version>=": "1.84.0"
|
56 |
+
},
|
57 |
+
{
|
58 |
+
"name": "boost-utility",
|
59 |
+
"version>=": "1.84.0"
|
60 |
+
},
|
61 |
+
{
|
62 |
+
"name": "boost-vcpkg-helpers",
|
63 |
+
"version>=": "1.84.0"
|
64 |
+
}
|
65 |
+
]
|
66 |
+
}
|
cc-multilingual-main/cc_net/vcpkg/ports/boost-wave/portfile.cmake
ADDED
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Automatically generated by scripts/boost/generate-ports.ps1
|
2 |
+
|
3 |
+
vcpkg_from_github(
|
4 |
+
OUT_SOURCE_PATH SOURCE_PATH
|
5 |
+
REPO boostorg/wave
|
6 |
+
REF boost-${VERSION}
|
7 |
+
SHA512 eb39127042795c21ccfb6e92edde0feaeea1e5cc79305a5993104fadba02dc61f841d9ea7b1dbc6e0ea702377e6f563ee623c0ddd99eb5dd729105866b03e766
|
8 |
+
HEAD_REF master
|
9 |
+
)
|
10 |
+
|
11 |
+
vcpkg_replace_string("${SOURCE_PATH}/build/Jamfile.v2"
|
12 |
+
"import ../../config/checks/config"
|
13 |
+
"import ../config/checks/config"
|
14 |
+
)
|
15 |
+
file(COPY "${CURRENT_INSTALLED_DIR}/share/boost-config/checks" DESTINATION "${SOURCE_PATH}/config")
|
16 |
+
include(${CURRENT_HOST_INSTALLED_DIR}/share/boost-build/boost-modular-build.cmake)
|
17 |
+
boost_modular_build(SOURCE_PATH ${SOURCE_PATH})
|
18 |
+
include(${CURRENT_INSTALLED_DIR}/share/boost-vcpkg-helpers/boost-modular-headers.cmake)
|
19 |
+
boost_modular_headers(SOURCE_PATH ${SOURCE_PATH})
|
cc-multilingual-main/cc_net/vcpkg/ports/boost-wave/vcpkg.json
ADDED
@@ -0,0 +1,106 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"$comment": "Automatically generated by scripts/boost/generate-ports.ps1",
|
3 |
+
"name": "boost-wave",
|
4 |
+
"version": "1.84.0",
|
5 |
+
"description": "Boost wave module",
|
6 |
+
"homepage": "https://github.com/boostorg/wave",
|
7 |
+
"license": "BSL-1.0",
|
8 |
+
"supports": "!uwp",
|
9 |
+
"dependencies": [
|
10 |
+
{
|
11 |
+
"name": "boost-assert",
|
12 |
+
"version>=": "1.84.0"
|
13 |
+
},
|
14 |
+
{
|
15 |
+
"name": "boost-build",
|
16 |
+
"host": true,
|
17 |
+
"version>=": "1.84.0"
|
18 |
+
},
|
19 |
+
{
|
20 |
+
"name": "boost-concept-check",
|
21 |
+
"version>=": "1.84.0"
|
22 |
+
},
|
23 |
+
{
|
24 |
+
"name": "boost-config",
|
25 |
+
"version>=": "1.84.0"
|
26 |
+
},
|
27 |
+
{
|
28 |
+
"name": "boost-core",
|
29 |
+
"version>=": "1.84.0"
|
30 |
+
},
|
31 |
+
{
|
32 |
+
"name": "boost-filesystem",
|
33 |
+
"platform": "!uwp",
|
34 |
+
"version>=": "1.84.0"
|
35 |
+
},
|
36 |
+
{
|
37 |
+
"name": "boost-format",
|
38 |
+
"version>=": "1.84.0"
|
39 |
+
},
|
40 |
+
{
|
41 |
+
"name": "boost-iterator",
|
42 |
+
"version>=": "1.84.0"
|
43 |
+
},
|
44 |
+
{
|
45 |
+
"name": "boost-lexical-cast",
|
46 |
+
"version>=": "1.84.0"
|
47 |
+
},
|
48 |
+
{
|
49 |
+
"name": "boost-modular-build-helper",
|
50 |
+
"host": true,
|
51 |
+
"version>=": "1.84.0"
|
52 |
+
},
|
53 |
+
{
|
54 |
+
"name": "boost-mpl",
|
55 |
+
"version>=": "1.84.0"
|
56 |
+
},
|
57 |
+
{
|
58 |
+
"name": "boost-multi-index",
|
59 |
+
"version>=": "1.84.0"
|
60 |
+
},
|
61 |
+
{
|
62 |
+
"name": "boost-optional",
|
63 |
+
"version>=": "1.84.0"
|
64 |
+
},
|
65 |
+
{
|
66 |
+
"name": "boost-pool",
|
67 |
+
"version>=": "1.84.0"
|
68 |
+
},
|
69 |
+
{
|
70 |
+
"name": "boost-preprocessor",
|
71 |
+
"version>=": "1.84.0"
|
72 |
+
},
|
73 |
+
{
|
74 |
+
"name": "boost-serialization",
|
75 |
+
"version>=": "1.84.0"
|
76 |
+
},
|
77 |
+
{
|
78 |
+
"name": "boost-smart-ptr",
|
79 |
+
"version>=": "1.84.0"
|
80 |
+
},
|
81 |
+
{
|
82 |
+
"name": "boost-spirit",
|
83 |
+
"version>=": "1.84.0"
|
84 |
+
},
|
85 |
+
{
|
86 |
+
"name": "boost-static-assert",
|
87 |
+
"version>=": "1.84.0"
|
88 |
+
},
|
89 |
+
{
|
90 |
+
"name": "boost-throw-exception",
|
91 |
+
"version>=": "1.84.0"
|
92 |
+
},
|
93 |
+
{
|
94 |
+
"name": "boost-type-traits",
|
95 |
+
"version>=": "1.84.0"
|
96 |
+
},
|
97 |
+
{
|
98 |
+
"name": "boost-vcpkg-helpers",
|
99 |
+
"version>=": "1.84.0"
|
100 |
+
},
|
101 |
+
{
|
102 |
+
"name": "vcpkg-cmake",
|
103 |
+
"host": true
|
104 |
+
}
|
105 |
+
]
|
106 |
+
}
|
cc-multilingual-main/cc_net/vcpkg/ports/check/linkage.patch
ADDED
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
|
2 |
+
index 4a02dbe..3e147e4 100644
|
3 |
+
--- a/src/CMakeLists.txt
|
4 |
+
+++ b/src/CMakeLists.txt
|
5 |
+
@@ -188,7 +188,14 @@ target_include_directories(checkShared
|
6 |
+
)
|
7 |
+
|
8 |
+
if(NOT THIS_IS_SUBPROJECT)
|
9 |
+
- install(TARGETS check checkShared
|
10 |
+
+ if(BUILD_SHARED_LIBS)
|
11 |
+
+ set(lib checkShared)
|
12 |
+
+ set_target_properties(check PROPERTIES EXCLUDE_FROM_ALL 1)
|
13 |
+
+ else()
|
14 |
+
+ set(lib check)
|
15 |
+
+ set_target_properties(checkShared PROPERTIES EXCLUDE_FROM_ALL 1)
|
16 |
+
+ endif()
|
17 |
+
+ install(TARGETS ${lib}
|
18 |
+
EXPORT check-targets
|
19 |
+
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
20 |
+
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}/manual-link
|
cc-multilingual-main/cc_net/vcpkg/ports/check/portfile.cmake
ADDED
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
vcpkg_from_github(
|
2 |
+
OUT_SOURCE_PATH SOURCE_PATH
|
3 |
+
REPO libcheck/check
|
4 |
+
REF 11970a7e112dfe243a2e68773f014687df2900e8 # 0.15.2
|
5 |
+
SHA512 210c9617fa1c1ce16bef983b0e6cb587b1774c3f7ce27a53ca7799642dc7a14be8de567d69dc0e57845684c6f7991d772c73654f63c8755afda3b37a35c7156e
|
6 |
+
HEAD_REF master
|
7 |
+
PATCHES
|
8 |
+
fix-lib-path.patch
|
9 |
+
linkage.patch
|
10 |
+
)
|
11 |
+
|
12 |
+
vcpkg_cmake_configure(
|
13 |
+
SOURCE_PATH "${SOURCE_PATH}"
|
14 |
+
OPTIONS
|
15 |
+
-DBUILD_TESTING=OFF
|
16 |
+
-DCHECK_ENABLE_GCOV=OFF
|
17 |
+
-DCHECK_ENABLE_TESTS=OFF
|
18 |
+
-DCHECK_ENABLE_TIMEOUT_TESTS=OFF
|
19 |
+
-DENABLE_MEMORY_LEAKING_TESTS=OFF
|
20 |
+
-DINSTALL_CHECKMK=OFF
|
21 |
+
)
|
22 |
+
|
23 |
+
vcpkg_cmake_install()
|
24 |
+
vcpkg_copy_pdbs()
|
25 |
+
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/check)
|
26 |
+
vcpkg_fixup_pkgconfig()
|
27 |
+
|
28 |
+
if(VCPKG_LIBRARY_LINKAGE STREQUAL "dynamic" AND VCPKG_TARGET_IS_WINDOWS)
|
29 |
+
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/include/check.h" "#define CK_DLL_EXP" "#define CK_DLL_EXP __declspec(dllimport)")
|
30 |
+
endif()
|
31 |
+
|
32 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include" "${CURRENT_PACKAGES_DIR}/debug/share")
|
33 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/share/man")
|
34 |
+
|
35 |
+
file(COPY "${CURRENT_PORT_DIR}/usage" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")
|
36 |
+
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/COPYING.LESSER")
|
cc-multilingual-main/cc_net/vcpkg/ports/check/usage
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
check provides CMake targets:
|
2 |
+
|
3 |
+
find_package(check CONFIG REQUIRED)
|
4 |
+
target_link_libraries(main PRIVATE $<IF:$<TARGET_EXISTS:Check::check>,Check::check,Check::checkShared>)
|
cc-multilingual-main/cc_net/vcpkg/ports/check/vcpkg.json
ADDED
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "check",
|
3 |
+
"version": "0.15.2",
|
4 |
+
"port-version": 5,
|
5 |
+
"description": "A unit testing framework for C",
|
6 |
+
"homepage": "https://github.com/libcheck/check",
|
7 |
+
"license": "LGPL-2.1-only",
|
8 |
+
"dependencies": [
|
9 |
+
{
|
10 |
+
"name": "vcpkg-cmake",
|
11 |
+
"host": true
|
12 |
+
},
|
13 |
+
{
|
14 |
+
"name": "vcpkg-cmake-config",
|
15 |
+
"host": true
|
16 |
+
}
|
17 |
+
]
|
18 |
+
}
|
cc-multilingual-main/cc_net/vcpkg/ports/curl/0002_fix_uwp.patch
ADDED
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt
|
2 |
+
index 6f84919..b838245 100644
|
3 |
+
--- a/lib/CMakeLists.txt
|
4 |
+
+++ b/lib/CMakeLists.txt
|
5 |
+
@@ -162,6 +162,9 @@ if(BUILD_STATIC_LIBS)
|
6 |
+
INTERPROCEDURAL_OPTIMIZATION_RELEASE TRUE
|
7 |
+
INTERPROCEDURAL_OPTIMIZATION_RELWITHDEBINFO TRUE)
|
8 |
+
endif()
|
9 |
+
+ if(CMAKE_SYSTEM_NAME STREQUAL "WindowsStore")
|
10 |
+
+ set_property(TARGET ${LIB_STATIC} APPEND PROPERTY COMPILE_DEFINITIONS "_WINSOCK_DEPRECATED_NO_WARNINGS")
|
11 |
+
+ endif()
|
12 |
+
if(CMAKEVERSION AND CMAKESONAME)
|
13 |
+
set_target_properties(${LIB_STATIC} PROPERTIES
|
14 |
+
VERSION ${CMAKEVERSION} SOVERSION ${CMAKESONAME})
|
15 |
+
@@ -197,6 +200,9 @@ if(BUILD_SHARED_LIBS)
|
16 |
+
INTERPROCEDURAL_OPTIMIZATION_RELEASE TRUE
|
17 |
+
INTERPROCEDURAL_OPTIMIZATION_RELWITHDEBINFO TRUE)
|
18 |
+
endif()
|
19 |
+
+ if(CMAKE_SYSTEM_NAME STREQUAL "WindowsStore")
|
20 |
+
+ set_property(TARGET ${LIB_SHARED} APPEND PROPERTY COMPILE_DEFINITIONS "_WINSOCK_DEPRECATED_NO_WARNINGS")
|
21 |
+
+ endif()
|
22 |
+
if(CMAKEVERSION AND CMAKESONAME)
|
23 |
+
set_target_properties(${LIB_SHARED} PROPERTIES
|
24 |
+
VERSION ${CMAKEVERSION} SOVERSION ${CMAKESONAME})
|
cc-multilingual-main/cc_net/vcpkg/ports/curl/0005_remove_imp_suffix.patch
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt
|
2 |
+
index b838245..3199160 100644
|
3 |
+
--- a/lib/CMakeLists.txt
|
4 |
+
+++ b/lib/CMakeLists.txt
|
5 |
+
@@ -92,7 +92,6 @@ endif()
|
6 |
+
if(WIN32 AND
|
7 |
+
NOT IMPORT_LIB_SUFFIX AND
|
8 |
+
CMAKE_STATIC_LIBRARY_SUFFIX STREQUAL CMAKE_IMPORT_LIBRARY_SUFFIX)
|
9 |
+
- set(IMPORT_LIB_SUFFIX "_imp")
|
10 |
+
endif()
|
11 |
+
|
12 |
+
# Whether to do a single compilation pass for libcurl sources and reuse these
|
cc-multilingual-main/cc_net/vcpkg/ports/curl/cmake-config.patch
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
diff --git a/CMake/curl-config.cmake.in b/CMake/curl-config.cmake.in
|
2 |
+
index a013adf..2f39949 100644
|
3 |
+
--- a/CMake/curl-config.cmake.in
|
4 |
+
+++ b/CMake/curl-config.cmake.in
|
5 |
+
@@ -46,5 +46,6 @@ check_required_components("@PROJECT_NAME@")
|
6 |
+
|
7 |
+
# Alias for either shared or static library
|
8 |
+
if(NOT TARGET @PROJECT_NAME@::libcurl)
|
9 |
+
- add_library(@PROJECT_NAME@::libcurl ALIAS @PROJECT_NAME@::@LIB_SELECTED@)
|
10 |
+
+ add_library(@PROJECT_NAME@::libcurl INTERFACE IMPORTED)
|
11 |
+
+ set_target_properties(@PROJECT_NAME@::libcurl PROPERTIES INTERFACE_LINK_LIBRARIES @PROJECT_NAME@::@LIB_SELECTED@)
|
12 |
+
endif()
|
cc-multilingual-main/cc_net/vcpkg/ports/curl/dependencies.patch
ADDED
@@ -0,0 +1,61 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
diff --git a/CMake/curl-config.cmake.in b/CMake/curl-config.cmake.in
|
2 |
+
index 056907c..c89c686 100644
|
3 |
+
--- a/CMake/curl-config.cmake.in
|
4 |
+
+++ b/CMake/curl-config.cmake.in
|
5 |
+
@@ -31,6 +31,16 @@ if(@USE_ZLIB@)
|
6 |
+
find_dependency(ZLIB @ZLIB_VERSION_MAJOR@)
|
7 |
+
endif()
|
8 |
+
|
9 |
+
+if("@USE_ARES@")
|
10 |
+
+ find_dependency(c-ares CONFIG)
|
11 |
+
+endif()
|
12 |
+
+if("@USE_LIBSSH2@")
|
13 |
+
+ find_dependency(Libssh2 CONFIG)
|
14 |
+
+endif()
|
15 |
+
+if("@HAVE_BROTLI@")
|
16 |
+
+ find_dependency(unofficial-brotli CONFIG)
|
17 |
+
+endif()
|
18 |
+
+
|
19 |
+
include("${CMAKE_CURRENT_LIST_DIR}/@[email protected]")
|
20 |
+
check_required_components("@PROJECT_NAME@")
|
21 |
+
|
22 |
+
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
23 |
+
index 049ac34..cc0fe19 100644
|
24 |
+
--- a/CMakeLists.txt
|
25 |
+
+++ b/CMakeLists.txt
|
26 |
+
@@ -178,7 +178,8 @@ set(CURL_LIBS "")
|
27 |
+
|
28 |
+
if(ENABLE_ARES)
|
29 |
+
set(USE_ARES 1)
|
30 |
+
- find_package(CARES REQUIRED)
|
31 |
+
+ find_package(CARES NAMES c-ares CONFIG REQUIRED)
|
32 |
+
+ set(CARES_LIBRARY c-ares::cares)
|
33 |
+
list(APPEND CURL_LIBS ${CARES_LIBRARY})
|
34 |
+
endif()
|
35 |
+
|
36 |
+
@@ -590,7 +591,9 @@ endif()
|
37 |
+
option(CURL_BROTLI "Set to ON to enable building curl with brotli support." OFF)
|
38 |
+
set(HAVE_BROTLI OFF)
|
39 |
+
if(CURL_BROTLI)
|
40 |
+
- find_package(Brotli REQUIRED)
|
41 |
+
+ find_package(BROTLI NAMES unofficial-brotli REQUIRED)
|
42 |
+
+ set(BROTLI_INCLUDE_DIRS "")
|
43 |
+
+ set(BROTLI_LIBRARIES "unofficial::brotli::brotlidec")
|
44 |
+
if(BROTLI_FOUND)
|
45 |
+
set(HAVE_BROTLI ON)
|
46 |
+
set(CURL_LIBS "${BROTLI_LIBRARIES};${CURL_LIBS}") # For 'ld' linker. Emulate `list(PREPEND ...)` to stay compatible with <v3.15 CMake.
|
47 |
+
@@ -873,7 +876,13 @@ mark_as_advanced(CURL_USE_LIBSSH2)
|
48 |
+
set(USE_LIBSSH2 OFF)
|
49 |
+
|
50 |
+
if(CURL_USE_LIBSSH2)
|
51 |
+
- find_package(LibSSH2)
|
52 |
+
+ find_package(LIBSSH2 NAMES Libssh2 REQUIRED)
|
53 |
+
+ if(TARGET Libssh2::libssh2_shared)
|
54 |
+
+ set(LIBSSH2_LIBRARY Libssh2::libssh2_shared)
|
55 |
+
+ else()
|
56 |
+
+ set(LIBSSH2_LIBRARY Libssh2::libssh2_static)
|
57 |
+
+ endif()
|
58 |
+
+ get_target_property(LIBSSH2_INCLUDE_DIR "${LIBSSH2_LIBRARY}" INTERFACE_INCLUDE_DIRECTORIES)
|
59 |
+
if(LIBSSH2_FOUND)
|
60 |
+
list(APPEND CURL_LIBS ${LIBSSH2_LIBRARY})
|
61 |
+
list(APPEND CMAKE_REQUIRED_INCLUDES "${LIBSSH2_INCLUDE_DIR}")
|
cc-multilingual-main/cc_net/vcpkg/ports/curl/mbedtls-ws2_32.patch
ADDED
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
diff --git a/CMake/FindMbedTLS.cmake b/CMake/FindMbedTLS.cmake
|
2 |
+
index 814bd97..8b17eac 100644
|
3 |
+
--- a/CMake/FindMbedTLS.cmake
|
4 |
+
+++ b/CMake/FindMbedTLS.cmake
|
5 |
+
@@ -28,6 +28,9 @@ find_library(MBEDX509_LIBRARY mbedx509)
|
6 |
+
find_library(MBEDCRYPTO_LIBRARY mbedcrypto)
|
7 |
+
|
8 |
+
set(MBEDTLS_LIBRARIES "${MBEDTLS_LIBRARY}" "${MBEDX509_LIBRARY}" "${MBEDCRYPTO_LIBRARY}")
|
9 |
+
+if(WIN32)
|
10 |
+
+ list(APPEND MBEDTLS_LIBRARIES ws2_32)
|
11 |
+
+endif()
|
12 |
+
|
13 |
+
include(FindPackageHandleStandardArgs)
|
14 |
+
find_package_handle_standard_args(MbedTLS DEFAULT_MSG
|
cc-multilingual-main/cc_net/vcpkg/ports/curl/portfile.cmake
ADDED
@@ -0,0 +1,148 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
string(REPLACE "." "_" curl_version "curl-${VERSION}")
|
2 |
+
vcpkg_from_github(
|
3 |
+
OUT_SOURCE_PATH SOURCE_PATH
|
4 |
+
REPO curl/curl
|
5 |
+
REF "${curl_version}"
|
6 |
+
SHA512 ee9f6c3b5468ab547fc20822c18756a625f9f741e3d40958548a56b607f567f4ed782b8cce2d900c442e0da51faa8cb1fefa5d9f2d1581c79805a5b8fd4ec098
|
7 |
+
HEAD_REF master
|
8 |
+
PATCHES
|
9 |
+
0002_fix_uwp.patch
|
10 |
+
0005_remove_imp_suffix.patch
|
11 |
+
0012-fix-dependency-idn2.patch
|
12 |
+
0020-fix-pc-file.patch
|
13 |
+
0022-deduplicate-libs.patch
|
14 |
+
mbedtls-ws2_32.patch
|
15 |
+
export-components.patch
|
16 |
+
dependencies.patch
|
17 |
+
cmake-config.patch
|
18 |
+
)
|
19 |
+
|
20 |
+
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
|
21 |
+
FEATURES
|
22 |
+
# Support HTTP2 TLS Download https://curl.haxx.se/ca/cacert.pem rename to curl-ca-bundle.crt, copy it to libcurl.dll location.
|
23 |
+
http2 USE_NGHTTP2
|
24 |
+
wolfssl CURL_USE_WOLFSSL
|
25 |
+
openssl CURL_USE_OPENSSL
|
26 |
+
mbedtls CURL_USE_MBEDTLS
|
27 |
+
ssh CURL_USE_LIBSSH2
|
28 |
+
tool BUILD_CURL_EXE
|
29 |
+
c-ares ENABLE_ARES
|
30 |
+
sspi CURL_WINDOWS_SSPI
|
31 |
+
brotli CURL_BROTLI
|
32 |
+
schannel CURL_USE_SCHANNEL
|
33 |
+
sectransp CURL_USE_SECTRANSP
|
34 |
+
idn2 USE_LIBIDN2
|
35 |
+
winidn USE_WIN32_IDN
|
36 |
+
websockets ENABLE_WEBSOCKETS
|
37 |
+
zstd CURL_ZSTD
|
38 |
+
INVERTED_FEATURES
|
39 |
+
ldap CURL_DISABLE_LDAP
|
40 |
+
ldap CURL_DISABLE_LDAPS
|
41 |
+
non-http HTTP_ONLY
|
42 |
+
)
|
43 |
+
|
44 |
+
set(OPTIONS "")
|
45 |
+
if("idn2" IN_LIST FEATURES OR ("ldap" IN_LIST FEATURES AND NOT VCPKG_TARGET_IS_WINDOWS))
|
46 |
+
vcpkg_find_acquire_program(PKGCONFIG)
|
47 |
+
list(APPEND OPTIONS "-DPKG_CONFIG_EXECUTABLE=${PKGCONFIG}")
|
48 |
+
endif()
|
49 |
+
|
50 |
+
if("sectransp" IN_LIST FEATURES)
|
51 |
+
list(APPEND OPTIONS -DCURL_CA_PATH=none -DCURL_CA_BUNDLE=none)
|
52 |
+
endif()
|
53 |
+
|
54 |
+
# UWP targets
|
55 |
+
if(VCPKG_TARGET_IS_UWP)
|
56 |
+
list(APPEND OPTIONS
|
57 |
+
-DCURL_DISABLE_TELNET=ON
|
58 |
+
-DENABLE_IPV6=OFF
|
59 |
+
-DENABLE_UNIX_SOCKETS=OFF
|
60 |
+
)
|
61 |
+
endif()
|
62 |
+
|
63 |
+
if(VCPKG_TARGET_IS_WINDOWS)
|
64 |
+
list(APPEND OPTIONS -DENABLE_UNICODE=ON)
|
65 |
+
endif()
|
66 |
+
|
67 |
+
vcpkg_cmake_configure(
|
68 |
+
SOURCE_PATH "${SOURCE_PATH}"
|
69 |
+
OPTIONS
|
70 |
+
"-DCMAKE_PROJECT_INCLUDE=${CMAKE_CURRENT_LIST_DIR}/cmake-project-include.cmake"
|
71 |
+
${FEATURE_OPTIONS}
|
72 |
+
${OPTIONS}
|
73 |
+
-DBUILD_TESTING=OFF
|
74 |
+
-DENABLE_CURL_MANUAL=OFF
|
75 |
+
-DCURL_CA_FALLBACK=ON
|
76 |
+
-DCURL_USE_LIBPSL=OFF
|
77 |
+
-DCMAKE_DISABLE_FIND_PACKAGE_Perl=ON
|
78 |
+
OPTIONS_DEBUG
|
79 |
+
-DENABLE_DEBUG=ON
|
80 |
+
)
|
81 |
+
vcpkg_cmake_install()
|
82 |
+
vcpkg_copy_pdbs()
|
83 |
+
|
84 |
+
if ("tool" IN_LIST FEATURES)
|
85 |
+
vcpkg_copy_tools(TOOL_NAMES curl AUTO_CLEAN)
|
86 |
+
endif()
|
87 |
+
|
88 |
+
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/CURL)
|
89 |
+
|
90 |
+
vcpkg_fixup_pkgconfig()
|
91 |
+
set(namespec "curl")
|
92 |
+
if(VCPKG_TARGET_IS_WINDOWS AND NOT VCPKG_TARGET_IS_MINGW)
|
93 |
+
set(namespec "libcurl")
|
94 |
+
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/lib/pkgconfig/libcurl.pc" " -lcurl" " -l${namespec}")
|
95 |
+
endif()
|
96 |
+
if(NOT DEFINED VCPKG_BUILD_TYPE)
|
97 |
+
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/debug/lib/pkgconfig/libcurl.pc" " -lcurl" " -l${namespec}-d")
|
98 |
+
endif()
|
99 |
+
|
100 |
+
#Fix install path
|
101 |
+
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/bin/curl-config" "${CURRENT_PACKAGES_DIR}" "\${prefix}")
|
102 |
+
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/bin/curl-config" "${CURRENT_INSTALLED_DIR}" "\${prefix}")
|
103 |
+
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/bin/curl-config" "\nprefix=\${prefix}" [=[prefix=$(CDPATH= cd -- "$(dirname -- "$0")"/../../.. && pwd -P)]=])
|
104 |
+
file(MAKE_DIRECTORY "${CURRENT_PACKAGES_DIR}/tools/${PORT}/bin")
|
105 |
+
file(RENAME "${CURRENT_PACKAGES_DIR}/bin/curl-config" "${CURRENT_PACKAGES_DIR}/tools/${PORT}/bin/curl-config")
|
106 |
+
if(EXISTS "${CURRENT_PACKAGES_DIR}/debug/bin/curl-config")
|
107 |
+
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/debug/bin/curl-config" "${CURRENT_PACKAGES_DIR}" "\${prefix}")
|
108 |
+
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/debug/bin/curl-config" "${CURRENT_INSTALLED_DIR}" "\${prefix}")
|
109 |
+
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/debug/bin/curl-config" "\nprefix=\${prefix}/debug" [=[prefix=$(CDPATH= cd -- "$(dirname -- "$0")"/../../../.. && pwd -P)]=])
|
110 |
+
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/debug/bin/curl-config" "-lcurl" "-l${namespec}-d")
|
111 |
+
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/debug/bin/curl-config" "curl." "curl-d.")
|
112 |
+
file(MAKE_DIRECTORY "${CURRENT_PACKAGES_DIR}/tools/${PORT}/debug/bin")
|
113 |
+
file(RENAME "${CURRENT_PACKAGES_DIR}/debug/bin/curl-config" "${CURRENT_PACKAGES_DIR}/tools/${PORT}/debug/bin/curl-config")
|
114 |
+
endif()
|
115 |
+
|
116 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
117 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|
118 |
+
if(VCPKG_LIBRARY_LINKAGE STREQUAL "static" OR NOT VCPKG_TARGET_IS_WINDOWS)
|
119 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/bin")
|
120 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/bin")
|
121 |
+
endif()
|
122 |
+
|
123 |
+
if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
|
124 |
+
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/include/curl/curl.h"
|
125 |
+
"#ifdef CURL_STATICLIB"
|
126 |
+
"#if 1"
|
127 |
+
)
|
128 |
+
endif()
|
129 |
+
|
130 |
+
file(INSTALL "${CURRENT_PORT_DIR}/vcpkg-cmake-wrapper.cmake" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")
|
131 |
+
file(INSTALL "${CURRENT_PORT_DIR}/usage" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")
|
132 |
+
|
133 |
+
file(READ "${SOURCE_PATH}/lib/krb5.c" krb5_c)
|
134 |
+
string(REGEX REPLACE "#i.*" "" krb5_c "${krb5_c}")
|
135 |
+
set(krb5_copyright "${CURRENT_BUILDTREES_DIR}/krb5.c Notice")
|
136 |
+
file(WRITE "${krb5_copyright}" "${krb5_c}")
|
137 |
+
|
138 |
+
file(READ "${SOURCE_PATH}/lib/inet_ntop.c" inet_ntop_c)
|
139 |
+
string(REGEX REPLACE "#i.*" "" inet_ntop_c "${inet_ntop_c}")
|
140 |
+
set(inet_ntop_copyright "${CURRENT_BUILDTREES_DIR}/inet_ntop.c and inet_pton.c Notice")
|
141 |
+
file(WRITE "${inet_ntop_copyright}" "${inet_ntop_c}")
|
142 |
+
|
143 |
+
vcpkg_install_copyright(
|
144 |
+
FILE_LIST
|
145 |
+
"${SOURCE_PATH}/COPYING"
|
146 |
+
"${krb5_copyright}"
|
147 |
+
"${inet_ntop_copyright}"
|
148 |
+
)
|
cc-multilingual-main/cc_net/vcpkg/ports/curl/usage
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
curl is compatible with built-in CMake targets:
|
2 |
+
|
3 |
+
find_package(CURL REQUIRED)
|
4 |
+
target_link_libraries(main PRIVATE CURL::libcurl)
|
cc-multilingual-main/cc_net/vcpkg/ports/curl/vcpkg-cmake-wrapper.cmake
ADDED
@@ -0,0 +1,75 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
cmake_policy(PUSH)
|
2 |
+
cmake_policy(SET CMP0012 NEW)
|
3 |
+
cmake_policy(SET CMP0054 NEW)
|
4 |
+
cmake_policy(SET CMP0057 NEW)
|
5 |
+
|
6 |
+
if(NOT CMAKE_VERSION VERSION_LESS 3.14 AND COMPONENTS IN_LIST ARGS)
|
7 |
+
include("${CMAKE_CURRENT_LIST_DIR}/CURLConfigComponents.cmake")
|
8 |
+
endif()
|
9 |
+
|
10 |
+
list(REMOVE_ITEM ARGS "NO_MODULE" "CONFIG" "MODULE")
|
11 |
+
_find_package(${ARGS} CONFIG)
|
12 |
+
|
13 |
+
if(CURL_FOUND)
|
14 |
+
include("${CMAKE_ROOT}/Modules/SelectLibraryConfigurations.cmake")
|
15 |
+
|
16 |
+
set(_curl_target CURL::libcurl_shared)
|
17 |
+
if(TARGET CURL::libcurl_static)
|
18 |
+
set(_curl_target CURL::libcurl_static)
|
19 |
+
endif()
|
20 |
+
get_target_property(_curl_include_dirs ${_curl_target} INTERFACE_INCLUDE_DIRECTORIES)
|
21 |
+
get_target_property(_curl_link_libraries ${_curl_target} INTERFACE_LINK_LIBRARIES)
|
22 |
+
if(NOT _curl_link_libraries)
|
23 |
+
set(_curl_link_libraries "")
|
24 |
+
endif()
|
25 |
+
if(_curl_link_libraries MATCHES "ZLIB::ZLIB")
|
26 |
+
string(REGEX REPLACE "([\$]<[^;]*)?ZLIB::ZLIB([^;]*>)?" "${ZLIB_LIBRARIES}" _curl_link_libraries "${_curl_link_libraries}")
|
27 |
+
endif()
|
28 |
+
if(_curl_link_libraries MATCHES "OpenSSL::")
|
29 |
+
string(REGEX REPLACE "([\$]<[^;]*)?OpenSSL::(SSL|Crypto)([^;]*>)?" "${OPENSSL_LIBRARIES}" _curl_link_libraries "${_curl_link_libraries}")
|
30 |
+
endif()
|
31 |
+
if(_curl_link_libraries MATCHES "Libssh2::libssh2_(shared|static)")
|
32 |
+
# TODO: move find_dependency(Libssh2 CONFIG) into CURL config
|
33 |
+
set(_libssh2_target "${CMAKE_MATCH_0}")
|
34 |
+
find_package(Libssh2 CONFIG QUIET)
|
35 |
+
get_target_property(_libssh2_LIBRARY_DEBUG "${_libssh2_target}" IMPORTED_IMPLIB_DEBUG)
|
36 |
+
get_target_property(_libssh2_LIBRARY_RELEASE "${_libssh2_target}" IMPORTED_IMPLIB_RELEASE)
|
37 |
+
if(NOT IMPORTED_IMPLIB_DEBUG AND NOT IMPORTED_IMPLIB_RELEASE)
|
38 |
+
get_target_property(_libssh2_LIBRARY_DEBUG "${_libssh2_target}" IMPORTED_LOCATION_DEBUG)
|
39 |
+
get_target_property(_libssh2_LIBRARY_RELEASE "${_libssh2_target}" IMPORTED_LOCATION_RELEASE)
|
40 |
+
endif()
|
41 |
+
select_library_configurations(_libssh2)
|
42 |
+
string(REGEX REPLACE "([\$]<[^;]*)?${_libssh2_target}([^;]*>)?" "${_libssh2_LIBRARIES}" _curl_link_libraries "${_curl_link_libraries}")
|
43 |
+
unset(_libssh2_LIBRARIES)
|
44 |
+
unset(_libssh2_LIBRARY_DEBUG)
|
45 |
+
unset(_libssh2_LIBRARY_RELEASE)
|
46 |
+
unset(_libssh2_target)
|
47 |
+
endif()
|
48 |
+
if(_curl_link_libraries MATCHES "::")
|
49 |
+
message(WARNING "CURL_LIBRARIES list at least one target. This will not work for use cases where targets are not resolved.")
|
50 |
+
endif()
|
51 |
+
|
52 |
+
if (CMAKE_SYSTEM_NAME STREQUAL "Windows" OR CMAKE_SYSTEM_NAME STREQUAL "WindowsStore")
|
53 |
+
get_target_property(_curl_location_debug ${_curl_target} IMPORTED_IMPLIB_DEBUG)
|
54 |
+
get_target_property(_curl_location_release ${_curl_target} IMPORTED_IMPLIB_RELEASE)
|
55 |
+
endif()
|
56 |
+
|
57 |
+
if(NOT _curl_location_debug AND NOT _curl_location_release)
|
58 |
+
get_target_property(_curl_location_debug ${_curl_target} IMPORTED_LOCATION_DEBUG)
|
59 |
+
get_target_property(_curl_location_release ${_curl_target} IMPORTED_LOCATION_RELEASE)
|
60 |
+
endif()
|
61 |
+
|
62 |
+
set(CURL_INCLUDE_DIRS "${_curl_include_dirs}")
|
63 |
+
set(CURL_LIBRARY_DEBUG "${_curl_location_debug}" CACHE INTERNAL "vcpkg")
|
64 |
+
set(CURL_LIBRARY_RELEASE "${_curl_location_release}" CACHE INTERNAL "vcpkg")
|
65 |
+
select_library_configurations(CURL)
|
66 |
+
set(CURL_LIBRARIES ${CURL_LIBRARY} ${_curl_link_libraries})
|
67 |
+
set(CURL_VERSION_STRING "${CURL_VERSION}")
|
68 |
+
|
69 |
+
unset(_curl_include_dirs)
|
70 |
+
unset(_curl_link_libraries)
|
71 |
+
unset(_curl_location_debug)
|
72 |
+
unset(_curl_location_release)
|
73 |
+
unset(_curl_target)
|
74 |
+
endif()
|
75 |
+
cmake_policy(POP)
|
cc-multilingual-main/cc_net/vcpkg/ports/curl/vcpkg.json
ADDED
@@ -0,0 +1,227 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "curl",
|
3 |
+
"version": "8.6.0",
|
4 |
+
"port-version": 1,
|
5 |
+
"description": "A library for transferring data with URLs",
|
6 |
+
"homepage": "https://curl.se/",
|
7 |
+
"license": "curl AND ISC AND BSD-3-Clause",
|
8 |
+
"dependencies": [
|
9 |
+
{
|
10 |
+
"name": "vcpkg-cmake",
|
11 |
+
"host": true
|
12 |
+
},
|
13 |
+
{
|
14 |
+
"name": "vcpkg-cmake-config",
|
15 |
+
"host": true
|
16 |
+
},
|
17 |
+
"zlib"
|
18 |
+
],
|
19 |
+
"default-features": [
|
20 |
+
"non-http",
|
21 |
+
"ssl"
|
22 |
+
],
|
23 |
+
"features": {
|
24 |
+
"brotli": {
|
25 |
+
"description": "brotli support (brotli)",
|
26 |
+
"dependencies": [
|
27 |
+
"brotli"
|
28 |
+
]
|
29 |
+
},
|
30 |
+
"c-ares": {
|
31 |
+
"description": "c-ares support",
|
32 |
+
"dependencies": [
|
33 |
+
"c-ares"
|
34 |
+
]
|
35 |
+
},
|
36 |
+
"http2": {
|
37 |
+
"description": "HTTP2 support",
|
38 |
+
"dependencies": [
|
39 |
+
{
|
40 |
+
"name": "curl",
|
41 |
+
"default-features": false,
|
42 |
+
"features": [
|
43 |
+
"ssl"
|
44 |
+
]
|
45 |
+
},
|
46 |
+
"nghttp2"
|
47 |
+
]
|
48 |
+
},
|
49 |
+
"idn": {
|
50 |
+
"description": "Default IDN support",
|
51 |
+
"dependencies": [
|
52 |
+
{
|
53 |
+
"name": "curl",
|
54 |
+
"default-features": false,
|
55 |
+
"features": [
|
56 |
+
"winidn"
|
57 |
+
],
|
58 |
+
"platform": "windows"
|
59 |
+
},
|
60 |
+
{
|
61 |
+
"name": "curl",
|
62 |
+
"default-features": false,
|
63 |
+
"features": [
|
64 |
+
"idn2"
|
65 |
+
],
|
66 |
+
"platform": "!windows"
|
67 |
+
}
|
68 |
+
]
|
69 |
+
},
|
70 |
+
"idn2": {
|
71 |
+
"description": "idn2 support (libidn2)",
|
72 |
+
"dependencies": [
|
73 |
+
"libidn2"
|
74 |
+
]
|
75 |
+
},
|
76 |
+
"ldap": {
|
77 |
+
"description": "LDAP support",
|
78 |
+
"supports": "!uwp",
|
79 |
+
"dependencies": [
|
80 |
+
{
|
81 |
+
"name": "curl",
|
82 |
+
"default-features": false,
|
83 |
+
"features": [
|
84 |
+
"non-http"
|
85 |
+
]
|
86 |
+
},
|
87 |
+
{
|
88 |
+
"name": "openldap",
|
89 |
+
"platform": "!windows"
|
90 |
+
}
|
91 |
+
]
|
92 |
+
},
|
93 |
+
"mbedtls": {
|
94 |
+
"description": "SSL support (mbedTLS)",
|
95 |
+
"dependencies": [
|
96 |
+
"mbedtls"
|
97 |
+
]
|
98 |
+
},
|
99 |
+
"non-http": {
|
100 |
+
"description": "Enables protocols beyond HTTP/HTTPS/HTTP2"
|
101 |
+
},
|
102 |
+
"openssl": {
|
103 |
+
"description": "SSL support (OpenSSL)",
|
104 |
+
"dependencies": [
|
105 |
+
"openssl"
|
106 |
+
]
|
107 |
+
},
|
108 |
+
"schannel": {
|
109 |
+
"description": "SSL support (Secure Channel)",
|
110 |
+
"supports": "windows & !uwp",
|
111 |
+
"dependencies": [
|
112 |
+
{
|
113 |
+
"name": "curl",
|
114 |
+
"default-features": false,
|
115 |
+
"features": [
|
116 |
+
"sspi"
|
117 |
+
]
|
118 |
+
}
|
119 |
+
]
|
120 |
+
},
|
121 |
+
"sectransp": {
|
122 |
+
"description": "SSL support (sectransp)",
|
123 |
+
"supports": "osx | ios"
|
124 |
+
},
|
125 |
+
"ssh": {
|
126 |
+
"description": "SSH support via libssh2",
|
127 |
+
"dependencies": [
|
128 |
+
{
|
129 |
+
"name": "curl",
|
130 |
+
"default-features": false,
|
131 |
+
"features": [
|
132 |
+
"non-http"
|
133 |
+
]
|
134 |
+
},
|
135 |
+
{
|
136 |
+
"name": "curl",
|
137 |
+
"default-features": false,
|
138 |
+
"features": [
|
139 |
+
"openssl"
|
140 |
+
]
|
141 |
+
},
|
142 |
+
"libssh2"
|
143 |
+
]
|
144 |
+
},
|
145 |
+
"ssl": {
|
146 |
+
"description": "Default SSL backend",
|
147 |
+
"dependencies": [
|
148 |
+
{
|
149 |
+
"name": "curl",
|
150 |
+
"default-features": false,
|
151 |
+
"features": [
|
152 |
+
"sectransp"
|
153 |
+
],
|
154 |
+
"platform": "osx | ios"
|
155 |
+
},
|
156 |
+
{
|
157 |
+
"name": "curl",
|
158 |
+
"default-features": false,
|
159 |
+
"features": [
|
160 |
+
"schannel"
|
161 |
+
],
|
162 |
+
"platform": "(windows & !uwp) | mingw"
|
163 |
+
},
|
164 |
+
{
|
165 |
+
"name": "curl",
|
166 |
+
"default-features": false,
|
167 |
+
"features": [
|
168 |
+
"openssl"
|
169 |
+
],
|
170 |
+
"platform": "(uwp | !windows) & !(osx | ios) & !mingw"
|
171 |
+
}
|
172 |
+
]
|
173 |
+
},
|
174 |
+
"sspi": {
|
175 |
+
"description": "SSPI support",
|
176 |
+
"supports": "windows & !uwp"
|
177 |
+
},
|
178 |
+
"tool": {
|
179 |
+
"description": "Builds curl executable",
|
180 |
+
"supports": "!uwp"
|
181 |
+
},
|
182 |
+
"websockets": {
|
183 |
+
"description": "WebSocket support (experimental)"
|
184 |
+
},
|
185 |
+
"winidn": {
|
186 |
+
"description": "WinIDN support",
|
187 |
+
"supports": "windows"
|
188 |
+
},
|
189 |
+
"winldap": {
|
190 |
+
"description": "Obsolete. Use feature 'ldap' instead.",
|
191 |
+
"dependencies": [
|
192 |
+
{
|
193 |
+
"name": "curl",
|
194 |
+
"default-features": false,
|
195 |
+
"features": [
|
196 |
+
"ldap"
|
197 |
+
]
|
198 |
+
}
|
199 |
+
]
|
200 |
+
},
|
201 |
+
"winssl": {
|
202 |
+
"description": "Legacy name for schannel",
|
203 |
+
"supports": "windows & !uwp",
|
204 |
+
"dependencies": [
|
205 |
+
{
|
206 |
+
"name": "curl",
|
207 |
+
"default-features": false,
|
208 |
+
"features": [
|
209 |
+
"schannel"
|
210 |
+
]
|
211 |
+
}
|
212 |
+
]
|
213 |
+
},
|
214 |
+
"wolfssl": {
|
215 |
+
"description": "SSL support (wolfSSL)",
|
216 |
+
"dependencies": [
|
217 |
+
"wolfssl"
|
218 |
+
]
|
219 |
+
},
|
220 |
+
"zstd": {
|
221 |
+
"description": "ZStandard support (zstd)",
|
222 |
+
"dependencies": [
|
223 |
+
"zstd"
|
224 |
+
]
|
225 |
+
}
|
226 |
+
}
|
227 |
+
}
|
cc-multilingual-main/cc_net/vcpkg/ports/datraw/portfile.cmake
ADDED
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
set(VCPKG_BUILD_TYPE release) # header-only library
|
2 |
+
|
3 |
+
vcpkg_from_github(
|
4 |
+
OUT_SOURCE_PATH SOURCE_PATH
|
5 |
+
REPO UniStuttgart-VISUS/datraw
|
6 |
+
REF "v${VERSION}"
|
7 |
+
SHA512 f38401e0e878f8df8e1b7b9750f4e7fec6920495bfb914a694aab166a0ffbda6dec189693a0d5b9aadb760789706e255f49a382d4e902002aef7120033dce016
|
8 |
+
HEAD_REF master
|
9 |
+
)
|
10 |
+
|
11 |
+
file(COPY "${SOURCE_PATH}/datraw/datraw.h" "${SOURCE_PATH}/datraw/datraw"
|
12 |
+
DESTINATION "${CURRENT_PACKAGES_DIR}/include")
|
13 |
+
|
14 |
+
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENCE.md")
|
cc-multilingual-main/cc_net/vcpkg/ports/datraw/vcpkg.json
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "datraw",
|
3 |
+
"version": "1.0.9",
|
4 |
+
"description": "C++ reimplementation of VIS's datraw library.",
|
5 |
+
"homepage": "https://github.com/UniStuttgart-VISUS/datraw",
|
6 |
+
"license": "MIT"
|
7 |
+
}
|
cc-multilingual-main/cc_net/vcpkg/ports/glog/fix_crosscompile_symbolize.patch
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
2 |
+
index fe1d85f..985f5f5 100644
|
3 |
+
--- a/CMakeLists.txt
|
4 |
+
+++ b/CMakeLists.txt
|
5 |
+
@@ -243,6 +243,9 @@ endif (HAVE_EXECINFO_BACKTRACE AND HAVE_EXECINFO_BACKTRACE_SYMBOLS)
|
6 |
+
|
7 |
+
if (WITH_SYMBOLIZE)
|
8 |
+
if (WIN32 OR CYGWIN)
|
9 |
+
+ if(CMAKE_CROSSCOMPILING)
|
10 |
+
+ set(HAVE_SYMBOLIZE 0)
|
11 |
+
+ else()
|
12 |
+
cmake_push_check_state (RESET)
|
13 |
+
set (CMAKE_REQUIRED_LIBRARIES DbgHelp)
|
14 |
+
|
15 |
+
@@ -273,6 +276,7 @@ if (WITH_SYMBOLIZE)
|
16 |
+
]=] HAVE_SYMBOLIZE)
|
17 |
+
|
18 |
+
cmake_pop_check_state ()
|
19 |
+
+ endif()
|
20 |
+
|
21 |
+
if (HAVE_SYMBOLIZE)
|
22 |
+
set (HAVE_STACKTRACE 1)
|
cc-multilingual-main/cc_net/vcpkg/ports/glog/vcpkg.json
ADDED
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "glog",
|
3 |
+
"version": "0.7.0",
|
4 |
+
"description": "C++ implementation of the Google logging module",
|
5 |
+
"homepage": "https://github.com/google/glog",
|
6 |
+
"license": "BSD-3-Clause",
|
7 |
+
"dependencies": [
|
8 |
+
"gflags",
|
9 |
+
{
|
10 |
+
"name": "vcpkg-cmake",
|
11 |
+
"host": true
|
12 |
+
},
|
13 |
+
{
|
14 |
+
"name": "vcpkg-cmake-config",
|
15 |
+
"host": true
|
16 |
+
}
|
17 |
+
],
|
18 |
+
"features": {
|
19 |
+
"customprefix": {
|
20 |
+
"description": "Enable support for user-generated message prefixes"
|
21 |
+
},
|
22 |
+
"unwind": {
|
23 |
+
"description": "Enable libunwind support",
|
24 |
+
"supports": "linux"
|
25 |
+
}
|
26 |
+
}
|
27 |
+
}
|
cc-multilingual-main/cc_net/vcpkg/ports/gtsam/build-fixes.patch
ADDED
@@ -0,0 +1,73 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
diff --git a/cmake/Config.cmake.in b/cmake/Config.cmake.in
|
2 |
+
index cc2a7df8f..e11de1815 100644
|
3 |
+
--- a/cmake/Config.cmake.in
|
4 |
+
+++ b/cmake/Config.cmake.in
|
5 |
+
@@ -25,6 +25,14 @@ if(@GTSAM_USE_SYSTEM_EIGEN@)
|
6 |
+
find_dependency(Eigen3 REQUIRED)
|
7 |
+
endif()
|
8 |
+
|
9 |
+
+if(@GTSAM_USE_SYSTEM_METIS@)
|
10 |
+
+find_dependency(metis REQUIRED)
|
11 |
+
+endif()
|
12 |
+
+
|
13 |
+
+if(@GTSAM_USE_TBB@)
|
14 |
+
+find_dependency(TBB REQUIRED)
|
15 |
+
+endif()
|
16 |
+
+
|
17 |
+
# Load exports
|
18 |
+
include(${OUR_CMAKE_DIR}/@[email protected])
|
19 |
+
|
20 |
+
diff --git a/cmake/FindTBB.cmake b/cmake/FindTBB.cmake
|
21 |
+
index 0ecd4ca0e..725589a2d 100644
|
22 |
+
--- a/cmake/FindTBB.cmake
|
23 |
+
+++ b/cmake/FindTBB.cmake
|
24 |
+
@@ -1,3 +1,4 @@
|
25 |
+
+if(0)
|
26 |
+
# The MIT License (MIT)
|
27 |
+
#
|
28 |
+
# Copyright (c) 2015 Justus Calvin
|
29 |
+
@@ -321,3 +322,4 @@ if(NOT TBB_FOUND)
|
30 |
+
unset(TBB_DEFAULT_SEARCH_DIR)
|
31 |
+
|
32 |
+
endif()
|
33 |
+
+endif()
|
34 |
+
|
35 |
+
diff --git a/cmake/HandleMetis.cmake b/cmake/HandleMetis.cmake
|
36 |
+
index 5cbec4ff5..10dbb53de 100644
|
37 |
+
--- a/cmake/HandleMetis.cmake
|
38 |
+
+++ b/cmake/HandleMetis.cmake
|
39 |
+
@@ -13,10 +13,9 @@ option(GTSAM_USE_SYSTEM_METIS "Find and use system-installed libmetis. If 'off',
|
40 |
+
if(GTSAM_USE_SYSTEM_METIS)
|
41 |
+
# Debian package: libmetis-dev
|
42 |
+
|
43 |
+
- find_path(METIS_INCLUDE_DIR metis.h REQUIRED)
|
44 |
+
- find_library(METIS_LIBRARY metis REQUIRED)
|
45 |
+
+ find_package(metis CONFIG REQUIRED)
|
46 |
+
|
47 |
+
- if(METIS_INCLUDE_DIR AND METIS_LIBRARY)
|
48 |
+
+ if(metis_FOUND)
|
49 |
+
mark_as_advanced(METIS_INCLUDE_DIR)
|
50 |
+
mark_as_advanced(METIS_LIBRARY)
|
51 |
+
|
52 |
+
@@ -27,7 +26,7 @@ if(GTSAM_USE_SYSTEM_METIS)
|
53 |
+
$<BUILD_INTERFACE:${GTSAM_SOURCE_DIR}/gtsam/3rdparty/metis/libmetis>
|
54 |
+
$<BUILD_INTERFACE:${GTSAM_SOURCE_DIR}/gtsam/3rdparty/metis/GKlib>
|
55 |
+
)
|
56 |
+
- target_link_libraries(metis-gtsam-if INTERFACE ${METIS_LIBRARY})
|
57 |
+
+ target_link_libraries(metis-gtsam-if INTERFACE ${METIS_LIBRARY} metis)
|
58 |
+
endif()
|
59 |
+
else()
|
60 |
+
# Bundled version:
|
61 |
+
diff --git a/cmake/HandleTBB.cmake b/cmake/HandleTBB.cmake
|
62 |
+
index fb944ba5b..393aeb345 100644
|
63 |
+
--- a/cmake/HandleTBB.cmake
|
64 |
+
+++ b/cmake/HandleTBB.cmake
|
65 |
+
@@ -14,7 +14,7 @@ if (GTSAM_WITH_TBB)
|
66 |
+
endif()
|
67 |
+
# all definitions and link requisites will go via imported targets:
|
68 |
+
# tbb & tbbmalloc
|
69 |
+
- list(APPEND GTSAM_ADDITIONAL_LIBRARIES tbb tbbmalloc)
|
70 |
+
+ list(APPEND GTSAM_ADDITIONAL_LIBRARIES TBB::tbb TBB::tbbmalloc)
|
71 |
+
else()
|
72 |
+
set(GTSAM_USE_TBB 0) # This will go into config.h
|
73 |
+
endif()
|
cc-multilingual-main/cc_net/vcpkg/ports/gtsam/path-fixes.patch
ADDED
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
diff --git a/cmake/Config.cmake.in b/cmake/Config.cmake.in
|
2 |
+
index e11de1815..a25a9883d 100644
|
3 |
+
--- a/cmake/Config.cmake.in
|
4 |
+
+++ b/cmake/Config.cmake.in
|
5 |
+
@@ -4,13 +4,8 @@
|
6 |
+
|
7 |
+
# Compute paths
|
8 |
+
get_filename_component(OUR_CMAKE_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)
|
9 |
+
-if(EXISTS "${OUR_CMAKE_DIR}/CMakeCache.txt")
|
10 |
+
- # In build tree
|
11 |
+
- set(@PACKAGE_NAME@_INCLUDE_DIR @GTSAM_SOURCE_DIR@ CACHE PATH "@PACKAGE_NAME@ include directory")
|
12 |
+
-else()
|
13 |
+
- # Find installed library
|
14 |
+
- set(@PACKAGE_NAME@_INCLUDE_DIR "${OUR_CMAKE_DIR}/@CONF_REL_INCLUDE_DIR@" CACHE PATH "@PACKAGE_NAME@ include directory")
|
15 |
+
-endif()
|
16 |
+
+# Find installed library
|
17 |
+
+set(@PACKAGE_NAME@_INCLUDE_DIR "${OUR_CMAKE_DIR}/@CONF_REL_INCLUDE_DIR@" CACHE PATH "@PACKAGE_NAME@ include directory")
|
18 |
+
|
19 |
+
# Find dependencies, required by cmake exported targets:
|
20 |
+
include(CMakeFindDependencyMacro)
|
21 |
+
diff --git a/gtsam/config.h.in b/gtsam/config.h.in
|
22 |
+
index d47329a62..60ca62931 100644
|
23 |
+
--- a/gtsam/config.h.in
|
24 |
+
+++ b/gtsam/config.h.in
|
25 |
+
@@ -25,7 +25,7 @@
|
26 |
+
#define GTSAM_VERSION_STRING "@GTSAM_VERSION_STRING@"
|
27 |
+
|
28 |
+
// Paths to example datasets distributed with GTSAM
|
29 |
+
-#define GTSAM_SOURCE_TREE_DATASET_DIR "@GTSAM_SOURCE_DIR@/examples/Data"
|
30 |
+
+#define GTSAM_SOURCE_TREE_DATASET_DIR ""
|
31 |
+
#define GTSAM_INSTALLED_DATASET_DIR "@GTSAM_TOOLBOX_INSTALL_PATH@/gtsam_examples/Data"
|
32 |
+
|
33 |
+
// Whether GTSAM is compiled to use quaternions for Rot3 (otherwise uses rotation matrices)
|
cc-multilingual-main/cc_net/vcpkg/ports/gtsam/portfile.cmake
ADDED
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
vcpkg_from_github(
|
2 |
+
OUT_SOURCE_PATH SOURCE_PATH
|
3 |
+
REPO borglab/gtsam
|
4 |
+
REF ${VERSION}
|
5 |
+
SHA512 0aae0b785a3f7ae25008d0938848e93519786521cca9cd0cd1a8937ec5ac46f3b1ca1bfaaff1ca5812c92f8ef55b729a06c57632da5dd8fc38afc22d3047f8e0
|
6 |
+
HEAD_REF master
|
7 |
+
PATCHES
|
8 |
+
build-fixes.patch
|
9 |
+
path-fixes.patch
|
10 |
+
)
|
11 |
+
|
12 |
+
vcpkg_cmake_configure(
|
13 |
+
SOURCE_PATH "${SOURCE_PATH}"
|
14 |
+
OPTIONS
|
15 |
+
-DGTSAM_BUILD_TESTS=OFF
|
16 |
+
-DGTSAM_BUILD_EXAMPLES_ALWAYS=OFF
|
17 |
+
-DGTSAM_BUILD_TIMING_ALWAYS=OFF
|
18 |
+
-DGTSAM_BUILD_UNSTABLE=OFF
|
19 |
+
-DGTSAM_UNSTABLE_BUILD_PYTHON=OFF
|
20 |
+
-DGTSAM_USE_SYSTEM_EIGEN=On
|
21 |
+
-DGTSAM_USE_SYSTEM_METIS=On
|
22 |
+
-DGTSAM_INSTALL_CPPUNITLITE=OFF
|
23 |
+
-DGTSAM_BUILD_TYPE_POSTFIXES=OFF
|
24 |
+
-DCMAKE_CXX_STANDARD=11 # Boost v1.84.0 libraries require C++11
|
25 |
+
)
|
26 |
+
|
27 |
+
vcpkg_cmake_install()
|
28 |
+
if (WIN32)
|
29 |
+
vcpkg_cmake_config_fixup(PACKAGE_NAME GTSAM CONFIG_PATH CMAKE)
|
30 |
+
else()
|
31 |
+
vcpkg_cmake_config_fixup(PACKAGE_NAME GTSAM CONFIG_PATH lib/cmake/GTSAM)
|
32 |
+
endif()
|
33 |
+
vcpkg_copy_pdbs()
|
34 |
+
|
35 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
36 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|
37 |
+
|
38 |
+
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE" "${SOURCE_PATH}/LICENSE.BSD")
|
39 |
+
file(INSTALL "${CMAKE_CURRENT_LIST_DIR}/usage" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")
|
cc-multilingual-main/cc_net/vcpkg/ports/gtsam/usage
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
The package gtsam is compatible with built-in CMake targets:
|
2 |
+
|
3 |
+
find_package(GTSAM CONFIG REQUIRED)
|
4 |
+
target_link_libraries(main PRIVATE gtsam)
|
cc-multilingual-main/cc_net/vcpkg/ports/gtsam/vcpkg.json
ADDED
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "gtsam",
|
3 |
+
"version-string": "4.2a9",
|
4 |
+
"port-version": 1,
|
5 |
+
"description": "GTSAM is a library of C++ classes that implement smoothing and mapping (SAM) in robotics and vision, using factor graphs and Bayes networks as the underlying computing paradigm rather than sparse matrices.",
|
6 |
+
"homepage": "https://github.com/borglab/gtsam",
|
7 |
+
"license": "BSD-3-Clause",
|
8 |
+
"dependencies": [
|
9 |
+
"boost-assign",
|
10 |
+
"boost-bimap",
|
11 |
+
"boost-date-time",
|
12 |
+
"boost-filesystem",
|
13 |
+
"boost-format",
|
14 |
+
"boost-graph",
|
15 |
+
"boost-math",
|
16 |
+
"boost-program-options",
|
17 |
+
"boost-regex",
|
18 |
+
"boost-serialization",
|
19 |
+
"boost-system",
|
20 |
+
"boost-thread",
|
21 |
+
"boost-timer",
|
22 |
+
"eigen3",
|
23 |
+
"metis",
|
24 |
+
"tbb",
|
25 |
+
{
|
26 |
+
"name": "vcpkg-cmake",
|
27 |
+
"host": true
|
28 |
+
},
|
29 |
+
{
|
30 |
+
"name": "vcpkg-cmake-config",
|
31 |
+
"host": true
|
32 |
+
}
|
33 |
+
]
|
34 |
+
}
|
cc-multilingual-main/cc_net/vcpkg/ports/kf5itemviews/portfile.cmake
ADDED
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
vcpkg_from_github(
|
2 |
+
OUT_SOURCE_PATH SOURCE_PATH
|
3 |
+
REPO KDE/kitemviews
|
4 |
+
REF v5.98.0
|
5 |
+
SHA512 1a9643376c971323a82a8ef909a9c31f168bdf89842ebf667ac69c9d76c51fc8124eb366c602b2bdff28082c9199690be6091d2634ebf12a07aeeaddd96810ab
|
6 |
+
)
|
7 |
+
|
8 |
+
# Prevent KDEClangFormat from writing to source effectively blocking parallel configure
|
9 |
+
file(WRITE "${SOURCE_PATH}/.clang-format" "DisableFormat: true\nSortIncludes: false\n")
|
10 |
+
|
11 |
+
vcpkg_cmake_configure(
|
12 |
+
SOURCE_PATH "${SOURCE_PATH}"
|
13 |
+
OPTIONS
|
14 |
+
-DBUILD_TESTING=OFF
|
15 |
+
-DBUILD_DESIGNERPLUGIN=OFF
|
16 |
+
)
|
17 |
+
|
18 |
+
vcpkg_cmake_install()
|
19 |
+
vcpkg_cmake_config_fixup(PACKAGE_NAME KF5ItemViews CONFIG_PATH lib/cmake/KF5ItemViews)
|
20 |
+
vcpkg_copy_pdbs()
|
21 |
+
|
22 |
+
if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
|
23 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/bin" "${CURRENT_PACKAGES_DIR}/debug/bin")
|
24 |
+
endif()
|
25 |
+
|
26 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
27 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|
28 |
+
|
29 |
+
file(GLOB LICENSE_FILES "${SOURCE_PATH}/LICENSES/*")
|
30 |
+
vcpkg_install_copyright(FILE_LIST ${LICENSE_FILES})
|
31 |
+
|
cc-multilingual-main/cc_net/vcpkg/ports/kf5itemviews/vcpkg.json
ADDED
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "kf5itemviews",
|
3 |
+
"version": "5.98.0",
|
4 |
+
"description": "Widget addons for Qt Model/View",
|
5 |
+
"homepage": "https://api.kde.org/frameworks/kitemviews/html/index.html",
|
6 |
+
"dependencies": [
|
7 |
+
"ecm",
|
8 |
+
"qt5-base",
|
9 |
+
"qt5-tools",
|
10 |
+
{
|
11 |
+
"name": "vcpkg-cmake",
|
12 |
+
"host": true
|
13 |
+
},
|
14 |
+
{
|
15 |
+
"name": "vcpkg-cmake-config",
|
16 |
+
"host": true
|
17 |
+
}
|
18 |
+
]
|
19 |
+
}
|
cc-multilingual-main/cc_net/vcpkg/ports/libbf/portfile.cmake
ADDED
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
vcpkg_download_distfile(
|
2 |
+
STDEXCEPT_PATCH
|
3 |
+
URLS https://github.com/mavam/libbf/commit/7720a2cdfdf211ac10d5f9c5b0988e1cae03d3ba.patch?full_index=1
|
4 |
+
SHA512 0f414bec3797361ad8c0cd2c869d21ee9c8f05609d2c00295e0b7cf252ca42ad2230bfece7dde839ac5d47221b54034446056337f16739a346510a14b383566c
|
5 |
+
FILENAME 7720a2cdfdf211ac10d5f9c5b0988e1cae03d3ba.patch
|
6 |
+
)
|
7 |
+
|
8 |
+
vcpkg_download_distfile(
|
9 |
+
ALGORITHM_PATCH
|
10 |
+
URLS https://github.com/mavam/libbf/commit/b2168dc4590a0251ec40ada4ab835eb3aec893e7.patch?full_index=1
|
11 |
+
SHA512 549163cec577d611c382d50f2dfbd99716f54d2d95b675ebd1cde5842e795b64272116cc0997c1415dad916cb7d1f538bd275d4f57013224af1eb9af7cfdf2e6
|
12 |
+
FILENAME b2168dc4590a0251ec40ada4ab835eb3aec893e7.patch
|
13 |
+
)
|
14 |
+
|
15 |
+
vcpkg_from_github(
|
16 |
+
OUT_SOURCE_PATH SOURCE_PATH
|
17 |
+
REPO mavam/libbf
|
18 |
+
REF v1.0.0
|
19 |
+
SHA512 04db7adbeb4bc6b20aed7f2676840499ed1afe499b4cab67f27d4a0ad234c1fb06eced24259f37870ec4760fe74d6d6307b5d11b3cd928b975661eb2966d4db8
|
20 |
+
HEAD_REF master
|
21 |
+
PATCHES
|
22 |
+
"${STDEXCEPT_PATCH}"
|
23 |
+
"${ALGORITHM_PATCH}"
|
24 |
+
)
|
25 |
+
|
26 |
+
vcpkg_cmake_configure(
|
27 |
+
SOURCE_PATH "${SOURCE_PATH}"
|
28 |
+
)
|
29 |
+
|
30 |
+
vcpkg_cmake_install()
|
31 |
+
vcpkg_copy_pdbs()
|
32 |
+
|
33 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
34 |
+
|
35 |
+
file(INSTALL "${SOURCE_PATH}/COPYING" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
cc-multilingual-main/cc_net/vcpkg/ports/libbf/vcpkg.json
ADDED
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "libbf",
|
3 |
+
"version": "1.0.0",
|
4 |
+
"port-version": 4,
|
5 |
+
"description": "Bloom filters for C++11.",
|
6 |
+
"license": "BSD-3-Clause",
|
7 |
+
"supports": "!windows",
|
8 |
+
"dependencies": [
|
9 |
+
{
|
10 |
+
"name": "vcpkg-cmake",
|
11 |
+
"host": true
|
12 |
+
}
|
13 |
+
]
|
14 |
+
}
|
cc-multilingual-main/cc_net/vcpkg/ports/libcds/001-cmake-install.patch
ADDED
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
2 |
+
index d97ee07..f8affbb 100644
|
3 |
+
--- a/CMakeLists.txt
|
4 |
+
+++ b/CMakeLists.txt
|
5 |
+
@@ -34,6 +34,10 @@ if(APPLE)
|
6 |
+
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -D_DARWIN_C_SOURCE")
|
7 |
+
endif()
|
8 |
+
|
9 |
+
+if(MSVC)
|
10 |
+
+ add_definitions(-DCDS_BUILD_LIB)
|
11 |
+
+endif()
|
12 |
+
+
|
13 |
+
if(WITH_BOOST_ATOMIC)
|
14 |
+
if(TARGET boost::atomic)
|
15 |
+
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DCDS_USE_BOOST_ATOMIC")
|
16 |
+
@@ -186,9 +190,13 @@ target_compile_options(${CDS_STATIC_LIBRARY} PUBLIC "${LIBCDS_PUBLIC_CXX_FLAGS}"
|
17 |
+
target_compile_options(${CDS_SHARED_LIBRARY} PRIVATE "${LIBCDS_PRIVATE_CXX_FLAGS}")
|
18 |
+
target_compile_options(${CDS_STATIC_LIBRARY} PRIVATE "${LIBCDS_PRIVATE_CXX_FLAGS}")
|
19 |
+
|
20 |
+
-install(TARGETS ${CDS_SHARED_LIBRARY} EXPORT LibCDSConfig LIBRARY DESTINATION lib${LIB_SUFFIX} COMPONENT ${LIBRARIES_COMPONENT} NAMELINK_SKIP RUNTIME DESTINATION lib${LIB_SUFFIX})
|
21 |
+
-install(TARGETS ${CDS_SHARED_LIBRARY} EXPORT LibCDSConfig LIBRARY DESTINATION lib${LIB_SUFFIX} COMPONENT ${HEADERS_COMPONENT} NAMELINK_ONLY)
|
22 |
+
-install(TARGETS ${CDS_STATIC_LIBRARY} EXPORT LibCDSConfig DESTINATION lib${LIB_SUFFIX} COMPONENT ${LIBRARIES_COMPONENT})
|
23 |
+
+if (NOT DISABLE_INSTALL_SHARED)
|
24 |
+
+ install(TARGETS ${CDS_SHARED_LIBRARY} EXPORT LibCDSConfig RUNTIME DESTINATION bin ARCHIVE DESTINATION lib LIBRARY DESTINATION lib${LIB_SUFFIX} COMPONENT ${LIBRARIES_COMPONENT})
|
25 |
+
+ #install(TARGETS ${CDS_SHARED_LIBRARY} EXPORT LibCDSConfig RUNTIME DESTINATION bin ARCHIVE DESTINATION lib LIBRARY DESTINATION lib${LIB_SUFFIX} COMPONENT ${HEADERS_COMPONENT} NAMELINK_ONLY)
|
26 |
+
+endif()
|
27 |
+
+if (NOT DISABLE_INSTALL_STATIC)
|
28 |
+
+ install(TARGETS ${CDS_STATIC_LIBRARY} EXPORT LibCDSConfig DESTINATION lib${LIB_SUFFIX} COMPONENT ${LIBRARIES_COMPONENT})
|
29 |
+
+endif()
|
30 |
+
install(EXPORT LibCDSConfig FILE LibCDSConfig.cmake NAMESPACE LibCDS:: DESTINATION lib/cmake/LibCDS)
|
31 |
+
install(DIRECTORY ${PROJECT_SOURCE_DIR}/cds DESTINATION include COMPONENT ${HEADERS_COMPONENT})
|
32 |
+
|
cc-multilingual-main/cc_net/vcpkg/ports/mozjpeg/fix-install-error.patch
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
2 |
+
index ae07280..54dc4f3 100644
|
3 |
+
--- a/CMakeLists.txt
|
4 |
+
+++ b/CMakeLists.txt
|
5 |
+
@@ -1487,7 +1487,7 @@ if(ENABLE_STATIC)
|
6 |
+
endif()
|
7 |
+
endif()
|
8 |
+
|
9 |
+
-install(TARGETS rdjpgcom wrjpgcom RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})
|
10 |
+
+#install(TARGETS rdjpgcom wrjpgcom RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})
|
11 |
+
|
12 |
+
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/README.ijg
|
13 |
+
${CMAKE_CURRENT_SOURCE_DIR}/README.md ${CMAKE_CURRENT_SOURCE_DIR}/example.txt
|
cc-multilingual-main/cc_net/vcpkg/ports/mozjpeg/portfile.cmake
ADDED
@@ -0,0 +1,60 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
if(EXISTS "${CURRENT_INSTALLED_DIR}/share/libjpeg-turbo/copyright")
|
2 |
+
message(FATAL_ERROR "Can't build ${PORT} if libjpeg-turbo is installed. Please remove libjpeg-turbo:${TARGET_TRIPLET}, and try to install ${PORT}:${TARGET_TRIPLET} again.")
|
3 |
+
endif()
|
4 |
+
|
5 |
+
vcpkg_from_github(
|
6 |
+
OUT_SOURCE_PATH SOURCE_PATH
|
7 |
+
REPO mozilla/mozjpeg
|
8 |
+
REF "v${VERSION}"
|
9 |
+
SHA512 90e1b0067740b161398d908e90b976eccc2ee7174496ce9693ba3cdf4727559ecff39744611657d847dd83164b80993152739692a5233aca577ebd052efaf501
|
10 |
+
HEAD_REF master
|
11 |
+
PATCHES
|
12 |
+
fix-install-error.patch
|
13 |
+
)
|
14 |
+
|
15 |
+
vcpkg_find_acquire_program(NASM)
|
16 |
+
get_filename_component(NASM_EXE_PATH ${NASM} DIRECTORY)
|
17 |
+
vcpkg_add_to_path(${NASM_EXE_PATH})
|
18 |
+
|
19 |
+
string(COMPARE EQUAL "${VCPKG_LIBRARY_LINKAGE}" "dynamic" ENABLE_SHARED)
|
20 |
+
string(COMPARE EQUAL "${VCPKG_LIBRARY_LINKAGE}" "static" ENABLE_STATIC)
|
21 |
+
string(COMPARE EQUAL "${VCPKG_CRT_LINKAGE}" "dynamic" WITH_CRT_DLL)
|
22 |
+
|
23 |
+
vcpkg_cmake_configure(
|
24 |
+
SOURCE_PATH "${SOURCE_PATH}"
|
25 |
+
OPTIONS
|
26 |
+
-DENABLE_SHARED=${ENABLE_SHARED}
|
27 |
+
-DENABLE_STATIC=${ENABLE_STATIC}
|
28 |
+
-DWITH_CRT_DLL=${WITH_CRT_DLL}
|
29 |
+
)
|
30 |
+
|
31 |
+
vcpkg_cmake_install()
|
32 |
+
|
33 |
+
# Rename libraries for static builds
|
34 |
+
if(VCPKG_LIBRARY_LINKAGE STREQUAL static)
|
35 |
+
if(EXISTS "${CURRENT_PACKAGES_DIR}/lib/jpeg-static.lib")
|
36 |
+
file(RENAME "${CURRENT_PACKAGES_DIR}/lib/jpeg-static.lib" "${CURRENT_PACKAGES_DIR}/lib/jpeg.lib")
|
37 |
+
file(RENAME "${CURRENT_PACKAGES_DIR}/lib/turbojpeg-static.lib" "${CURRENT_PACKAGES_DIR}/lib/turbojpeg.lib")
|
38 |
+
endif()
|
39 |
+
if(EXISTS "${CURRENT_PACKAGES_DIR}/debug/lib/jpeg-static.lib")
|
40 |
+
file(RENAME "${CURRENT_PACKAGES_DIR}/debug/lib/jpeg-static.lib" "${CURRENT_PACKAGES_DIR}/debug/lib/jpeg.lib")
|
41 |
+
file(RENAME "${CURRENT_PACKAGES_DIR}/debug/lib/turbojpeg-static.lib" "${CURRENT_PACKAGES_DIR}/debug/lib/turbojpeg.lib")
|
42 |
+
endif()
|
43 |
+
endif()
|
44 |
+
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/mozjpeg)
|
45 |
+
# Remove extra debug files
|
46 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
47 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|
48 |
+
|
49 |
+
vcpkg_copy_tools(TOOL_NAMES cjpeg djpeg jpegtran tjbench AUTO_CLEAN)
|
50 |
+
vcpkg_fixup_pkgconfig()
|
51 |
+
vcpkg_copy_pdbs()
|
52 |
+
|
53 |
+
# Remove empty folders after static build
|
54 |
+
if (VCPKG_LIBRARY_LINKAGE STREQUAL static)
|
55 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/bin")
|
56 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/bin")
|
57 |
+
endif()
|
58 |
+
|
59 |
+
# Handle copyright
|
60 |
+
file(INSTALL "${SOURCE_PATH}/LICENSE.md" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
cc-multilingual-main/cc_net/vcpkg/ports/mozjpeg/vcpkg.json
ADDED
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "mozjpeg",
|
3 |
+
"version": "4.1.5",
|
4 |
+
"description": "MozJPEG reduces file sizes of JPEG images while retaining quality and compatibility with the vast majority of the world's deployed decoders. It's compatible with libjpeg API and ABI, and can be used as a drop-in replacement for libjpeg.",
|
5 |
+
"homepage": "https://github.com/mozilla/mozjpeg",
|
6 |
+
"license": "IJG AND BSD-3-Clause AND Zlib",
|
7 |
+
"dependencies": [
|
8 |
+
"libpng",
|
9 |
+
{
|
10 |
+
"name": "vcpkg-cmake",
|
11 |
+
"host": true
|
12 |
+
},
|
13 |
+
{
|
14 |
+
"name": "vcpkg-cmake-config",
|
15 |
+
"host": true
|
16 |
+
}
|
17 |
+
]
|
18 |
+
}
|
cc-multilingual-main/cc_net/vcpkg/ports/opendnp3/deps/asio.cmake
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
find_package(asio CONFIG REQUIRED)
|
cc-multilingual-main/cc_net/vcpkg/ports/opendnp3/opendnp3-config.cmake.in
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Copyright 2016 Proyectos y Sistemas de Mantenimiento SL (eProsima).
|
2 |
+
#
|
3 |
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
4 |
+
# you may not use this file except in compliance with the License.
|
5 |
+
# You may obtain a copy of the License at
|
6 |
+
#
|
7 |
+
# http://www.apache.org/licenses/LICENSE-2.0
|
8 |
+
#
|
9 |
+
# Unless required by applicable law or agreed to in writing, software
|
10 |
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
11 |
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12 |
+
# See the License for the specific language governing permissions and
|
13 |
+
# limitations under the License.
|
14 |
+
|
15 |
+
set(@PROJECT_NAME@_VERSION @PROJECT_VERSION@)
|
16 |
+
|
17 |
+
@PACKAGE_INIT@
|
18 |
+
|
19 |
+
include(CMakeFindDependencyMacro)
|
20 |
+
@FIND_DEPENDS@
|
21 |
+
|
22 |
+
include(${CMAKE_CURRENT_LIST_DIR}/@[email protected])
|
cc-multilingual-main/cc_net/vcpkg/ports/opendnp3/portfile.cmake
ADDED
@@ -0,0 +1,65 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
if (VCPKG_TARGET_IS_WINDOWS)
|
2 |
+
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
|
3 |
+
endif()
|
4 |
+
|
5 |
+
vcpkg_from_github(
|
6 |
+
OUT_SOURCE_PATH SOURCE_PATH
|
7 |
+
REPO dnp3/opendnp3
|
8 |
+
REF 3.1.1
|
9 |
+
SHA512 2d7b26753fa03596ab73944236e5f1d82656f38248cc23fd00f7a2cdac27f481e5fe51e68b5896b6740db1a6d9560f0262e473648e001601125f4af8b4a652c2
|
10 |
+
)
|
11 |
+
|
12 |
+
file(READ "${SOURCE_PATH}/deps/ser4cpp.cmake" ser4cpp_cmake)
|
13 |
+
if(ser4cpp_cmake MATCHES "https://github\\.com/automatak/ser4cpp/archive/([0-9a-f]*)\\.zip")
|
14 |
+
vcpkg_from_github(
|
15 |
+
OUT_SOURCE_PATH ser4cpp_src
|
16 |
+
REPO automatak/ser4cpp
|
17 |
+
REF "${CMAKE_MATCH_1}"
|
18 |
+
SHA512 cd8d634c0e9fadda357bdd832c382189461f4707ced4834604668df0aa4e396333cce8d676d4f98ba1b414664228518e9a24c6456204b9d96a5f2df078bada2c
|
19 |
+
)
|
20 |
+
else()
|
21 |
+
message(FATAL_ERROR "Unable to determine version of ser4cpp")
|
22 |
+
endif()
|
23 |
+
|
24 |
+
file(READ "${SOURCE_PATH}/deps/exe4cpp.cmake" exe4cpp_cmake)
|
25 |
+
if(exe4cpp_cmake MATCHES "https://github\\.com/automatak/exe4cpp/archive/([0-9a-f]*)\\.zip")
|
26 |
+
vcpkg_from_github(
|
27 |
+
OUT_SOURCE_PATH exe4cpp_src
|
28 |
+
REPO automatak/exe4cpp
|
29 |
+
REF "${CMAKE_MATCH_1}"
|
30 |
+
SHA512 c8946db752c0f8499d21c2da96b84676b8768954bcb1964f4c444c731d9871d8978cb96fe89b1125e91b861aef0984bdd943a4dccb91d17ba43f22c57673b7b2
|
31 |
+
)
|
32 |
+
else()
|
33 |
+
message(FATAL_ERROR "Unable to determine version of exe4cpp")
|
34 |
+
endif()
|
35 |
+
|
36 |
+
file(COPY "${CMAKE_CURRENT_LIST_DIR}/opendnp3-config.cmake.in" DESTINATION "${SOURCE_PATH}")
|
37 |
+
file(COPY "${CMAKE_CURRENT_LIST_DIR}/deps/" DESTINATION "${SOURCE_PATH}/deps/")
|
38 |
+
|
39 |
+
string(COMPARE EQUAL "${VCPKG_LIBRARY_LINKAGE}" "static" STATICLIBS)
|
40 |
+
|
41 |
+
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
|
42 |
+
FEATURES
|
43 |
+
tls DNP3_TLS
|
44 |
+
)
|
45 |
+
|
46 |
+
vcpkg_cmake_configure(
|
47 |
+
SOURCE_PATH "${SOURCE_PATH}"
|
48 |
+
OPTIONS
|
49 |
+
-DDNP3_STATIC_LIBS=${STATICLIBS}
|
50 |
+
-DFETCHCONTENT_FULLY_DISCONNECTED=ON
|
51 |
+
-DFETCHCONTENT_SOURCE_DIR_SER4CPP=${ser4cpp_src}
|
52 |
+
-DFETCHCONTENT_SOURCE_DIR_EXE4CPP=${exe4cpp_src}
|
53 |
+
${FEATURE_OPTIONS}
|
54 |
+
)
|
55 |
+
|
56 |
+
vcpkg_cmake_install()
|
57 |
+
|
58 |
+
vcpkg_copy_pdbs()
|
59 |
+
|
60 |
+
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake)
|
61 |
+
|
62 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|
63 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
64 |
+
|
65 |
+
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
cc-multilingual-main/cc_net/vcpkg/ports/opendnp3/vcpkg.json
ADDED
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "opendnp3",
|
3 |
+
"version": "3.1.1",
|
4 |
+
"port-version": 1,
|
5 |
+
"description": "DNP3 (IEEE-1815) protocol stack. Modern C++ with bindings for .NET and Java.",
|
6 |
+
"homepage": "https://github.com/dnp3/opendnp3/",
|
7 |
+
"supports": "!uwp",
|
8 |
+
"dependencies": [
|
9 |
+
"asio",
|
10 |
+
{
|
11 |
+
"name": "vcpkg-cmake",
|
12 |
+
"host": true
|
13 |
+
},
|
14 |
+
{
|
15 |
+
"name": "vcpkg-cmake-config",
|
16 |
+
"host": true
|
17 |
+
}
|
18 |
+
],
|
19 |
+
"features": {
|
20 |
+
"tls": {
|
21 |
+
"description": "Build TLS client/server support",
|
22 |
+
"dependencies": [
|
23 |
+
"openssl"
|
24 |
+
]
|
25 |
+
}
|
26 |
+
}
|
27 |
+
}
|
cc-multilingual-main/cc_net/vcpkg/ports/palsigslot/portfile.cmake
ADDED
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
vcpkg_from_github(
|
2 |
+
OUT_SOURCE_PATH SOURCE_PATH
|
3 |
+
REPO palacaze/sigslot
|
4 |
+
REF "v${VERSION}"
|
5 |
+
SHA512 ed8614d9c2e418259b1bce6d0a528b54939700876969c5e8dfcfc466c167690180cb18324602f83d521c79dcba2565e5317647416b70cf8773860ab956d9b62f
|
6 |
+
HEAD_REF master
|
7 |
+
)
|
8 |
+
|
9 |
+
vcpkg_cmake_configure(
|
10 |
+
SOURCE_PATH "${SOURCE_PATH}"
|
11 |
+
OPTIONS
|
12 |
+
-DSIGSLOT_COMPILE_EXAMPLES=OFF
|
13 |
+
-DSIGSLOT_COMPILE_TESTS=OFF
|
14 |
+
)
|
15 |
+
|
16 |
+
vcpkg_cmake_install()
|
17 |
+
|
18 |
+
vcpkg_cmake_config_fixup(PACKAGE_NAME PalSigslot CONFIG_PATH lib/cmake/PalSigslot)
|
19 |
+
|
20 |
+
file(REMOVE_RECURSE
|
21 |
+
"${CURRENT_PACKAGES_DIR}/debug"
|
22 |
+
"${CURRENT_PACKAGES_DIR}/lib"
|
23 |
+
)
|
24 |
+
|
25 |
+
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
|
cc-multilingual-main/cc_net/vcpkg/ports/palsigslot/vcpkg.json
ADDED
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "palsigslot",
|
3 |
+
"version": "1.2.2",
|
4 |
+
"description": "A header-only, thread safe implementation of signal-slots for C++.",
|
5 |
+
"homepage": "https://github.com/palacaze/sigslot",
|
6 |
+
"license": "MIT",
|
7 |
+
"dependencies": [
|
8 |
+
{
|
9 |
+
"name": "vcpkg-cmake",
|
10 |
+
"host": true
|
11 |
+
},
|
12 |
+
{
|
13 |
+
"name": "vcpkg-cmake-config",
|
14 |
+
"host": true
|
15 |
+
}
|
16 |
+
]
|
17 |
+
}
|
cc-multilingual-main/cc_net/vcpkg/ports/qtquick3dphysics/portfile.cmake
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
set(SCRIPT_PATH "${CURRENT_INSTALLED_DIR}/share/qtbase")
|
2 |
+
include("${SCRIPT_PATH}/qt_install_submodule.cmake")
|
3 |
+
|
4 |
+
set(${PORT}_PATCHES)
|
5 |
+
|
6 |
+
set(TOOL_NAMES cooker)
|
7 |
+
|
8 |
+
qt_install_submodule(PATCHES ${${PORT}_PATCHES}
|
9 |
+
TOOL_NAMES ${TOOL_NAMES}
|
10 |
+
CONFIGURE_OPTIONS
|
11 |
+
CONFIGURE_OPTIONS_RELEASE
|
12 |
+
CONFIGURE_OPTIONS_DEBUG
|
13 |
+
)
|
cc-multilingual-main/cc_net/vcpkg/ports/qtquick3dphysics/vcpkg.json
ADDED
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "qtquick3dphysics",
|
3 |
+
"version": "6.6.1",
|
4 |
+
"port-version": 1,
|
5 |
+
"description": "Qt Quick 3D Physics provides a high-level API for physics simulation.",
|
6 |
+
"homepage": "https://www.qt.io/",
|
7 |
+
"license": null,
|
8 |
+
"dependencies": [
|
9 |
+
{
|
10 |
+
"name": "qtquick3d",
|
11 |
+
"default-features": false
|
12 |
+
}
|
13 |
+
]
|
14 |
+
}
|
cc-multilingual-main/cc_net/vcpkg/ports/readosm/fix-makefiles.patch
ADDED
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
diff --git a/makefile.vc b/makefile.vc
|
2 |
+
index 8edb536b9..33fd83e35 100644
|
3 |
+
--- a/makefile.vc
|
4 |
+
+++ b/makefile.vc
|
5 |
+
@@ -8,7 +8,7 @@ LIBOBJ = src\readosm.obj src\osmxml.obj \
|
6 |
+
src\protobuf.obj src\osm_objects.obj
|
7 |
+
READOSM_DLL = readosm$(VERSION).dll
|
8 |
+
|
9 |
+
-CFLAGS = /nologo -I. -Iheaders -IC:\OSGeo4W\include $(OPTFLAGS)
|
10 |
+
+CFLAGS = /nologo -I. -Iheaders -I$(INSTALLED_ROOT)\include $(OPTFLAGS)
|
11 |
+
|
12 |
+
default: all
|
13 |
+
|
14 |
+
@@ -21,9 +21,9 @@ readosm.lib: $(LIBOBJ)
|
15 |
+
$(READOSM_DLL): readosm_i.lib
|
16 |
+
|
17 |
+
readosm_i.lib: $(LIBOBJ)
|
18 |
+
- link /dll /out:$(READOSM_DLL) \
|
19 |
+
+ link $(LINK_FLAGS) /dll /out:$(READOSM_DLL) \
|
20 |
+
/implib:readosm_i.lib $(LIBOBJ) \
|
21 |
+
- C:\OSGeo4w\lib\libexpat.lib C:\OSGeo4w\lib\zlib.lib
|
22 |
+
+ $(LIBS_ALL)
|
23 |
+
if exist $(READOSM_DLL).manifest mt -manifest \
|
24 |
+
$(READOSM_DLL).manifest -outputresource:$(READOSM_DLL);2
|
25 |
+
|
26 |
+
@@ -35,7 +35,7 @@ clean:
|
27 |
+
del *.exp
|
28 |
+
del *.manifest
|
29 |
+
del *.lib
|
30 |
+
- del *.obj
|
31 |
+
+ del src\*.obj
|
32 |
+
del *.pdb
|
33 |
+
|
34 |
+
install: all
|
35 |
+
|
36 |
+
diff --git a/nmake.opt b/nmake.opt
|
37 |
+
index 5e45c0e..61c44f9 100644
|
38 |
+
--- a/nmake.opt
|
39 |
+
+++ b/nmake.opt
|
40 |
+
@@ -2,7 +2,7 @@
|
41 |
+
INSTDIR=C:\OSGeo4W
|
42 |
+
|
43 |
+
# Uncomment the first for an optimized build, or the second for debug.
|
44 |
+
-OPTFLAGS= /nologo /Ox /fp:precise /W3 /MD /D_CRT_SECURE_NO_WARNINGS \
|
45 |
+
+OPTFLAGS= /nologo /fp:precise /W3 $(CL_FLAGS) /D_CRT_SECURE_NO_WARNINGS \
|
46 |
+
/DDLL_EXPORT
|
47 |
+
#OPTFLAGS= /nologo /Zi /MD /Fdreadosm.pdb /DDLL_EXPORT
|
48 |
+
|
cc-multilingual-main/cc_net/vcpkg/ports/readosm/pc-file.patch
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
diff --git a/readosm.pc.in b/readosm.pc.in
|
2 |
+
index c1a0961..2417433 100644
|
3 |
+
--- a/readosm.pc.in
|
4 |
+
+++ b/readosm.pc.in
|
5 |
+
@@ -8,5 +8,6 @@ includedir=@includedir@
|
6 |
+
Name: readosm
|
7 |
+
Description: a simple library parsing Open Street Map files
|
8 |
+
Version: @VERSION@
|
9 |
+
-Libs: -L${libdir} -lreadosm -lz -lexpat
|
10 |
+
+Requires.private: expat zlib
|
11 |
+
+Libs: -L${libdir} -lreadosm
|
12 |
+
Cflags: -I${includedir}
|