aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Ridgers <[email protected]>2022-01-10 10:59:09 +0100
committerMartin Ridgers <[email protected]>2022-01-10 13:22:28 +0100
commit243d10aafc0fd803c5350266acb28da093439b35 (patch)
tree4a33843783105a1b186130b1ff6406c0b0c1d469
parentLLVM's libc++ cannot emplace_back(x,y,z) without a ctor(x,y,z) (diff)
downloadzen-243d10aafc0fd803c5350266acb28da093439b35.tar.xz
zen-243d10aafc0fd803c5350266acb28da093439b35.zip
Vcpkg's manifest mode is no longer in use
-rw-r--r--vcpkg.json26
-rw-r--r--vcpkg_overlay-ports/asio/CMakeLists.txt28
-rw-r--r--vcpkg_overlay-ports/asio/asio-config.cmake6
-rw-r--r--vcpkg_overlay-ports/asio/portfile.cmake31
-rw-r--r--vcpkg_overlay-ports/asio/vcpkg.json27
5 files changed, 0 insertions, 118 deletions
diff --git a/vcpkg.json b/vcpkg.json
deleted file mode 100644
index 4a0c41d3b..000000000
--- a/vcpkg.json
+++ /dev/null
@@ -1,26 +0,0 @@
-{
- "name": "zenfs",
- "version-string": "0.1.0-dev",
- "dependencies": [
- "asio",
- "cpr",
- "openssl",
- "json11",
- "mimalloc",
- "spdlog",
- "lz4",
- "zstd",
- "xxhash",
- "gsl-lite",
- "cxxopts",
- "doctest",
- "http-parser",
- "robin-map",
- {
- "name": "rocksdb",
- "features": [ "lz4", "zstd" ]
- },
- "sol2",
- "sentry-native"
- ]
-}
diff --git a/vcpkg_overlay-ports/asio/CMakeLists.txt b/vcpkg_overlay-ports/asio/CMakeLists.txt
deleted file mode 100644
index 6bdb490ba..000000000
--- a/vcpkg_overlay-ports/asio/CMakeLists.txt
+++ /dev/null
@@ -1,28 +0,0 @@
-cmake_minimum_required(VERSION 3.8)
-project(asio)
-
-add_library(asio INTERFACE)
-
-# Export target
-install(TARGETS asio
- EXPORT asio
- INCLUDES DESTINATION include/
-)
-
-install(EXPORT asio
- DESTINATION "share/asio"
- FILE asio-targets.cmake
-)
-
-install(DIRECTORY
- asio/include/asio
- DESTINATION include/
- FILES_MATCHING
- PATTERN "*.hpp"
- PATTERN "*.ipp"
-)
-
-install(FILES
- asio/include/asio.hpp
- DESTINATION include/
-)
diff --git a/vcpkg_overlay-ports/asio/asio-config.cmake b/vcpkg_overlay-ports/asio/asio-config.cmake
deleted file mode 100644
index 6e5325003..000000000
--- a/vcpkg_overlay-ports/asio/asio-config.cmake
+++ /dev/null
@@ -1,6 +0,0 @@
-include ("${CMAKE_CURRENT_LIST_DIR}/asio-targets.cmake")
-add_library(asio::asio INTERFACE IMPORTED)
-target_link_libraries(asio::asio INTERFACE asio)
-
-get_target_property(_ASIO_INCLUDE_DIR asio INTERFACE_INCLUDE_DIRECTORIES)
-set(ASIO_INCLUDE_DIR "${_ASIO_INCLUDE_DIR}")
diff --git a/vcpkg_overlay-ports/asio/portfile.cmake b/vcpkg_overlay-ports/asio/portfile.cmake
deleted file mode 100644
index 08cf98e24..000000000
--- a/vcpkg_overlay-ports/asio/portfile.cmake
+++ /dev/null
@@ -1,31 +0,0 @@
-#header-only library
-
-vcpkg_from_git(
- OUT_SOURCE_PATH SOURCE_PATH
- URL https://github.com/chriskohlhoff/asio.git
- REPO chriskohlhoff/asio
- REF 57577c6db46a4e2de5351af2b185bf52696699a9
- HEAD_REF master
-)
-
-# Always use "ASIO_STANDALONE" to avoid boost dependency
-vcpkg_replace_string("${SOURCE_PATH}/asio/include/asio/detail/config.hpp" "defined(ASIO_STANDALONE)" "!defined(VCPKG_DISABLE_ASIO_STANDALONE)")
-
-# CMake install
-file(COPY ${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt DESTINATION ${SOURCE_PATH})
-vcpkg_configure_cmake(
- SOURCE_PATH ${SOURCE_PATH}
- PREFER_NINJA
-)
-vcpkg_install_cmake()
-
-vcpkg_fixup_cmake_targets(CONFIG_PATH "share/asio")
-file(INSTALL
- ${CMAKE_CURRENT_LIST_DIR}/asio-config.cmake
- DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT}
-)
-file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug)
-
-# Handle copyright
-file(INSTALL ${SOURCE_PATH}/asio/LICENSE_1_0.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
-
diff --git a/vcpkg_overlay-ports/asio/vcpkg.json b/vcpkg_overlay-ports/asio/vcpkg.json
deleted file mode 100644
index 38140acc5..000000000
--- a/vcpkg_overlay-ports/asio/vcpkg.json
+++ /dev/null
@@ -1,27 +0,0 @@
-{
- "name": "asio",
- "version": "1.18.1",
- "description": "Asio is a cross-platform C++ library for network and low-level I/O programming that provides developers with a consistent asynchronous model using a modern C++ approach.",
- "homepage": "https://github.com/chriskohlhoff/asio",
- "documentation": "https://think-async.com/Asio/asio-1.18.0/doc/",
- "features": {
- "coroutine": {
- "description": "Boost.Coroutine (optional) if you use spawn() to launch coroutines",
- "dependencies": [
- "boost-coroutine"
- ]
- },
- "openssl": {
- "description": "OpenSSL (optional) if you use Asio's SSL support.",
- "dependencies": [
- "openssl"
- ]
- },
- "regex": {
- "description": "Boost.Regex (optional) if you use any of the read_until() or async_read_until() overloads that take a boost::regex parameter.",
- "dependencies": [
- "boost-regex"
- ]
- }
- }
-}