2024-08-23 17:19:15 +08:00
if ( EXISTS ${ CURRENT_INSTALLED_DIR } /share/signalrclient/copyright )
message ( FATAL_ERROR "'${PORT}' conflicts with 'signalrclient'. Please remove signalrclient:${TARGET_TRIPLET}, and try to install ${PORT}:${TARGET_TRIPLET} again." )
endif ( )
2024-08-10 17:22:49 +08:00
vcpkg_download_distfile ( PATCH_FIX_GCC_13_COMPILATION
U R L S h t t p s : / / g i t h u b . c o m / a s p n e t / S i g n a l R - C l i e n t - C p p / c o m m i t / 6 6 4 5 8 7 0 4 c f 5 8 8 e a e 2 8 b 4 9 0 b 7 3 b b c 8 2 6 1 b f 0 4 f 3 1 a . d i f f ? f u l l _ i n d e x = 1
S H A 5 1 2 e 8 b 6 e d b c 8 4 f 9 f 6 f d 1 f e 5 f 0 f 6 3 a 1 b 6 6 0 0 4 d 5 6 2 c 3 9 2 6 a b 9 1 3 0 a 2 c e 4 f a 7 1 3 7 e 6 b 1 d 4 d 5 c 4 0 7 b 9 5 f 2 8 6 7 e 4 5 2 8 6 3 5 7 8 f f d 0 3 c a 3 b e 3 3 2 6 d a c 1 9 d 1 4 b a f 7 7 4 1 6 c 7 1 e 2 3 7 c 9
F I L E N A M E a s p n e t - S i g n a l R - C l i e n t - C p p - p r - 9 6 . d i f f
)
2020-05-16 03:05:14 +08:00
vcpkg_from_github (
O U T _ S O U R C E _ P A T H S O U R C E _ P A T H
R E P O a s p n e t / S i g n a l R - C l i e n t - C p p
2023-04-26 13:46:39 +08:00
R E F " v $ { V E R S I O N } "
2022-10-28 10:24:44 +08:00
S H A 5 1 2 b 8 7 c 9 4 e 8 b c 8 1 7 8 1 c 1 c f b 4 2 9 2 f 1 f e 3 c e 0 4 6 a 5 f 1 9 2 a 2 5 c 0 2 1 0 4 f 4 5 4 b 5 3 3 3 4 9 c 1 c 0 e d 9 6 5 5 7 0 b d 7 4 9 b 4 9 6 b b 3 1 6 c c b 8 9 a e 5 1 c 5 e 7 4 6 1 f f a 0 6 0 5 5 e 7 1 d a c 6 5 9 f b d e 7 9 4 5 6
2021-03-27 02:10:47 +08:00
H E A D _ R E F m a i n
2023-05-12 02:37:33 +08:00
P A T C H E S
f i n d - m s g p a c k . p a t c h
2024-08-10 17:22:49 +08:00
" $ { P A T C H _ F I X _ G C C _ 1 3 _ C O M P I L A T I O N } "
2020-05-16 03:05:14 +08:00
)
vcpkg_check_features (
O U T _ F E A T U R E _ O P T I O N S F E A T U R E _ O P T I O N S
F E A T U R E S
c p p r e s t s d k U S E _ C P P R E S T S D K
2021-08-10 00:08:38 +08:00
m e s s a g e p a c k U S E _ M S G P A C K
2020-05-16 03:05:14 +08:00
)
2023-03-08 06:14:52 +08:00
vcpkg_cmake_configure (
S O U R C E _ P A T H " $ { S O U R C E _ P A T H } "
2020-05-16 03:05:14 +08:00
O P T I O N S
- D B U I L D _ T E S T I N G = O F F
$ { F E A T U R E _ O P T I O N S }
- D W A L L = O F F
2024-08-20 00:22:54 +08:00
- D W E R R O R = O F F
2023-05-12 02:37:33 +08:00
" - D J S O N C P P _ L I B = J s o n C p p : : J s o n C p p "
2020-05-16 03:05:14 +08:00
)
2023-03-08 06:14:52 +08:00
vcpkg_cmake_install ( )
vcpkg_cmake_config_fixup ( CONFIG_PATH lib/share/microsoft-signalr )
2020-05-16 03:05:14 +08:00
2023-03-08 06:14:52 +08:00
file ( REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/lib/share" "${CURRENT_PACKAGES_DIR}/lib/share" )
file ( REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include" )
2020-05-16 03:05:14 +08:00
2023-04-26 13:46:39 +08:00
vcpkg_install_copyright ( FILE_LIST "${SOURCE_PATH}/LICENSE.txt" )
2023-03-08 06:14:52 +08:00
file ( COPY "${SOURCE_PATH}/third-party-notices.txt" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" )
2020-05-16 03:05:14 +08:00
2023-04-26 13:46:39 +08:00
vcpkg_copy_pdbs ( )