Skip to content

[Proposal] Add first-class support for compiler feature/ABI tests #4

@cyanidle

Description

@cyanidle
  1. ABI-test from build system itself: Like CMake does for CMAKE_SIZEOF_VOID_P, CMAKE_CXX_COMPILER_ID etc.
  2. User-defined feature tests (sizeof(double), check_header())

Bonus:

  1. Also such tests could be cached (like CMake does it). To perform these stable checks only once (not on each file added to project)

  2. I would like to make this parallel-able. I am very tired of autoconf configure script (and CMake ones too) doing feature-detecting (by compiling programs, that test for sizeof(double) for example) longer, than the project itself builds.

I would try to PR some of this functionality, if you don`t mind (starting with basic Compiler detection stuff)

Metadata

Metadata

Assignees

No one assigned

    Labels

    acceptedAccepted proposalenhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions