This directory contains the official Conan 2.0 recipe configuration for PolyXML.
To test or build the PolyXML Conan package locally:
# 1. Ensure Conan 2.0 is installed
pip install "conan>=2.0"
# 2. Test and package PolyXML from repository root
conan create . --version 0.1.0
# 3. Or test the ConanCenter recipe directly
conan create conan/recipes/polyxml/all --version 0.1.0In your C++ application's conanfile.txt:
[requires]
polyxml/0.1.0
[generators]
CMakeDeps
CMakeToolchainIn your CMakeLists.txt:
find_package(polyxml REQUIRED)
target_link_libraries(my_target PRIVATE polyxml::polyxml)ConanCenter hosts C/C++ packages publicly on conan.io/center.
- Fork
conan-io/conan-center-indexon GitHub. - Clone your fork:
git clone https://github.com/<your-username>/conan-center-index.git cd conan-center-index git checkout -b add-polyxml
- Copy the recipe:
Copy the
conan/recipes/polyxml/folder intorecipes/polyxml/in the cloned repo:cp -r /path/to/PolyXML/conan/recipes/polyxml recipes/
- Test with ConanCenter linter / test:
conan create recipes/polyxml/all --version 0.1.0
- Commit and open a Pull Request:
Open a PR against
git add recipes/polyxml git commit -m "feat(recipes): add polyxml 0.1.0" git push origin add-polyxmlconan-io/conan-center-index. - Automated CI:
The Conan Center Bot (C3I) will automatically trigger builds across Windows, Linux, and macOS. Once maintainers review and merge,
polyxml/0.1.0will be live in ConanCenter worldwide!