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/cmocka/portfile.cmake vendored Executable file
View File

@@ -0,0 +1,30 @@
vcpkg_from_gitlab(
GITLAB_URL https://gitlab.com
OUT_SOURCE_PATH SOURCE_PATH
REPO cmocka/cmocka
REF 672c5cee79eb412025c3dd8b034e611c1f119055
SHA512 e02ffe780698ce3930aceb1b927f7d48c932c6bb251a32b1f4ab44ecb4ff6bfe5c2a6b9e2dfede49cd4cc1d68a8bb903ef1d26c28536abf3581a9d803287aa0a
HEAD_REF master
)
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
OPTIONS
-DWITH_CMOCKERY_SUPPORT=ON
-DUNIT_TESTING=OFF
-DWITH_EXAMPLES=OFF
-DPICKY_DEVELOPER=OFF
)
vcpkg_install_cmake()
vcpkg_copy_pdbs()
vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/${PORT})
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
file(INSTALL ${SOURCE_PATH}/COPYING DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
vcpkg_fixup_pkgconfig()

8
externals/vcpkg/ports/cmocka/vcpkg.json vendored Executable file
View File

@@ -0,0 +1,8 @@
{
"name": "cmocka",
"version-string": "2020-08-01",
"port-version": 1,
"description": "An elegant unit testing framework for C with support for mock objects",
"homepage": "https://cmocka.org/",
"license": "Apache-2.0"
}