Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • CMake CMake
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 4,105
    • Issues 4,105
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 10
    • Merge requests 10
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • External wiki
    • External wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • CMakeCMake
  • CMakeCMake
  • Merge requests
  • !6632

FindGTest: Add target for gmock library

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Eero Aaltonen requested to merge eaaltonen/cmake:target-for-gmock into master Oct 17, 2021
  • Overview 58
  • Commits 1
  • Pipelines 17
  • Changes 3

googlemock has been absorbed into the googletest project and is built and installed from the same source tree. Add a CMake target for the gmock library in FindGTest.cmake.

In googletest version 1.8 gmock is built and installed from the same sources. In versions >= 1.8.1 upstream provides package configuration files, which usually provide the GTest::gmock (except cross-compiling with Yocto dunfell, for some reason).

Topic-rename: FindGTest-target-for-gmock

Edited Nov 22, 2021 by Brad King
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: target-for-gmock