Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gmock/gtest not built/installed #4598

Open
juanitotc opened this issue Aug 17, 2024 · 1 comment
Open

gmock/gtest not built/installed #4598

juanitotc opened this issue Aug 17, 2024 · 1 comment

Comments

@juanitotc
Copy link

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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants