Skip to content

CMake file always enables and requires testing when building project. #96

Open
@ALPayne18

Description

@ALPayne18

The CMakeLists.txt file always enables tests when building the project. This requires dependency on gtest and the the build and run of the tests when building with Conan.

The problem is when you need to cross compile the project (for example for armv8), the tests can be compiled successfully but cannot be run on the build environment (i.e x86_64) since the tests are compiled for the host (i.e. armv8).

An option should be added to disable testing. Preferably this would disable both building and running the test code when cross compiling.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions