mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-14 02:38:03 +08:00
[arg-router] Update to v1.2.2 (#30024)
* [arg-router] Update to v1.2.2 Bug fixes * Issue 284, specify Boost as a dependency in the config file * Issue 274, CMake package should detect Boost headers itself Improvements * CMake package exported target should be namespaced (Issue 275) * Improve CMake package config files installation (Issue 276) * Reverted unrelated baseline change
This commit is contained in:
parent
0d138770f0
commit
f3bc121a2a
@ -3,7 +3,7 @@ vcpkg_from_github(
|
||||
REPO cmannett85/arg_router
|
||||
REF v${VERSION}
|
||||
HEAD_REF main
|
||||
SHA512 69448b9343247679a7f288c4b69819df68ba8893d3537b2bdfedf77e2c4f8d39696c68f7716eda108810a7b951f2fec57d329d4113623edf2d28c55e3e68329f
|
||||
SHA512 7f19f9b4df8c2b8968cfc05a92eb3dab44fdc261835a75ccf6e0ec64c68059f05fd7125466e81fa8b04638ab79792b2151216214bb121c06c77c4441a6917315
|
||||
)
|
||||
|
||||
set(VCPKG_BUILD_TYPE release) # header-only port
|
||||
@ -21,22 +21,10 @@ file(COPY "${CMAKE_CURRENT_LIST_DIR}/usage"
|
||||
DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}"
|
||||
)
|
||||
|
||||
set(CMAKE_FILE_DIR "lib/cmake/arg_router")
|
||||
if (WIN32)
|
||||
set(CMAKE_FILE_DIR "cmake")
|
||||
elseif (APPLE)
|
||||
set(CMAKE_FILE_DIR "arg_router.framework/Resources/CMake")
|
||||
endif()
|
||||
|
||||
vcpkg_cmake_config_fixup(
|
||||
PACKAGE_NAME arg_router
|
||||
CONFIG_PATH "${CMAKE_FILE_DIR}"
|
||||
)
|
||||
|
||||
string(FIND "${CMAKE_FILE_DIR}" "/" CMAKE_FILE_DIR_SLASH_IDX)
|
||||
string(SUBSTRING "${CMAKE_FILE_DIR}" 0 ${CMAKE_FILE_DIR_SLASH_IDX} CMAKE_FILE_DIR_ROOT)
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/${CMAKE_FILE_DIR_ROOT}")
|
||||
|
||||
file(REMOVE "${CURRENT_PACKAGES_DIR}/include/arg_router/LICENSE"
|
||||
"${CURRENT_PACKAGES_DIR}/include/arg_router/README.md"
|
||||
)
|
||||
|
@ -1,7 +1,7 @@
|
||||
The package arg-router is a header-only library and so is typically used like this:
|
||||
|
||||
find_package(arg_router REQUIRED)
|
||||
target_link_libraries(my_exe PUBLIC arg_router)
|
||||
target_link_libraries(my_exe PUBLIC arg_router::arg_router)
|
||||
|
||||
For more information, see the docs here:
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "arg-router",
|
||||
"version": "1.2.0",
|
||||
"version": "1.2.2",
|
||||
"description": "C++ command line argument parsing and routing.",
|
||||
"homepage": "https://github.com/cmannett85/arg_router",
|
||||
"documentation": "https://cmannett85.github.io/arg_router/",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "9e1db4d06fe1aa7b5f0677d4e843331e7c7b2bca",
|
||||
"version": "1.2.2",
|
||||
"port-version": 0
|
||||
},
|
||||
{
|
||||
"git-tree": "2ad077ad64e854b417c0c85f5900528795bc2028",
|
||||
"version": "1.2.0",
|
||||
|
@ -165,7 +165,7 @@
|
||||
"port-version": 2
|
||||
},
|
||||
"arg-router": {
|
||||
"baseline": "1.2.0",
|
||||
"baseline": "1.2.2",
|
||||
"port-version": 0
|
||||
},
|
||||
"argagg": {
|
||||
|
Loading…
x
Reference in New Issue
Block a user