early-access version 2853
This commit is contained in:
29
externals/vcpkg/ports/clockutils/fix-warningC4643.patch
vendored
Executable file
29
externals/vcpkg/ports/clockutils/fix-warningC4643.patch
vendored
Executable file
@@ -0,0 +1,29 @@
|
||||
diff --git a/include/clockUtils/sockets/TcpSocket.h b/include/clockUtils/sockets/TcpSocket.h
|
||||
index 6e0d9c8..3bb97a9 100644
|
||||
--- a/include/clockUtils/sockets/TcpSocket.h
|
||||
+++ b/include/clockUtils/sockets/TcpSocket.h
|
||||
@@ -57,9 +57,6 @@
|
||||
#define INVALID_SOCKET -1
|
||||
#endif
|
||||
|
||||
-namespace std {
|
||||
- class thread;
|
||||
-} /* namespace std */
|
||||
namespace clockUtils {
|
||||
enum class ClockError;
|
||||
namespace sockets {
|
||||
diff --git a/include/clockUtils/sockets/UdpSocket.h b/include/clockUtils/sockets/UdpSocket.h
|
||||
index 31eeeb5..c5da451 100644
|
||||
--- a/include/clockUtils/sockets/UdpSocket.h
|
||||
+++ b/include/clockUtils/sockets/UdpSocket.h
|
||||
@@ -60,10 +60,6 @@
|
||||
#define INVALID_SOCKET -1
|
||||
#endif
|
||||
|
||||
-namespace std {
|
||||
- class thread;
|
||||
-} /* namespace std */
|
||||
-
|
||||
namespace clockUtils {
|
||||
enum class ClockError;
|
||||
namespace sockets {
|
||||
38
externals/vcpkg/ports/clockutils/portfile.cmake
vendored
Executable file
38
externals/vcpkg/ports/clockutils/portfile.cmake
vendored
Executable file
@@ -0,0 +1,38 @@
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO ClockworkOrigins/clockUtils
|
||||
REF 3651f232c27074c4ceead169e223edf5f00247c5
|
||||
SHA512 ddb70cae9ced25de77a2df1854dac15e58a77347042ba3ee9c691f85f49edbc6539c84929a7477d429fb9161ba24c57d24d767793b8b1180216d5ddfc5d3ed6a
|
||||
HEAD_REF dev-1.2
|
||||
PATCHES
|
||||
fix-warningC4643.patch
|
||||
)
|
||||
|
||||
set(SHARED_FLAG OFF)
|
||||
set(USE_MSBUILD "")
|
||||
if("${VCPKG_LIBRARY_LINKAGE}" STREQUAL "dynamic")
|
||||
set(SHARED_FLAG ON)
|
||||
set(USE_MSBUILD WINDOWS_USE_MSBUILD) # MS Build only required for dynamic builds
|
||||
endif()
|
||||
|
||||
vcpkg_cmake_configure(
|
||||
SOURCE_PATH "${SOURCE_PATH}"
|
||||
${USE_MSBUILD}
|
||||
OPTIONS
|
||||
-DWITH_LIBRARY_ARGPARSER=ON
|
||||
-DWITH_LIBRARY_COMPRESSION=ON
|
||||
-DWITH_LIBRARY_CONTAINER=ON
|
||||
-DWITH_LIBRARY_INIPARSER=ON
|
||||
-DWITH_LIBRARY_SOCKETS=ON
|
||||
-DWITH_TESTING=OFF
|
||||
-DCLOCKUTILS_BUILD_SHARED=${SHARED_FLAG}
|
||||
)
|
||||
|
||||
vcpkg_cmake_install()
|
||||
vcpkg_copy_pdbs()
|
||||
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
||||
file(REMOVE "${CURRENT_PACKAGES_DIR}/LICENSE")
|
||||
file(REMOVE "${CURRENT_PACKAGES_DIR}/debug/LICENSE")
|
||||
|
||||
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
||||
14
externals/vcpkg/ports/clockutils/vcpkg.json
vendored
Executable file
14
externals/vcpkg/ports/clockutils/vcpkg.json
vendored
Executable file
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"name": "clockutils",
|
||||
"version": "1.1.1",
|
||||
"port-version": 1,
|
||||
"description": "A lightweight c++ library for commonly needed tasks. Optimized for simplicity and speed.",
|
||||
"homepage": "https://github.com/ClockworkOrigins/clockUtils",
|
||||
"license": "MIT",
|
||||
"dependencies": [
|
||||
{
|
||||
"name": "vcpkg-cmake",
|
||||
"host": true
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user