support cpp file like '*.cc', '*.cxx'