google / googletest

GoogleTest - Google Testing and Mocking Framework
https://google.github.io/googletest/
BSD 3-Clause "New" or "Revised" License
34.92k stars 10.16k forks source link

gmock/gtest not built/installed #4598

Open juanitotc opened 3 months ago

juanitotc commented 3 months ago

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

FantasqueX commented 2 weeks ago

I think it's expected. Gtest built by ArchLinux doesn't provide executable either. https://archlinux.org/packages/extra/x86_64/gtest/