Help: check_*source_compiles and CMAKE_TRY_COMPILE_TARGET_TYPE

Ref: #26103
6 files changed