mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-16 16:29:03 +08:00
1200c2237d
* [clipboardcxx] Add new port * Run x-add-version * license * Update clipboardcxx.json * Add homepage * update version * Update ports/clipboardcxx/vcpkg.json Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com> * Update and rename ports/clipboardcxx/portfile.cmake to ports/clipboardxx/portfile.cmake * Rename ports/clipboardcxx/vcpkg.json to ports/clipboardxx/vcpkg.json * Rename clipboardcxx.json to clipboardxx.json * Update baseline.json * Update portfile.cmake * Update vcpkg.json * Update clipboardxx.json * . * Update clipboardxx.json * Nicole CRs - add `supports: !osx` - add `unofficial-clipboardxx-config.cmake` Co-authored-by: Jonliu1993 <13720414433@163.com> Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com> Co-authored-by: nicole mazzuca <mazzucan@outlook.com>
25 lines
763 B
CMake
25 lines
763 B
CMake
# Download the code from GitHub
|
|
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO Arian8j2/ClipboardXX
|
|
REF d404c39ba384f8e16555610b3633cd7b58d84c59
|
|
SHA512 503bc78cd9fd6096fa92524973d19cbc9169fca91450837a2af7f1518eb928dce10c01e446de1ab76ae0dc366b26831df403f021118fe5c3c2eaeb4d752f638f
|
|
HEAD_REF master
|
|
)
|
|
|
|
vcpkg_cmake_configure(
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
|
)
|
|
|
|
vcpkg_cmake_install()
|
|
vcpkg_copy_pdbs()
|
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug")
|
|
|
|
configure_file(
|
|
"${CMAKE_CURRENT_LIST_DIR}/unofficial-clipboardxx-config.cmake.in"
|
|
"${CURRENT_PACKAGES_DIR}/share/unofficial-clipboardxx/unofficial-clipboardxx-config.cmake"
|
|
@ONLY
|
|
)
|
|
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|