early-access version 2853

This commit is contained in:
pineappleEA
2022-07-23 03:01:36 +02:00
parent 1f2b5081b5
commit 1f111bb69c
8955 changed files with 418777 additions and 999 deletions

21
externals/vcpkg/ports/ponder/github-121.patch vendored Executable file
View File

@@ -0,0 +1,21 @@
From 83b292f263b92082e981a82f5777d927a61772ee Mon Sep 17 00:00:00 2001
From: Cheney-Wang <v-xincwa@microsoft.com>
Date: Fri, 13 Mar 2020 02:50:33 -0700
Subject: [PATCH] Include <ostream> in config.h
---
include/ponder/config.hpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/ponder/config.hpp b/include/ponder/config.hpp
index cd035c19..814403cd 100644
--- a/include/ponder/config.hpp
+++ b/include/ponder/config.hpp
@@ -60,6 +60,7 @@
#if defined(_MSC_VER)
#pragma warning(disable: 4275) // non dll-interface class 'X' used as base for dll-interface class 'Y'
#pragma warning(disable: 4251) // class 'X' needs to have dll-interface to be used by clients of class 'Y'
+ #include <ostream> //In future MSVC, <string> doesn't transitively <ostream>, ponder will compile failed with error C2027 and C2065, so add <ostream> for fixing these issues.
#endif
#if defined(__GNUC__) && __GNUC__ <= 4 && __GNUC_MINOR__ < 9

View File

@@ -0,0 +1,27 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 091f56d..715f86e 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -325,14 +325,14 @@ install(FILES ${CMAKE_CURRENT_BINARY_DIR}/PonderConfig.cmake ${CMAKE_CURRENT_BIN
COMPONENT devel
)
-install(FILES README.md COPYING.txt
- DESTINATION ${INSTALL_MISC_DIR}
-)
-
-install(DIRECTORY cmake
- DESTINATION ${INSTALL_MISC_DIR}
- COMPONENT utils
-)
+#install(FILES README.md COPYING.txt
+# DESTINATION ${INSTALL_MISC_DIR}
+#)
+
+#install(DIRECTORY cmake
+# DESTINATION ${INSTALL_MISC_DIR}
+# COMPONENT utils
+#)
###############################
# packaging

39
externals/vcpkg/ports/ponder/portfile.cmake vendored Executable file
View File

@@ -0,0 +1,39 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO billyquith/ponder
REF 3.0.0
SHA512 b6ba1ce9fa0584b16085c56afb70e31f204a66b57193c1a4225bfe18abbda561bb71b3279dd0a4f1b21867b985ef5ce78c8e360f3fc654c61ce61c44d35c5f38
HEAD_REF master
PATCHES
no-install-unused.patch
github-121.patch
)
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
DISABLE_PARALLEL_CONFIGURE
OPTIONS
-DUSES_RAPIDJSON=OFF
-DUSES_RAPIDXML=OFF
-DBUILD_TEST=OFF
)
vcpkg_cmake_install()
vcpkg_cmake_config_fixup(CONFIG_PATH lib/${PORT}/cmake)
vcpkg_fixup_pkgconfig()
file(REMOVE_RECURSE
"${CURRENT_PACKAGES_DIR}/debug/include"
"${CURRENT_PACKAGES_DIR}/debug/lib/${PORT}"
"${CURRENT_PACKAGES_DIR}/debug/share"
"${CURRENT_PACKAGES_DIR}/lib/${PORT}"
)
if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/include/${PORT}/config.hpp" "ifndef PONDER_STATIC" "if 0 //ifndef PONDER_STATIC")
endif()
# Handle copyright
configure_file("${SOURCE_PATH}/COPYING.txt" "${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright" COPYONLY)

17
externals/vcpkg/ports/ponder/vcpkg.json vendored Executable file
View File

@@ -0,0 +1,17 @@
{
"name": "ponder",
"version-string": "3.0.0",
"port-version": 4,
"description": "A C++ multi-purpose reflection library.",
"homepage": "https://github.com/billyquith/ponder",
"dependencies": [
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
]
}