Recognize the ".cc" extension as C++

This commit is contained in:
Pierre Pronchery 2015-05-07 23:31:20 +02:00
parent 1d9d0e73f4
commit ba5c9c8b8f

View File

@ -103,6 +103,7 @@ const String * sTargetType[TT_COUNT] = { "binary", "library", "libtool",
const struct ExtensionType _sExtensionType[] = const struct ExtensionType _sExtensionType[] =
{ {
{ "c", OT_C_SOURCE }, { "c", OT_C_SOURCE },
{ "cc", OT_CXX_SOURCE },
{ "cpp", OT_CXX_SOURCE }, { "cpp", OT_CXX_SOURCE },
{ "cxx", OT_CXX_SOURCE }, { "cxx", OT_CXX_SOURCE },
{ "c++", OT_CXX_SOURCE }, { "c++", OT_CXX_SOURCE },