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

26
externals/vcpkg/ports/sajson/CMakeLists.txt vendored Executable file
View File

@@ -0,0 +1,26 @@
cmake_minimum_required(VERSION 3.8)
project(sajson)
add_library(sajson INTERFACE)
target_compile_features(sajson INTERFACE cxx_std_11)
target_include_directories(sajson INTERFACE
$<BUILD_INTERFACE:${CMAKE_CURRENT_LIST_DIR}/include>
$<INSTALL_INTERFACE:include>)
install(DIRECTORY include/
DESTINATION include
USE_SOURCE_PERMISSIONS
FILES_MATCHING PATTERN "*.h"
)
install(TARGETS sajson EXPORT unofficial-sajson-config)
install(EXPORT unofficial-sajson-config
FILE unofficial-sajson-config.cmake
NAMESPACE unofficial::sajson::
DESTINATION share/cmake/unofficial-sajson
PERMISSIONS OWNER_READ OWNER_WRITE GROUP_READ WORLD_READ
)

25
externals/vcpkg/ports/sajson/portfile.cmake vendored Executable file
View File

@@ -0,0 +1,25 @@
# Header-only library
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO chadaustin/sajson
REF 2dcfd350586375f9910f74821d4f07d67ae455ba
SHA512 6029a640f8bd6c7cefc507819a18a708f6d7e9ce84fdd2998506cea26d597b999d2776a7307908f5df02994bc53c3c9bdf6a73344ab70ee6a5c775b54351e7d2
HEAD_REF master
)
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/cmake/unofficial-sajson TARGET_PATH share/unofficial-sajson)
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug)
# Handle copyright
configure_file(${SOURCE_PATH}/LICENSE.txt ${CURRENT_PACKAGES_DIR}/share/sajson/copyright COPYONLY)

6
externals/vcpkg/ports/sajson/vcpkg.json vendored Executable file
View File

@@ -0,0 +1,6 @@
{
"name": "sajson",
"version-string": "2018-09-21",
"port-version": 1,
"description": "Lightweight, extremely high-performance JSON parser for C++11"
}