Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: Support for lcov/gcov with Ninja #30

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Commits on Jun 25, 2020

  1. Configuration menu
    Copy the full SHA
    409aa53 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    cee7f2c View commit details
    Browse the repository at this point in the history
  3. Add a simple test script

    Test the combinations (ninja,make) x (gcov,lcov)
    giacomini committed Jun 25, 2020
    Configuration menu
    Copy the full SHA
    273dc1e View commit details
    Browse the repository at this point in the history
  4. Run gcov from the cmake binary dir

    If run from the *current* binary dir, gcov gives errors such as:
    Cannot open source file ../src/libfoo/foo.c
    The gcov files are all created in the same dir, but the -p option
    should guarantee there are no name clashes
    giacomini committed Jun 25, 2020
    Configuration menu
    Copy the full SHA
    bef4553 View commit details
    Browse the repository at this point in the history
  5. Don't use --base-directory and --no-external flags

    This seems the only way to make all the ninja/make combinations happy.
    If this is really the case, some cleanup is needed.
    External code should be excluded through LCOV_REMOVE_PATTERNS.
    giacomini committed Jun 25, 2020
    Configuration menu
    Copy the full SHA
    115a51d View commit details
    Browse the repository at this point in the history