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/makefile.cpp

    r119 r158  
    950950    if(!project->isEmpty("QMAKE_ABSOLUTE_SOURCE_PATH"))
    951951        t << "QMAKE_PRL_SOURCE_DIR = " << project->first("QMAKE_ABSOLUTE_SOURCE_PATH") << endl;
    952     t << "QMAKE_PRL_TARGET = " << target << endl;
     952    if(!project->isEmpty("TARGET_SHORT"))
     953        t << "QMAKE_PRL_TARGET = " << project->first("TARGET_SHORT") << endl;
     954    else
     955        t << "QMAKE_PRL_TARGET = " << target << endl;
    953956    if(!project->isEmpty("PRL_EXPORT_DEFINES"))
    954957        t << "QMAKE_PRL_DEFINES = " << project->values("PRL_EXPORT_DEFINES").join(" ") << endl;
Note: See TracChangeset for help on using the changeset viewer.