Changeset 382 for trunk/qmake


Ignore:
Timestamp:
Dec 5, 2009, 12:28:54 AM (16 years ago)
Author:
Dmitry A. Kuminov
Message:

general: Added recognition of DEF_FILE_VERSION, DEF_FILE_DESCRIPTION and DEF_FILE_VENDOR qmake variables used to generate the DLL description string. If not set explicitly, they are initialized from the corresponding QMAKE_TARGET_ variables recognized on Win32, for compatibility.

File:
1 edited

Legend:

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

    r370 r382  
    546546            project->values("QMAKE_CLEAN").append("$(DEF_FILE)");
    547547            project->values("POST_TARGETDEPS") += escapeFileVars("$(DEF_FILE)");
     548            if (!project->isEmpty("DEF_FILE_VERSION"))
     549                t << "DEF_FILE_VERSION = " << var("DEF_FILE_VERSION") << endl;
     550            if (!project->isEmpty("DEF_FILE_DESCRIPTION"))
     551                t << "DEF_FILE_DESCRIPTION = " << var("DEF_FILE_DESCRIPTION") << endl;
     552            if (!project->isEmpty("DEF_FILE_VENDOR"))
     553                t << "DEF_FILE_VENDOR = " << var("DEF_FILE_VENDOR") << endl;
    548554            if (!project->isEmpty("DEF_FILE_TEMPLATE")) {
    549555                t << "DEF_FILE_TEMPLATE = " << escapeFilePath(var("DEF_FILE_TEMPLATE")) << endl;
Note: See TracChangeset for help on using the changeset viewer.