diff options
| author | ambroise <apetitgenet@free.fr> | 2018-01-25 23:14:43 +0100 |
|---|---|---|
| committer | Robert Schumacher <roschuma@microsoft.com> | 2018-03-23 10:30:56 -0700 |
| commit | ca154ffb79b03413f38cac3d24707e0d17262ff5 (patch) | |
| tree | 6976b71d4bac0d2e90e94917b01abff87fa84226 /ports/fmem | |
| parent | 0167d4f917c7c49ed2041f499bbab6e28fcc9168 (diff) | |
| download | vcpkg-ca154ffb79b03413f38cac3d24707e0d17262ff5.tar.gz vcpkg-ca154ffb79b03413f38cac3d24707e0d17262ff5.zip | |
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.
Diffstat (limited to 'ports/fmem')
| -rw-r--r-- | ports/fmem/CONTROL | 3 | ||||
| -rw-r--r-- | ports/fmem/portfile.cmake | 25 |
2 files changed, 28 insertions, 0 deletions
diff --git a/ports/fmem/CONTROL b/ports/fmem/CONTROL new file mode 100644 index 000000000..25f24652a --- /dev/null +++ b/ports/fmem/CONTROL @@ -0,0 +1,3 @@ +Source: fmem +Version: c-libs-2ccee3d2fb +Description: A cross-platform library for opening memory-backed libc streams. diff --git a/ports/fmem/portfile.cmake b/ports/fmem/portfile.cmake new file mode 100644 index 000000000..b3b5faa83 --- /dev/null +++ b/ports/fmem/portfile.cmake @@ -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) |
