Giter Site home page Giter Site logo

cmake-unit's People

Contributors

smspillaz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cmake-unit's Issues

I have trouble with getting cmake-unit and dependencies.

Hi smspillaz,

I would like to try out the cmake-unit project, but I have trouble "installing" it. When I download the project and simply add it to my project it misses the file conanbuildinfo.cmake. It would be very helpful if you had some instructions on how to correctly get your package and its dependencies at the top of the documentation.

From the conan.py file, I take that the missing files are retrieved using the conan package manager. I have only beginners knowledge of python and none of conan. I am working with python 3.4 on windows btw. So this is what I tried so far:

  • install conan with python -m pip install conan
  • add the conan directory to PYTHONPATH
  • changed the current directory to the download directory of cmake-unit which I copied into my project.
  • ran python -m conan install
    -> retrieved the following error output
Requirements
    cmake-call-function/master@smspillaz/cmake-call-function from conan.io
    cmake-forward-arguments/master@smspillaz/cmake-forward-arguments from conan.io
    cmake-forward-cache/master@smspillaz/cmake-forward-cache from conan.io
    cmake-include-guard/master@smspillaz/cmake-include-guard from conan.io
    cmake-opt-arg-parsing/master@smspillaz/cmake-opt-arg-parsing from conan.io
    cmake-spacify-list/master@smspillaz/cmake-spacify-list from conan.io
Packages
    cmake-call-function/master@smspillaz/cmake-call-function:c6adec7915b5bae7abf89c59546b0a540bfb7601
    cmake-forward-arguments/master@smspillaz/cmake-forward-arguments:c6adec7915b5bae7abf89c59546b0a540bfb7601
    cmake-forward-cache/master@smspillaz/cmake-forward-cache:c6adec7915b5bae7abf89c59546b0a540bfb7601
    cmake-include-guard/master@smspillaz/cmake-include-guard:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9
    cmake-opt-arg-parsing/master@smspillaz/cmake-opt-arg-parsing:c6adec7915b5bae7abf89c59546b0a540bfb7601
    cmake-spacify-list/master@smspillaz/cmake-spacify-list:34a1ee842030afb1f43dc95a615b35ab928736f2

WARN: Can't find a 'cmake-include-guard/master@smspillaz/cmake-include-guard' package for the specified options and settings:
- Settings:
- Options: dev=False

ERROR: Missing prebuilt package for 'cmake-include-guard/master@smspillaz/cmake-include-guard'
Try to build it from sources with "--build cmake-include-guard"
Or read "http://docs.conan.io/en/latest/faq/troubleshooting.html#error-missing-prebuilt-package"
  • threw my hands up in desperation, gave up and wrote this issue ;-)

Do you have any ideas what else do I need to do to make it work?
Thank you for your time.

Coverage file paths may not contain square brackets ([])

Coverage file paths may not contain the square brackets ([,]) characters. These characters are stripped out of the configure phase standard error as they cause problems with ; delimiters splitting lines in CMake.

Workaround: Do not use square brackets in filenames or paths to filenames.

Custom Command output on Visual Studio Generators not available

The command name add_custom_target on Visual Studio generators will never be printed in the build logs, even with the highest verbosity settings. This makes it impossible to check the build logs to see if commands ran.

A similar issue theoretically exists for add_custom_command, but this can be worked around.

Workaround: Avoid running commands in add_custom_target. Instead, generate a file and use add_custom_command instead.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.