mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-27 10:21:07 +08:00
[ptc-print] Switch to official usage (#28771)
* [ptc-print] Add the current usage * version * update usage and use usage * version * Use the officially exported usage * update version * miss the space * version
This commit is contained in:
parent
11fbf278cc
commit
2528a34051
@ -1,3 +1,5 @@
|
||||
# header-only library
|
||||
|
||||
# Github config
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
@ -16,7 +18,7 @@ vcpkg_cmake_configure(
|
||||
vcpkg_cmake_install()
|
||||
|
||||
# Move cmake configs
|
||||
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/ptcprint)
|
||||
vcpkg_cmake_config_fixup(PACKAGE_NAME ptcprint CONFIG_PATH lib/cmake/ptcprint)
|
||||
|
||||
# Remove duplicate files
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include"
|
||||
@ -25,4 +27,4 @@ file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include"
|
||||
"${CURRENT_PACKAGES_DIR}/debug")
|
||||
|
||||
# Install license
|
||||
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/ptc-print" RENAME copyright)
|
||||
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
|
||||
|
@ -1,5 +0,0 @@
|
||||
ptc-print provides CMake targets:
|
||||
|
||||
find_package(ptcprint)
|
||||
target_link_libraries(main PRIVATE ptcprint::ptcprint)
|
||||
|
@ -1,6 +1,7 @@
|
||||
{
|
||||
"name": "ptc-print",
|
||||
"version": "1.4.0",
|
||||
"port-version": 1,
|
||||
"description": "A single-header library for custom printing to the output stream.",
|
||||
"homepage": "https://github.com/JustWhit3/ptc-print",
|
||||
"license": "MIT",
|
||||
|
@ -6142,7 +6142,7 @@
|
||||
},
|
||||
"ptc-print": {
|
||||
"baseline": "1.4.0",
|
||||
"port-version": 0
|
||||
"port-version": 1
|
||||
},
|
||||
"ptex": {
|
||||
"baseline": "2.3.2",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "03f588ecdd3b7638a92dd2c61ea3ca0adaa28eb6",
|
||||
"version": "1.4.0",
|
||||
"port-version": 1
|
||||
},
|
||||
{
|
||||
"git-tree": "f397412b082c666b7b130ca2f808b0e7badcdf0e",
|
||||
"version": "1.4.0",
|
||||
|
Loading…
x
Reference in New Issue
Block a user