mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-27 18:31:15 +08:00
[argtable3] Disable examples (#23655)
* Disable examples * Fix version * version * license, https * version
This commit is contained in:
parent
ce5fa83c6e
commit
fd8ffd1ac0
@ -9,24 +9,24 @@ vcpkg_extract_source_archive_ex(
|
||||
ARCHIVE ${ARCHIVE}
|
||||
)
|
||||
|
||||
vcpkg_configure_cmake(
|
||||
SOURCE_PATH ${SOURCE_PATH}
|
||||
PREFER_NINJA
|
||||
vcpkg_cmake_configure(
|
||||
SOURCE_PATH "${SOURCE_PATH}"
|
||||
OPTIONS
|
||||
-DARGTABLE3_ENABLE_CONAN=OFF
|
||||
-DARGTABLE3_ENABLE_TESTS=OFF
|
||||
-DARGTABLE3_ENABLE_EXAMPLES=OFF
|
||||
)
|
||||
|
||||
vcpkg_install_cmake()
|
||||
vcpkg_cmake_install()
|
||||
|
||||
vcpkg_copy_pdbs()
|
||||
|
||||
if(EXISTS ${CURRENT_PACKAGES_DIR}/cmake)
|
||||
vcpkg_fixup_cmake_targets(CONFIG_PATH cmake)
|
||||
elseif(EXISTS ${CURRENT_PACKAGES_DIR}/lib/cmake/${PORT})
|
||||
vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/${PORT})
|
||||
if(EXISTS "${CURRENT_PACKAGES_DIR}/cmake")
|
||||
vcpkg_cmake_config_fixup(CONFIG_PATH cmake)
|
||||
elseif(EXISTS "${CURRENT_PACKAGES_DIR}/lib/cmake/${PORT}")
|
||||
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/${PORT})
|
||||
endif()
|
||||
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
||||
|
||||
configure_file(${SOURCE_PATH}/LICENSE ${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright COPYONLY)
|
||||
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
||||
|
@ -1,6 +1,18 @@
|
||||
{
|
||||
"name": "argtable3",
|
||||
"version-string": "3.2.1",
|
||||
"version": "3.2.1",
|
||||
"port-version": 1,
|
||||
"description": "A single-file, ANSI C, command-line parsing library that parses GNU-style command-line options",
|
||||
"homepage": "www.argtable.org"
|
||||
"homepage": "https://www.argtable.org/",
|
||||
"license": "BSD-2-Clause-FreeBSD",
|
||||
"dependencies": [
|
||||
{
|
||||
"name": "vcpkg-cmake",
|
||||
"host": true
|
||||
},
|
||||
{
|
||||
"name": "vcpkg-cmake-config",
|
||||
"host": true
|
||||
}
|
||||
]
|
||||
}
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "acbbb26e54e658b8af673a112fb338274275ad6b",
|
||||
"version": "3.2.1",
|
||||
"port-version": 1
|
||||
},
|
||||
{
|
||||
"git-tree": "0dc3ede1be6316bee6853f84c5f147340be70ee8",
|
||||
"version-string": "3.2.1",
|
||||
|
@ -150,7 +150,7 @@
|
||||
},
|
||||
"argtable3": {
|
||||
"baseline": "3.2.1",
|
||||
"port-version": 0
|
||||
"port-version": 1
|
||||
},
|
||||
"argumentum": {
|
||||
"baseline": "0.3.1",
|
||||
|
Loading…
x
Reference in New Issue
Block a user