-
Notifications
You must be signed in to change notification settings - Fork 6.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
84d5013
commit b69d0c4
Showing
4 changed files
with
56 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
vcpkg_from_github( | ||
OUT_SOURCE_PATH SOURCE_PATH | ||
REPO DNKpp/mimicpp | ||
REF "v${VERSION}" | ||
SHA512 a1c9496c28ad7940a91e6491d9a5992533c72fe3dcd19a3397ae40bc0de363bc796db1168a3caf66c8fc6718a100ab83cb0458e2b68e564efd2cf146db45b221 | ||
HEAD_REF main | ||
) | ||
|
||
set(VCPKG_BUILD_TYPE release) # header-only port | ||
|
||
vcpkg_cmake_configure( | ||
SOURCE_PATH "${SOURCE_PATH}" | ||
OPTIONS | ||
-DMIMICPP_BUILD_TESTS=OFF | ||
-DMIMICPP_BUILD_EXAMPLES=OFF | ||
-DMIMICPP_CONFIGURE_DOXYGEN=OFF | ||
-DMIMICPP_ENABLE_AMALGAMATE_HEADERS=OFF | ||
) | ||
|
||
vcpkg_cmake_install() | ||
|
||
vcpkg_cmake_config_fixup(CONFIG_PATH lib/mimipp/cmake) | ||
|
||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/lib") | ||
|
||
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE_1_0.txt") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"name": "mimicpp", | ||
"version": "3", | ||
"description": "mimic++, a modern and (mostly) macro free mocking framework.", | ||
"homepage": "https://github.com/DNKpp/mimicpp", | ||
"license": "BSL-1.0", | ||
"dependencies": [ | ||
{ | ||
"name": "vcpkg-cmake", | ||
"host": true | ||
}, | ||
{ | ||
"name": "vcpkg-cmake-config", | ||
"host": true | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"versions": [ | ||
{ | ||
"git-tree": "ef648806009c754d8077dad2e1fd9e434616f427", | ||
"version": "3", | ||
"port-version": 0 | ||
} | ||
] | ||
} |