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.

Firefox logo
Popular topic
Firefox is an open source web browser from Mozilla.
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 
Trending repository
App recommended by GitHub

CodeFactor

Ensure that your code meets quality standards

CodeFactor instantly performs Code Review with every GitHub Commit or PR. Zero setup time. Get actionable feedback within seconds. Customize rules, get refactoring tips and ignore irrelevant issues.

Languages

Bash, C, C#, C++, CoffeeScript, CSS, Dockerfile, Go, Groovy, Java, JS, Kotlin, Less, PHP, Python, Ruby, Scala, SCSS, Sugar SS, Swift, TypeScript and YAML.

Autofix

Autofix certain reported issues on-demand or automatically.