Skip to content

Build failing due to lack of googletest; used to be disabled by default #175

Closed

Description

@mldulaney

Per cmake/README.md:

CMake default options for cpu_features is Release built type with tests
disabled. To enable testing set cmake BUILD_TESTING variable to ON,
.travis.yml and appveyor.yml have up to
date examples.

I would prefer if this was returned to disabled by default as per the documentation.

Activity

  1. Mizux commented on Jul 7, 2021

    @Mizux
    Collaborator

    Sorry for this behaviour change, we decided to simply use include(CTest) and rely on the default value provided by this CMake builtin module to follow the documentation...
    ref: https://cmake.org/cmake/help/latest/module/CTest.html

    note: You can still use -DBUILD_TESTING=OFF at configure time to disable it.

    todo: Update the README.md accordingly

  2. linked a pull request that will close this issueUpdate README.md (Fix #175) #176on Jul 7, 2021
  3. gchatelet commented on Jul 7, 2021

    @gchatelet
    Collaborator

    Documentation is now updated.

  4. added this to the v0.7.0 milestone on Nov 16, 2021
  5. self-assigned this
    on Nov 16, 2021
  6. added
    cmake
    on Mar 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

cmake

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions