Skip to content

Tests: Fix logic to enable RunCMake.try_compile OBJC/OBJCXX cases

Brad King requested to merge brad.king/cmake:test-objc into master

CMake itself does not enable the OBJC/OBJCXX languages, so the CMAKE_OBJ{C,CXX}_STANDARD_DEFAULT variables are never defined. Detect them inside the test instead.

While at it, detect the C and CXX compiler id, version, and language standard level inside the inspection step instead of passing them all in from the host CMake's results.

Merge request reports

Loading