mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-24 05:59:07 +08:00
add igloo port (#4657)
* add igloo port * [igloo] Use vcpkg_from_github * add snowhouse
This commit is contained in:
parent
c6f4bb5aca
commit
17870d0fdd
3
ports/igloo/CONTROL
Normal file
3
ports/igloo/CONTROL
Normal file
@ -0,0 +1,3 @@
|
||||
Source: igloo
|
||||
Version: 1.1.1
|
||||
Description: A framework for unit testing in C++
|
16
ports/igloo/portfile.cmake
Normal file
16
ports/igloo/portfile.cmake
Normal file
@ -0,0 +1,16 @@
|
||||
include(vcpkg_common_functions)
|
||||
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO joakimkarlsson/igloo
|
||||
REF igloo.1.1.1
|
||||
SHA512 69d8edb840aa1e2c1df4529a39b94e2d33dbc9fb5869ae91a0f062d29b7fbb73d4e2180080e7696cb69fbf5126c7c53c98dddb003e0e5e796812330e1a4ba32e
|
||||
HEAD_REF master
|
||||
)
|
||||
|
||||
file(COPY ${SOURCE_PATH}/igloo DESTINATION ${CURRENT_PACKAGES_DIR}/include/ FILES_MATCHING PATTERN *.h)
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/include/igloo/external/snowhouse)
|
||||
file(WRITE "${CURRENT_PACKAGES_DIR}/include/igloo/external/snowhouse/snowhouse/snowhouse.h" "#include <snowhouse/snowhouse.h>")
|
||||
|
||||
file(COPY ${SOURCE_PATH}/LICENSE_1_0.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/igloo)
|
||||
file(RENAME ${CURRENT_PACKAGES_DIR}/share/igloo/LICENSE_1_0.txt ${CURRENT_PACKAGES_DIR}/share/igloo/copyright)
|
3
ports/snowhouse/CONTROL
Normal file
3
ports/snowhouse/CONTROL
Normal file
@ -0,0 +1,3 @@
|
||||
Source: snowhouse
|
||||
Version: 3.0.1
|
||||
Description: An assertion library for C++
|
14
ports/snowhouse/portfile.cmake
Normal file
14
ports/snowhouse/portfile.cmake
Normal file
@ -0,0 +1,14 @@
|
||||
include(vcpkg_common_functions)
|
||||
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO banditcpp/snowhouse
|
||||
REF v3.0.1
|
||||
SHA512 b20a703e79a2821bdc43b2a235ed7634499f877f9e96bd0d39eb563ce5c94d4577449cc15dc850176a1b44eb55cf3425885cb4d46a92444a7aa3001ce5d0a3eb
|
||||
HEAD_REF master
|
||||
)
|
||||
|
||||
file(COPY ${SOURCE_PATH}/snowhouse DESTINATION ${CURRENT_PACKAGES_DIR}/include/ FILES_MATCHING PATTERN *.h)
|
||||
|
||||
file(COPY ${SOURCE_PATH}/LICENSE_1_0.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/snowhouse)
|
||||
file(RENAME ${CURRENT_PACKAGES_DIR}/share/snowhouse/LICENSE_1_0.txt ${CURRENT_PACKAGES_DIR}/share/snowhouse/copyright)
|
Loading…
Reference in New Issue
Block a user