Skip to content

Here's what's popular on GitHub today...

Community AMA with Mike McQuaid
Staff pick

Join the GitHub community for an AMA with Staff Software Engineer, Author, Inventor and Homebrew Maintainer Mike McQuaid. We’ll discuss Open Source, burnout, mentoring, being a hands-on Dad and his Engineering values.

PHP logo
Popular topic
PHP is a popular general-purpose scripting language that works particularly well for server-side web development.
Trending repository
lukasm91
lukasm91 commented Aug 24, 2019

GTest exports the following targets:

  • GTest::gtest
  • GTest::gtest_main
  • GTest::gmock
  • GTest::gmock_main

This targets should also be available when adding gtest with add_subdirectory (or FetchContent), because this should behave the same way as adding GTest with find_package. So somewhere, we should add the aliases to these targets, i.e.

add_library(GTest::gtest ALIAS 
Code Climate screenshot
App recommended by GitHub

Code Climate

Collaboratively improve code quality with Code Climate and GitHub

Code Climate combines line-by-line test coverage reports, technical debt assessments, and style checks in every pull request so that your team only merges clear, maintainable, and well-tested code.

Trending repository
App recommended by GitHub

WIP

Allow authors of pull requests to set status to pending while still working on it.