mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-24 04:49:04 +08:00
[strtk] Add feature boost (#32629)
This commit is contained in:
parent
f78466713f
commit
37e138c4bc
@ -5,5 +5,11 @@ vcpkg_from_github(
|
||||
SHA512 c37c0df1dd3f7bc1dfcceea83ed9303cf9388ba400ee645f26a24bca50bf85209f7b8a2169f6b98b0267ece986a29a27605ff3eaef50a44629fb7e042d06f26a
|
||||
)
|
||||
|
||||
file(COPY ${SOURCE_PATH}/strtk.hpp DESTINATION ${CURRENT_PACKAGES_DIR}/include)
|
||||
file(COPY ${CMAKE_CURRENT_LIST_DIR}/copyright DESTINATION ${CURRENT_PACKAGES_DIR}/share/strtk)
|
||||
file(COPY "${SOURCE_PATH}/strtk.hpp" DESTINATION "${CURRENT_PACKAGES_DIR}/include")
|
||||
|
||||
if("boost" IN_LIST FEATURES)
|
||||
else()
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/include/strtk.hpp" "#ifndef strtk_no_tr1_or_boost" "#if 0")
|
||||
endif()
|
||||
|
||||
vcpkg_install_copyright(FILE_LIST "${CMAKE_CURRENT_LIST_DIR}/copyright")
|
||||
|
@ -1,10 +1,16 @@
|
||||
{
|
||||
"name": "strtk",
|
||||
"version-date": "2020-09-14",
|
||||
"port-version": 2,
|
||||
"port-version": 3,
|
||||
"description": "robust, optimized and portable string processing algorithms for the C++ language",
|
||||
"homepage": "https://github.com/ArashPartow/strtk",
|
||||
"dependencies": [
|
||||
"boost"
|
||||
]
|
||||
"license": null,
|
||||
"features": {
|
||||
"boost": {
|
||||
"description": "Request boost libraries",
|
||||
"dependencies": [
|
||||
"boost"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -7886,7 +7886,7 @@
|
||||
},
|
||||
"strtk": {
|
||||
"baseline": "2020-09-14",
|
||||
"port-version": 2
|
||||
"port-version": 3
|
||||
},
|
||||
"stx": {
|
||||
"baseline": "0.0.3",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "25bd007473e6ece64e317dc8b4ea97d29188a173",
|
||||
"version-date": "2020-09-14",
|
||||
"port-version": 3
|
||||
},
|
||||
{
|
||||
"git-tree": "42d71cbd4755eecc7183ac64b262ddd87450c431",
|
||||
"version-date": "2020-09-14",
|
||||
|
Loading…
Reference in New Issue
Block a user