gmock/gtest not built/installed
- Dominant language
- C++
- Stars
- 39.5k
- Forks
- 10.9k
- Avg merge
- 6d 13h
- Merged PRs (30d)
- 1
Description
### Describe the issue
compiling googletest natively on an RPi3 completes without errors.
The shared libraries build/install without problems, but no binaries are built/installed (/usr/local/bin/gmock /usr/local/bin/gtest).
How do I build gmock/gtest (or have I misunderstood).
### Steps to reproduce the problem
```
cmake -LAH -DCMAKE_C_FLAGS_RELEASE="-march=armv6zk -mtune=arm1176jzf-s -mfpu=vfp -Os -pipe -DNDEBUG" -DCMAKE_CXX_FLAGS_RELEASE="-march=armv6zk -mtune=arm1176jzf-s -mfpu=vfp -Os -pipe -DNDEBUG" -DCMAKE_INSTALL_PREFIX=/usr/local -DCMAKE_INSTALL_LIBDIR=/usr/local/lib -DCMAKE_BUILD_TYPE=Release -DCMAKE_VERBOSE_MAKEFILE=TRUE -DBUILD_SHARED_LIBS=ON -G Ninja ../
```
### What version of GoogleTest are you using?
googletest-1.15.2
### What operating system and version are you using?
piCore-15.x
### What compiler and version are you using?
gcc-13.2
### What build system are you using?
cmake/ninja
### Additional context
_No response_
Contributor guide
Research direction
Start with the CMake/Ninja configuration from the reproduction command and review which gmock/gtest targets are defined and installed. Clarify whether the expected binaries are part of the project’s supported install outputs, then document the correct build and installation behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cmake, cpp
- Domain
- build-system, testing-qa
- Issue type
- Documentation
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100