Ignore:
Timestamp:
Sep 22, 2009, 2:10:57 AM (16 years ago)
Author:
Dmitry A. Kuminov
Message:

qmake: Obey OS/2 CMD.EXE cmd.line length restriction in $(DEL_FILE) statements (r37 contd).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/qmake/generators/win32/winmakefile.cpp

    r158 r189  
    489489    const QString del_suffix =
    490490        Option::target_mode == Option::TARG_OS2_MODE ?
    491         QString(" >nul 2>&1"): // reduce noise
    492         QString::null;
     491        QString(" >nul 2>&1"): // reduce noise
     492        QString::null;
    493493
    494494    const int commandlineLimit =
    495495        Option::target_mode == Option::TARG_OS2_MODE ?
    496         1024: // OS/2 CMD.EXE limit
     496        10
    497497        2047; // NT limit, expanded
    498498
     
    784784        targetdir += Option::dir_sep;
    785785
     786
     787
     788
     789
     790
    786791    if(t == "target" && project->first("TEMPLATE") == "lib") {
    787792        if(project->isActiveConfig("create_prl") && !project->isActiveConfig("no_install_prl") &&
     
    795800            if(!uninst.isEmpty())
    796801                uninst.append("\n\t");
    797             uninst.append("-$(DEL_FILE) \"" + dst_prl + "\"");
     802            uninst.append("-$(DEL_FILE) \"" + dst_prl + "\"");
    798803        }
    799804        if(project->isActiveConfig("shared") && !project->isActiveConfig("plugin")) {
     
    807812            if(!uninst.isEmpty())
    808813                uninst.append("\n\t");
    809             uninst.append("-$(DEL_FILE) \"" + dst_targ + "\"");
     814            uninst.append("-$(DEL_FILE) \"" + dst_targ + "\"");
    810815        }
    811816    }
     
    819824        if(!uninst.isEmpty())
    820825            uninst.append("\n\t");
    821         uninst.append("-$(DEL_FILE) \"" + dst_targ + "\"");
     826        uninst.append("-$(DEL_FILE) \"" + dst_targ + "\"");
    822827    }
    823828    return ret;
Note: See TracChangeset for help on using the changeset viewer.