Просмотр исходного кода

BUG: .txx are not source files. They contain template code which can only
be compiled when included in a regular .cxx file. By themselves, they cause
do not cause code to be generated.

Amitha Perera 24 лет назад
Родитель
Сommit
1859209282
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      Source/cmMakefile.cxx

+ 1 - 1
Source/cmMakefile.cxx

@@ -61,13 +61,13 @@ cmMakefile::cmMakefile()
   // Source and header file extensions that we can handle
   m_SourceFileExtensions.push_back( "cxx" );
   m_SourceFileExtensions.push_back( "cpp" );
-  m_SourceFileExtensions.push_back( "txx" );
   m_SourceFileExtensions.push_back( "c" );
   m_SourceFileExtensions.push_back( "M" );
   m_SourceFileExtensions.push_back( "m" );
   m_SourceFileExtensions.push_back( "mm" );
 
   m_HeaderFileExtensions.push_back( "h" );
+  m_HeaderFileExtensions.push_back( "txx" );
   
   m_DefineFlags = " ";
   m_MakefileGenerator = 0;