Many file systems do not allow the + file names, so for many years to source files C ++ has several naming conventions, including the .cpp , .cc and .cxx .
CMake has a similar problem, as its macro language is built around strings that are not allowed to hold special characters such as + . This is just a limitation on getting the CMake analyzer to become too complex. So when they write CXX , what they really mean is just C++ .
source share