Initialize project

Rajout de fmem de Ambrou en version 1.0

Mise en place de fmem

Use original reposotory

Cleanup cmake file

Add gherkin-c port in vcpkg Microsoft tool

Use original reposotory

[fmem][gherkin-c] Fill in version. Remove cucumber-cpp.
This commit is contained in:
ambroise 2018-01-25 23:14:43 +01:00 committed by Robert Schumacher
parent 0167d4f917
commit ca154ffb79
4 changed files with 54 additions and 0 deletions

3
ports/fmem/CONTROL Normal file
View File

@ -0,0 +1,3 @@
Source: fmem
Version: c-libs-2ccee3d2fb
Description: A cross-platform library for opening memory-backed libc streams.

25
ports/fmem/portfile.cmake Normal file
View File

@ -0,0 +1,25 @@
include(vcpkg_common_functions)
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO c-libs/fmem
REF 2ccee3d2fb2fc72370a9bb2131bfc9167e0d9022
SHA512 4a63332eb5df7f30bdad9e4233171b5c21dd2b092e525e9dcc4f602295ffff50c555c80fd74d964bc3daeffd8001a9b852f1769ef3161259dd8a3cae3ca3a4df
HEAD_REF master
)
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
OPTIONS
-DBUILD_TESTING=OFF
)
vcpkg_install_cmake()
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
vcpkg_copy_pdbs()
# Handle copyright
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/fmem RENAME copyright)

3
ports/gherkin-c/CONTROL Normal file
View File

@ -0,0 +1,3 @@
Source: gherkin-c
Version: c-libs-e63e83104b
Description: Gherkin parser/compiler in C

View File

@ -0,0 +1,23 @@
include(vcpkg_common_functions)
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO c-libs/gherkin-c
REF e63e83104b835e217140e9dc77d9ce2bb50f234e
SHA512 a99b3f695257b45df8ff7b8ec46bff28991cf2b9bc51a25247550471c724bd14ee64340db684f096131f47d7f4ff278d23dda546e7dfe29134bbc1dbccaf0d1e
HEAD_REF master
)
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
OPTIONS
-DBUILD_GHERKIN_TESTS=OFF
)
vcpkg_install_cmake()
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
vcpkg_copy_pdbs()
# Handle copyright
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/gherkin-c RENAME copyright)