Comments (2)
I have this as an overlay port:
portfile.cmake
:
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO vstakhov/libucl
REF 95df30cf3e35788c08be537a1623499c98415674
SHA512 8c61061d3fa02283f700ac6a5ddb035348c67ec4e45d30a47da945a39adffda5f3bc8db6fae35544185983e3204efd7bdef55b145d2a387a04d06aecca461ea3
HEAD_REF master
)
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
)
vcpkg_install_cmake()
vcpkg_fixup_cmake_targets(CONFIG_PATH share/ucl TARGET_PATH share/ucl)
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
file(INSTALL ${SOURCE_PATH}/COPYING DESTINATION ${CURRENT_PACKAGES_DIR}/share/libucl RENAME copyright)
vcpkg.json
:
{
"name": "libucl",
"version-string": "0.8.2",
"description": "Library for manipulating the Universal Configuration Language"
}
With this, I am able to build and incorporate libucl into my project. This doesn't handle any of the optional bits (libcurl / libfetch integration, lua / python bindings).
I am happy to submit this to vcpkg if you like, or you're welcome to use them as the starting point for a richer integration.
from libucl.
Thank you very much for this work, David. I would suggest you to submit this as a starting point and then probably gather feedback from users (if any) for further improvements. I don't use vcpkg, so I cannot properly test it I'm afraid.
from libucl.
Related Issues (20)
- Example does not work as described. HOT 8
- Schema tests failed with latest master HOT 1
- Does registering variables from Python work and how can I use it?
- License of python bindings / Missing license file for python bindings HOT 1
- Memory safety bug in hashtable replace HOT 7
- [DISCUSSION]: Using dot-notation for setting values HOT 1
- Release a new pip package HOT 2
- Heap-buffer-overflow in ucl_maybe_parse_number /src/libucl/src/ucl_parser.c HOT 1
- Cannot convert example from YAML to UCL using ucl_tool HOT 3
- Heap-buffer-overflow in ucl_skip_comments function of ucl_parser.c:182:11
- compile error due to undefined PRId64
- python/setup.py: incremental build fails due to already existing setup.py link
- Feature request: A parser flag to expand variables inside marco options. HOT 1
- How to load libucl through cmake
- Release `0.8.2` to PyPi.
- Parse error when including JSON HOT 1
- Heap-buffer-overflow in ucl_maybe_parse_number function of ucl_parser.c:182:11 HOT 2
- streamline API generates invalid json HOT 4
- gchar, gsize seem to be caused compilation error.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from libucl.