Ignore:
Timestamp:
Sep 5, 2009, 2:46:05 AM (16 years ago)
Author:
Dmitry A. Kuminov
Message:

qmake: Added support for TARGET_SHORT variable that allows to specify a short name for the DLL target on DOS-like platforms.

File:
1 edited

Legend:

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

    r38 r158  
    624624    if (orgDestDir.endsWith('/') || orgDestDir.endsWith(Option::dir_sep))
    625625        destDir += Option::dir_sep;
    626     QString target = QString(project->first("TARGET")+project->first("TARGET_EXT"));
     626    QString target = project->first("TARGET_SHORT");
     627    if (target.isEmpty())
     628        target = project->first("TARGET");
     629    target += project->first("TARGET_EXT");
    627630    target.remove("\"");
    628631    project->values("DEST_TARGET").prepend(destDir + target);
Note: See TracChangeset for help on using the changeset viewer.