Details
-
Bug
-
Resolution: Done
-
P4: Low
-
Qt Creator 4.1.0
-
MS Windows 10, shouldn't matter
Description
The completion for GNU C compiler is CMAKE_COMPILER_IS_GNUCC. The presented version is CMAKE_COMPILER_IS_GNUC.
As per
message("IS_GNUC: ${CMAKE_COMPILER_IS_GNUC} IS_GNUCC: ${CMAKE_COMPILER_IS_GNUCC}") % cmake . IS_GNUC: IS_GNUCC: 1
% grep -roh 'CMAKE_COMPILER_IS_GNU[^) ]\+' \ c:/Program\ Files/CMake/share/cmake-3.6/ | sort | uniq -c 1 CMAKE_COMPILER_IS_GNU<LANG> 1 CMAKE_COMPILER_IS_GNUC 14 CMAKE_COMPILER_IS_GNUCC 1 CMAKE_COMPILER_IS_GNUCC@ 2 CMAKE_COMPILER_IS_GNUCC}" 21 CMAKE_COMPILER_IS_GNUCXX 1 CMAKE_COMPILER_IS_GNUCXX@ 2 CMAKE_COMPILER_IS_GNUCXX}" 5 CMAKE_COMPILER_IS_GNUG77 1 CMAKE_COMPILER_IS_GNUG77@ 1 CMAKE_COMPILER_IS_GNULANG