- ABI-test from build system itself: Like CMake does for CMAKE_SIZEOF_VOID_P, CMAKE_CXX_COMPILER_ID etc.
- User-defined feature tests (sizeof(double), check_header())
Bonus:
-
Also such tests could be cached (like CMake does it). To perform these stable checks only once (not on each file added to project)
-
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)
Bonus:
Also such tests could be cached (like CMake does it). To perform these
stablechecks only once (not on each file added to project)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)