qmake/project.cpp
branchRCL_3
changeset 5 d3bac044e0f0
parent 4 3b1da2848fc7
child 8 3f74d0d4af4c
equal deleted inserted replaced
4:3b1da2848fc7 5:d3bac044e0f0
  3065     } else if(var == QLatin1String("_PRO_FILE_")) {
  3065     } else if(var == QLatin1String("_PRO_FILE_")) {
  3066         var = ".BUILTIN." + var;
  3066         var = ".BUILTIN." + var;
  3067         place[var] = QStringList(pfile);
  3067         place[var] = QStringList(pfile);
  3068     } else if(var == QLatin1String("_PRO_FILE_PWD_")) {
  3068     } else if(var == QLatin1String("_PRO_FILE_PWD_")) {
  3069         var = ".BUILTIN." + var;
  3069         var = ".BUILTIN." + var;
  3070         place[var] =  QStringList(QFileInfo(pfile).absolutePath());
  3070         place[var] = QStringList(pfile.isEmpty() ? qmake_getpwd() : QFileInfo(pfile).absolutePath());
  3071     } else if(var == QLatin1String("_QMAKE_CACHE_")) {
  3071     } else if(var == QLatin1String("_QMAKE_CACHE_")) {
  3072         var = ".BUILTIN." + var;
  3072         var = ".BUILTIN." + var;
  3073         if(Option::mkfile::do_cache)
  3073         if(Option::mkfile::do_cache)
  3074             place[var] = QStringList(Option::mkfile::cachefile);
  3074             place[var] = QStringList(Option::mkfile::cachefile);
  3075     } else if(var == QLatin1String("TEMPLATE")) {
  3075     } else if(var == QLatin1String("TEMPLATE")) {