mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-30 18:41:37 +08:00
25 lines
1.2 KiB
CMake
25 lines
1.2 KiB
CMake
|
# Common Ambient Variables:
|
||
|
# CURRENT_BUILDTREES_DIR = ${VCPKG_ROOT_DIR}\buildtrees\${PORT}
|
||
|
# CURRENT_PACKAGES_DIR = ${VCPKG_ROOT_DIR}\packages\${PORT}_${TARGET_TRIPLET}
|
||
|
# CURRENT_PORT_DIR = ${VCPKG_ROOT_DIR}\ports\${PORT}
|
||
|
# PORT = current port name (zlib, etc)
|
||
|
# TARGET_TRIPLET = current triplet (x86-windows, x64-windows-static, etc)
|
||
|
# VCPKG_CRT_LINKAGE = C runtime linkage type (static, dynamic)
|
||
|
# VCPKG_LIBRARY_LINKAGE = target library linkage type (static, dynamic)
|
||
|
# VCPKG_ROOT_DIR = <C:\path\to\current\vcpkg>
|
||
|
# VCPKG_TARGET_ARCHITECTURE = target architecture (x64, x86, arm)
|
||
|
#
|
||
|
include(vcpkg_common_functions)
|
||
|
|
||
|
vcpkg_from_github(
|
||
|
OUT_SOURCE_PATH SOURCE_PATH
|
||
|
REPO CaptainCrowbar/rs-core-lib
|
||
|
REF 1ed2dadbda3977b13e5e83cc1f3eeca76b36ebe5
|
||
|
SHA512 f84803fdd26f36b2a3748b9668253f058376e19740bc85e009726142b0b1f5906423729d9b71b224a995869a428a7e1e7b1f8afae897d416d9dfc1708b41975a
|
||
|
HEAD_REF master
|
||
|
)
|
||
|
|
||
|
file(INSTALL ${SOURCE_PATH}/rs-core DESTINATION ${CURRENT_PACKAGES_DIR}/include FILES_MATCHING PATTERN "*.hpp")
|
||
|
|
||
|
# Handle copyright
|
||
|
file(INSTALL ${SOURCE_PATH}/LICENSE.TXT DESTINATION ${CURRENT_PACKAGES_DIR}/share/rs-core-lib RENAME copyright)
|