Changeset 54 for trunk/qmake


Ignore:
Timestamp:
Jun 25, 2009, 11:18:10 PM (16 years ago)
Author:
Dmitry A. Kuminov
Message:

qmake: os2/GNUMAKE: Add missing QMAKESPECDIR to the compiler response file.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/qmake/generators/os2/gnumake.cpp

    r52 r54  
    305305    incsSemicolon += "$(QMAKESPECDIR)";
    306306    t << "INCLUDEPATH   = " << incsSemicolon << endl;
     307    /* createCompilerResponseFiles() will need QAKESPECDIR expanded) */
     308    project->values("INCLUDEPATH").append(specdir());
    307309}
    308310
     
    527529    static const char *vars[] = { "CFLAGS",   /*<=*/ "QMAKE_CFLAGS",
    528530                                  "CXXFLAGS", /*<=*/ "QMAKE_CXXFLAGS",
    529                                   "INCPATH",  /*<=*/ "INCPATH" };
     531                                  "INCPATH",  /*<=*/ "INCLUDEPATH" };
    530532
    531533    /* QMAKE_XXX_RSP_VAR is used as a flag whether it is necessary to
     
    545547            if (file.open(QIODevice::WriteOnly | QIODevice::Text)) {
    546548                QTextStream rt(&file);
    547                 if (!qstrcmp(vars[i+1], "INCPATH")) {
     549                if (!qstrcmp(vars[i+1], "INCLUDEPATH")) {
    548550                    QString opt = var("QMAKE_CFLAGS_INCDIR");
    549551                    rt << varGlue(vars[i+1], opt, "\n" + opt, QString::null);
     
    581583     * filenames with double quotes. However, this is not appropriate for make
    582584     * rule definitions (targets/dependencies) where Unix escaping is
    583      * expected. For this reason, we must convert escaping using the q*
    584      * function that we define in writeMakefile() below */
     585     * expected. For this reason, we must convert escaping to Unix mode using
     586     * the q function that we define in writeMakefile() */
    585587    if (isDosLikeShell()) {
    586588        QString ret = vars;
Note: See TracChangeset for help on using the changeset viewer.