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

30
externals/vcpkg/ports/nonius/CMakeLists.txt vendored Executable file
View File

@@ -0,0 +1,30 @@
cmake_minimum_required(VERSION 3.9)
cmake_policy(VERSION ${CMAKE_VERSION}) # use default policies of current cmake version
project(nonius)
add_library(nonius INTERFACE)
target_include_directories(nonius INTERFACE
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
$<INSTALL_INTERFACE:include>
)
if(NOT DISABLE_INSTALL_HEADERS)
install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/include/
DESTINATION include
)
endif()
install(TARGETS nonius
EXPORT noniusExport
RUNTIME DESTINATION bin
LIBRARY DESTINATION lib
ARCHIVE DESTINATION lib
)
install(
EXPORT noniusExport
FILE noniusConfig.cmake
NAMESPACE Nonius::
DESTINATION share/nonius
)

26
externals/vcpkg/ports/nonius/portfile.cmake vendored Executable file
View File

@@ -0,0 +1,26 @@
# header-only library
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO libnonius/nonius
REF 6396b7ad6685843eea63754ffa567dd66353c1a8
SHA512 3b824a6011f1dbe116271dd76e8214ed98d73dfc215d7c9242bf298eb0e7ee3a3e3198f477b49fdbe098ac6e3e4edd8ca7bd2e03cc2036189bf3630ef3fcdca2
HEAD_REF master
)
file(COPY ${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt DESTINATION ${SOURCE_PATH})
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
OPTIONS_DEBUG -DDISABLE_INSTALL_HEADERS=ON
)
vcpkg_install_cmake()
vcpkg_fixup_cmake_targets(CONFIG_PATH share/${PORT})
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug)
# Handle copyright
configure_file(${SOURCE_PATH}/COPYING.txt ${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright COPYONLY)

11
externals/vcpkg/ports/nonius/vcpkg.json vendored Executable file
View File

@@ -0,0 +1,11 @@
{
"name": "nonius",
"version-string": "2019-04-20",
"port-version": 2,
"description": "A C++ micro-benchmarking framework",
"dependencies": [
"boost-algorithm",
"boost-lexical-cast",
"boost-math"
]
}