Skip to content

Offline tests and adaparse compilation without installed Git #825

@mymedia2

Description

@mymedia2

What is the problem this feature will solve?

In Debian, we would like to run automated tests in controlled environments without Internet access. Our testing tool installs each required dependency before configuring tests.

What is the feature you are proposing to solve the problem?

Please implement dependency search trough CMake packages with find_package(). Fallback to CPM is possible if the package is not present in the system.

find_package(GTest 1.14.0)
if (NOT GTest_FOUND)
  CPMAddPackage(
    NAME GTest
    GITHUB_REPOSITORY google/googletest
    VERSION 1.14.0
    OPTIONS  "BUILD_GMOCK OFF" "INSTALL_GTEST OFF"
  )
endif()

... and so on for all other dependencies.

These considerations also apply to compiling adaparse.

What alternatives have you considered?

No response

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