early-access version 2853
This commit is contained in:
26
externals/vcpkg/ports/cello/CMakeLists.txt
vendored
Executable file
26
externals/vcpkg/ports/cello/CMakeLists.txt
vendored
Executable file
@@ -0,0 +1,26 @@
|
||||
cmake_minimum_required(VERSION 3.14)
|
||||
|
||||
project(cello LANGUAGES C)
|
||||
|
||||
include(GNUInstallDirs)
|
||||
|
||||
file(GLOB cello_sources src/*.c)
|
||||
add_library(cello ${cello_sources})
|
||||
|
||||
target_include_directories(
|
||||
cello
|
||||
PUBLIC
|
||||
$<BUILD_INTERFACE:${CMAKE_CURRENT_LIST_DIR}/include>
|
||||
$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>
|
||||
)
|
||||
|
||||
set_target_properties(cello PROPERTIES PUBLIC_HEADER include/Cello.h)
|
||||
|
||||
install(TARGETS cello EXPORT unofficial-cello-config)
|
||||
|
||||
install(
|
||||
EXPORT unofficial-cello-config
|
||||
NAMESPACE unofficial::cello::
|
||||
DESTINATION share/unofficial-cello
|
||||
PERMISSIONS OWNER_READ OWNER_WRITE GROUP_READ WORLD_READ
|
||||
)
|
||||
27
externals/vcpkg/ports/cello/portfile.cmake
vendored
Executable file
27
externals/vcpkg/ports/cello/portfile.cmake
vendored
Executable file
@@ -0,0 +1,27 @@
|
||||
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
|
||||
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO orangeduck/Cello
|
||||
REF da28eefbc95d8bd5628e5f1c4cc12bc1b13fef4f
|
||||
SHA512 64825cf37223dd679b379d78475218a543690c3b78333acb906d42982261df4b9ada3a87bea183fad5e2cf220311904e657b0bf5051b141c389d5ee1d2974e5b
|
||||
HEAD_REF master
|
||||
)
|
||||
|
||||
file(COPY ${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt DESTINATION ${SOURCE_PATH})
|
||||
|
||||
vcpkg_configure_cmake(
|
||||
SOURCE_PATH ${SOURCE_PATH}
|
||||
PREFER_NINJA
|
||||
)
|
||||
|
||||
vcpkg_install_cmake()
|
||||
|
||||
vcpkg_copy_pdbs()
|
||||
|
||||
vcpkg_fixup_cmake_targets(CONFIG_PATH share/unofficial-${PORT} TARGET_PATH share/unofficial-${PORT})
|
||||
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
|
||||
|
||||
# Handle copyright
|
||||
configure_file(${SOURCE_PATH}/LICENSE.md ${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright COPYONLY)
|
||||
7
externals/vcpkg/ports/cello/vcpkg.json
vendored
Executable file
7
externals/vcpkg/ports/cello/vcpkg.json
vendored
Executable file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"name": "cello",
|
||||
"version-date": "2019-07-23",
|
||||
"port-version": 2,
|
||||
"description": "Higher level programming in C",
|
||||
"homepage": "https://libcello.org/"
|
||||
}
|
||||
Reference in New Issue
Block a user