mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-27 02:11:58 +08:00
[atliac-minitest] new port (#37156)
This commit is contained in:
parent
740c7e31b0
commit
05d8ab6d5f
26
ports/atliac-minitest/portfile.cmake
Normal file
26
ports/atliac-minitest/portfile.cmake
Normal file
@ -0,0 +1,26 @@
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO Atliac/minitest
|
||||
REF "v${VERSION}"
|
||||
SHA512 bd39aa9d4f897f03f0f42b28ee7aabc0fbe5168d09009ebcb253ee3cb5f52ae1d81e9c6657aaa93fe8f67d20d9d92874432a06cadcb78f750681772bb3316d78
|
||||
HEAD_REF master
|
||||
)
|
||||
|
||||
vcpkg_cmake_configure(SOURCE_PATH ${SOURCE_PATH}
|
||||
OPTIONS
|
||||
-DBUILD_TESTS=OFF
|
||||
-DMINITEST_PACKAGE_NAME=${PORT}
|
||||
)
|
||||
|
||||
vcpkg_cmake_install()
|
||||
|
||||
vcpkg_cmake_config_fixup()
|
||||
|
||||
configure_file("${CMAKE_CURRENT_LIST_DIR}/usage" "${CURRENT_PACKAGES_DIR}/share/${PORT}/usage")
|
||||
|
||||
vcpkg_copy_pdbs()
|
||||
|
||||
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE.txt")
|
||||
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|
5
ports/atliac-minitest/usage
Normal file
5
ports/atliac-minitest/usage
Normal file
@ -0,0 +1,5 @@
|
||||
minitest provides CMake targets:
|
||||
|
||||
# Note: the `MINITEST_RUN_TESTS(argc, argv);` must be called in the main function
|
||||
find_package(${PORT} CONFIG REQUIRED)
|
||||
minitest_discover_tests(target)
|
17
ports/atliac-minitest/vcpkg.json
Normal file
17
ports/atliac-minitest/vcpkg.json
Normal file
@ -0,0 +1,17 @@
|
||||
{
|
||||
"name": "atliac-minitest",
|
||||
"version": "1.0.0",
|
||||
"description": "A C++ unit testing framework that helps write tests alongside the code being tested.",
|
||||
"homepage": "https://github.com/Atliac/minitest",
|
||||
"license": "MIT",
|
||||
"dependencies": [
|
||||
{
|
||||
"name": "vcpkg-cmake",
|
||||
"host": true
|
||||
},
|
||||
{
|
||||
"name": "vcpkg-cmake-config",
|
||||
"host": true
|
||||
}
|
||||
]
|
||||
}
|
@ -62,6 +62,17 @@ avro-c:x64-android=fail
|
||||
azure-identity-cpp:arm-neon-android=fail
|
||||
azure-identity-cpp:arm64-android=fail
|
||||
azure-identity-cpp:x64-android=fail
|
||||
|
||||
# C++20 conformant compiler required
|
||||
atliac-minitest:x64-linux=fail
|
||||
atliac-minitest:arm64-android=fail
|
||||
atliac-minitest:arm64-uwp=fail
|
||||
atliac-minitest:arm64-osx=fail
|
||||
atliac-minitest:arm-neon-android=fail
|
||||
atliac-minitest:x64-android=fail
|
||||
atliac-minitest:x64-osx=fail
|
||||
atliac-minitest:x64-uwp=fail
|
||||
|
||||
backward-cpp:arm-neon-android=fail
|
||||
backward-cpp:arm64-android=fail
|
||||
backward-cpp:x64-android=fail
|
||||
|
9
versions/a-/atliac-minitest.json
Normal file
9
versions/a-/atliac-minitest.json
Normal file
@ -0,0 +1,9 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "2013d9feb683a1cbd74aa2190af932dfdb4f7580",
|
||||
"version": "1.0.0",
|
||||
"port-version": 0
|
||||
}
|
||||
]
|
||||
}
|
@ -316,6 +316,10 @@
|
||||
"baseline": "0",
|
||||
"port-version": 0
|
||||
},
|
||||
"atliac-minitest": {
|
||||
"baseline": "1.0.0",
|
||||
"port-version": 0
|
||||
},
|
||||
"atlmfc": {
|
||||
"baseline": "0",
|
||||
"port-version": 3
|
||||
|
Loading…
x
Reference in New Issue
Block a user