Changeset 8 for trunk/qmake/generators/win32
- Timestamp:
- Nov 16, 2005, 8:36:46 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/qmake/generators/win32/msvc_nmake.cpp
r7 r8 81 81 { 82 82 QStringList &aList = MakefileGenerator::findDependencies(file); 83 // Note: The QMAKE_IMAGE_COLLECTION file have all images 84 // as dependency, so don't add precompiled header then 85 if (file == project->first("QMAKE_IMAGE_COLLECTION")) 86 return aList; 87 for(QStringList::Iterator it = Option::cpp_ext.begin(); it != Option::cpp_ext.end(); ++it) { 88 if(file.endsWith(*it)) { 89 if(!aList.contains(precompH)) 90 aList += precompH; 91 break; 92 } 83 // [dmik] this method can be called from MakefileGenerator::init() before 84 // precompH is set in NmakeMakefileGenerator::init(), so we check it 85 // to avoid appending of NULL string to the list of dependencies 86 if (!precompH.isNull()) { 87 // Note: The QMAKE_IMAGE_COLLECTION file have all images 88 // as dependency, so don't add precompiled header then 89 if (file == project->first("QMAKE_IMAGE_COLLECTION")) 90 return aList; 91 for(QStringList::Iterator it = Option::cpp_ext.begin(); it != Option::cpp_ext.end(); ++it) { 92 if(file.endsWith(*it)) { 93 if(!aList.contains(precompH)) 94 aList += precompH; 95 break; 96 } 97 } 93 98 } 94 99 return aList;
Note:
See TracChangeset
for help on using the changeset viewer.