GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - cpp-pm/hunter-testing: Testing repository for Hunter

This repository was archived by the owner on Oct 6, 2020. It is now read-only.
BranchesTags
Open more actions menu

Latest commit

 

History

6,977 Commits
6,977 Commits

Folders and files

NameName
Last commit message
Last commit date
cmake
cmake
 
 
docs
docs
 
 
examples
examples
 
 
gate @ 958e65c
gate @ 958e65c
 
 
maintenance
maintenance
 
 
scripts
scripts
 
 
tests
tests
 
 
.gitignore
.gitignore
 
 
.gitmodules
.gitmodules
 
 
.travis.yml
.travis.yml
 
 
LICENSE
LICENSE
 
 
appveyor.yml
appveyor.yml
 
 
jenkins.py
jenkins.py
 
 

Repository files navigation

Contributing

There are many ways to contribute to Hunter:

  • Documentation
  • There is a newer version of an existing package? Notify us or send a pull request with an updated version.
  • Missing a package in Hunter? :ref:`Add a new package <creating new>`
  • Resolve Issues
    • Can you provide an answer to an open question?
    • Can you reproduce the error?
    • Is the issue still relevant? Maybe the issue can be closed.

When contributing please follow the style guides:

  • Git
  • CMake

Note

The minimum version of CMake for using Hunter is 3.0. Please check that you're not using commands from newer versions (see documentation for 3.0).

Note

Before adding or updating a package in Hunter, the package is tested. Tests are done to check if the source can be downloaded, built and linked. Head over to our repository for per package CI testing contribution to see more.

Note

If you're planning to introduce nontrivial feature it's better to discuss design first, it will save a lot of time for both you and developers.

Reporting bugs

Hunter is CMake-based package manager so it's assumed that CMake is installed and working correctly. Before reporting bugs please check:

  • Appropriate version of CMake is installed. See :doc:`CMake version for Hunter </quick-start/cmake>`.

  • Verify CMake, build tools and C/C++ compilers you're planning to use. E.g. try to build simple CMake project (check this document in case you have troubles):

    # CMakeLists.txt
    
    cmake_minimum_required(VERSION 3.0)
    project(foo)
    
    add_executable(foo foo.cpp)
    // foo.cpp
    
    #include <iostream>
    
    int main() {
      std::cout << "Hello world!" << std::endl;
    }
  • If you are experiencing some download error please check F.A.Q.: :doc:`How to fix download error? </faq/how-to-fix-download-error>`

If everything seems OK:

  • Run build again with :ref:`HUNTER_STATUS_DEBUG=ON <hunter_status_debug>`

  • Make sure you're not using :ref:`HUNTER_NO_TOOLCHAIN_ID_RECALCULATION <hunter no toolchain id recalculation>`

  • Take a look at first error reported by Hunter. If Hunter reports chain of errors the last error you see is not relevant!

  • Update to latest Hunter URL/SHA1 and check that issue you have hit is not already fixed/reported

  • Check this document if the first error you see is external.build.failed:

    • https://hunter.readthedocs.io/en/latest/reference/errors/error.external.build.failed.html
  • Remove irrelevant code from your example and report one problem at a time. Try to construct SSCCE. If you need more files than just CMakeLists.txt it's better to create separate GitHub repository for easy copying of your example. It will be nice if you can reproduce the issue with the CI system like AppVeyor/Travis.

  • Do not remove ~/.hunter repository to try to fix the issue! Hunter designed to be correct and reproducible, there should be no stale/rotten artifacts inside that can affect his work. If the rm -rf ~/.hunter step fix the issue for you it means that either you are using Hunter wrongly or there is a bug somewhere. If you want to figure out what is the origin of the problem please do keep ~/.hunter directory.

  • Open an issue and provide next info:

    • CMake version you're using cmake --version. CMake build from source?

    • OS (Linux, OSX, Windows)

    • Command line you're using on generate step, e.g.

      cmake -H. -B_builds "-GVisual Studio 14 2015"
      
    • Are you using toolchain?

    • Add log until first error reported by Hunter

About

Testing repository for Hunter

BSD-2-Clause license

Contributing

Contributing
Activity
Custom properties

Stars

1 star

Watchers

3 watching

Forks

17 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.