Skip to content

Why are Google Test and Google Mock are installed? #626

@susnux

Description

@susnux

when compiling the library for openSUSE it installs also the gmock and gtest libraries and sources:

Make install command:

make VERBOSE=1 DESTDIR=/home/abuild/rpmbuild/BUILDROOT/cpp-netlib-0.12.0-0.x86_64 install/fast -C build

Output:

[ 283s] make: Entering directory '/home/abuild/rpmbuild/BUILD/cpp-netlib-0.12.0-final/build'
[ 283s] /usr/bin/make -f CMakeFiles/Makefile2 preinstall
[ 283s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/cpp-netlib-0.12.0-final/build'
[ 283s] make[1]: Nothing to be done for 'preinstall'.
[ 283s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/cpp-netlib-0.12.0-final/build'
[ 283s] Install the project...
[ 283s] /usr/bin/cmake -P cmake_install.cmake
[ 283s] -- Install configuration: "None"
[ 283s] -- Installing: /home/abuild/rpmbuild/BUILDROOT/cpp-netlib-0.12.0-0.x86_64/usr/include/boost

... more netlib things (correct) ...

[ 283s] -- Installing: /home/abuild/rpmbuild/BUILDROOT/cpp-netlib-0.12.0-0.x86_64/usr/lib/libgmock.so
[ 283s] -- Installing: /home/abuild/rpmbuild/BUILDROOT/cpp-netlib-0.12.0-0.x86_64/usr/lib/libgmock_main.so
[ 283s] -- Installing: /home/abuild/rpmbuild/BUILDROOT/cpp-netlib-0.12.0-0.x86_64/usr/include/gmock
[ 283s] -- Installing: /home/abuild/rpmbuild/BUILDROOT/cpp-netlib-0.12.0-0.x86_64/usr/include/gmock/gmock-generated-matchers.h
[ 283s] -- Installing: /home/abuild/rpmbuild/BUILDROOT/cpp-netlib-0.12.0-0.x86_64/usr/include/gmock/gmock-generated-actions.h.pump
[ 283s] -- Installing: /home/abuild/rpmbuild/BUILDROOT/cpp-netlib-0.12.0-0.x86_64/usr/include/gmock/internal
[ 283s] -- Installing: /home/abuild/rpmbuild/BUILDROOT/cpp-netlib-0.12.0-0.x86_64/usr/include/gmock/internal/gmock-internal-utils.h
[ 283s] -- Installing: /home/abuild/rpmbuild/BUILDROOT/cpp-netlib-0.12.0-0.x86_64/usr/include/gmock/internal/gmock-generated-internal-utils.h
[ 283s] -- Installing: /home/abuild/rpmbuild/BUILDROOT/cpp-netlib-0.12.0-0.x86_64/usr/include/gmock/internal/gmock-port.h
[ 283s] -- Installing: /home/abuild/rpmbuild/BUILDROOT/cpp-netlib-0.12.0-0.x86_64/usr/include/gmock/internal/custom
[ 283s] -- Installing: /home/abuild/rpmbuild/BUILDROOT/cpp-netlib-0.12.0-0.x86_64/usr/include/gmock/internal/custom/gmock-generated-actions.h.pump

... more gmock things ...

Result: A lot of not needed things got installed:

[ 284s] /usr/include/gmock/gmock-actions.h
[ 284s] /usr/include/gmock/gmock-cardinalities.h
[ 284s] /usr/include/gmock/gmock-generated-actions.h
[ 284s] /usr/include/gmock/gmock-generated-actions.h.pump
[ 284s] /usr/include/gmock/gmock-generated-function-mockers.h
[ 284s] /usr/include/gmock/gmock-generated-function-mockers.h.pump
[ 284s] /usr/include/gmock/gmock-generated-matchers.h
[ 284s] /usr/include/gmock/gmock-generated-matchers.h.pump
[ 284s] /usr/include/gmock/gmock-generated-nice-strict.h
[ 284s] /usr/include/gmock/gmock-generated-nice-strict.h.pump
[ 284s] /usr/include/gmock/gmock-matchers.h
[ 284s] /usr/include/gmock/gmock-more-actions.h
[ 284s] /usr/include/gmock/gmock-more-matchers.h
[ 284s] /usr/include/gmock/gmock-spec-builders.h
[ 284s] /usr/include/gmock/gmock.h
[ 284s] /usr/include/gmock/internal/custom/gmock-generated-actions.h
[ 284s] /usr/include/gmock/internal/custom/gmock-generated-actions.h.pump
[ 284s] /usr/include/gmock/internal/custom/gmock-matchers.h
[ 284s] /usr/include/gmock/internal/custom/gmock-port.h
[ 284s] /usr/include/gmock/internal/gmock-generated-internal-utils.h
[ 284s] /usr/include/gmock/internal/gmock-generated-internal-utils.h.pump
[ 284s] /usr/include/gmock/internal/gmock-internal-utils.h
[ 284s] /usr/include/gmock/internal/gmock-port.h
[ 284s] /usr/include/gtest/gtest-death-test.h
[ 284s] /usr/include/gtest/gtest-message.h
[ 284s] /usr/include/gtest/gtest-param-test.h
[ 284s] /usr/include/gtest/gtest-param-test.h.pump
[ 284s] /usr/include/gtest/gtest-printers.h
[ 284s] /usr/include/gtest/gtest-spi.h
[ 284s] /usr/include/gtest/gtest-test-part.h
[ 284s] /usr/include/gtest/gtest-typed-test.h
[ 284s] /usr/include/gtest/gtest.h
[ 284s] /usr/include/gtest/gtest_pred_impl.h
[ 284s] /usr/include/gtest/gtest_prod.h
[ 284s] /usr/include/gtest/internal/custom/gtest-port.h
[ 284s] /usr/include/gtest/internal/custom/gtest-printers.h
[ 284s] /usr/include/gtest/internal/custom/gtest.h
[ 284s] /usr/include/gtest/internal/gtest-death-test-internal.h
[ 284s] /usr/include/gtest/internal/gtest-filepath.h
[ 284s] /usr/include/gtest/internal/gtest-internal.h
[ 284s] /usr/include/gtest/internal/gtest-linked_ptr.h
[ 284s] /usr/include/gtest/internal/gtest-param-util-generated.h
[ 284s] /usr/include/gtest/internal/gtest-param-util-generated.h.pump
[ 284s] /usr/include/gtest/internal/gtest-param-util.h
[ 284s] /usr/include/gtest/internal/gtest-port-arch.h
[ 284s] /usr/include/gtest/internal/gtest-port.h
[ 284s] /usr/include/gtest/internal/gtest-string.h
[ 284s] /usr/include/gtest/internal/gtest-tuple.h
[ 284s] /usr/include/gtest/internal/gtest-tuple.h.pump
[ 284s] /usr/include/gtest/internal/gtest-type-util.h
[ 284s] /usr/include/gtest/internal/gtest-type-util.h.pump
[ 284s] /usr/lib/libgmock.so
[ 284s] /usr/lib/libgmock_main.so
[ 284s] /usr/lib/libgtest.so
[ 284s] /usr/lib/libgtest_main.so

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions

    pFad - Phonifier reborn

    Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

    Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


    Alternative Proxies:

    Alternative Proxy

    pFad Proxy

    pFad v3 Proxy

    pFad v4 Proxy