mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-31 05:03:22 +08:00
ce25440a35
* update version * versions/s-/serdepp.json test * version serdepp.json update * remove serdepp features * portfile.cmake update and remove features * update version * update description * update description * version update * update description * update version * disable_parallel_configure ON * version update * add script find_package(Git) * version update * git_executable test * version update * [serdepp] new port * [serdepp] version update * 0.1.4-pre -> 0.1.4 * vcpkg version update * vcpkg version refresh * version update * Apply suggestions from code review Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com> * update * baseline update Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>
29 lines
754 B
CMake
29 lines
754 B
CMake
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO injae/serdepp
|
|
REF v0.1.4
|
|
SHA512 da84ad82e882c0cada5c9dd3c77afd45aaf7b3b4eb150257b09b9b4854b349fdb2c39be2f6ba40bb39b34262e44609a02afba1ec860625f25a2313f7ac34a055
|
|
HEAD_REF main
|
|
)
|
|
|
|
|
|
vcpkg_cmake_configure(
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
|
OPTIONS
|
|
-DSERDEPP_BUILD_TESTING=OFF
|
|
-DENABLE_INLINE_CPPM_TOOLS=ON
|
|
)
|
|
|
|
vcpkg_cmake_install()
|
|
|
|
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/serdepp)
|
|
|
|
file(REMOVE_RECURSE
|
|
"${CURRENT_PACKAGES_DIR}/debug/cmake"
|
|
"${CURRENT_PACKAGES_DIR}/debug/include"
|
|
"${CURRENT_PACKAGES_DIR}/lib/cmake"
|
|
)
|
|
|
|
# # Handle copyright
|
|
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|