Skip to content

Commit a705074

Browse files
committed
chore(port): [cmake-conan] new port
Signed-off-by: msclock <[email protected]>
1 parent eff8ff6 commit a705074

File tree

5 files changed

+49
-0
lines changed

5 files changed

+49
-0
lines changed

ports/cmake-conan/portfile.cmake

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
vcpkg_from_github(
2+
OUT_SOURCE_PATH
3+
SOURCE_PATH
4+
REPO
5+
conan-io/cmake-conan
6+
REF
7+
${VERSION}
8+
SHA512
9+
29ccceaa0b7fe42b0c4a5f6e5ecb6579753e39371642860c93362aa14302a00081eaff348f7b0e3f3b1cfd39e530e0f4f3a5a7c0662bbdf81030b5fb352678d3
10+
)
11+
12+
vcpkg_cmake_module(PATH_LIST ${SOURCE_PATH}/conan.cmake)
13+
14+
file(INSTALL ${CMAKE_CURRENT_LIST_DIR}/usage
15+
DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT})
16+
17+
vcpkg_install_copyright(FILE_LIST ${SOURCE_PATH}/LICENSE)
18+
set(VCPKG_POLICY_EMPTY_PACKAGE enabled)

ports/cmake-conan/usage

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
The package cmake-conan provides CMake modules:
2+
3+
find_package(cmake-conan REQUIRED)
4+
# More detail can refer to <https://github.com/conan-io/cmake-conan>.
5+
include(cmake-conan/conan)

ports/cmake-conan/vcpkg.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"name": "cmake-conan",
3+
"version": "0.18.1",
4+
"description": "CMake wrapper for conan C and C++ package manager",
5+
"homepage": "https://github.com/conan-io/cmake-conan",
6+
"license": "MIT",
7+
"dependencies": [
8+
{
9+
"name": "vcpkg-cmake-module",
10+
"host": true
11+
}
12+
]
13+
}

versions/baseline.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
{
22
"default": {
3+
"cmake-conan": {
4+
"baseline": "0.18.1",
5+
"port-version": 0
6+
},
37
"cmake-cpm": {
48
"baseline": "0.38.6",
59
"port-version": 2

versions/c-/cmake-conan.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"versions": [
3+
{
4+
"git-tree": "8f8dd314437ecb19b345535632afa5848f462787",
5+
"version": "0.18.1",
6+
"port-version": 0
7+
}
8+
]
9+
}

0 commit comments

Comments
 (0)