Ignore:
Timestamp:
Jun 20, 2009, 12:16:06 AM (16 years ago)
Author:
Dmitry A. Kuminov
Message:

qmake: Win32MakeFile: More virtual functions for generating RC and DEF processing variables and rules.

File:
1 edited

Legend:

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

    r37 r38  
    595595                              Option::fixPathToTargetOS(var("QMAKE_IDL"), false)) << endl;
    596596    t << "ZIP           = " << var("QMAKE_ZIP") << endl;
    597     t << "DEF_FILE      = " << varList("DEF_FILE") << endl;
    598     t << "RES_FILE      = " << varList("RES_FILE") << endl; // Not on mingw, can't see why not though...
    599597    t << "COPY          = " << var("QMAKE_COPY") << endl;
    600598    t << "COPY_FILE     = " << var("QMAKE_COPY_FILE") << endl;
     
    631629
    632630    writeObjectsPart(t);
     631    writeRcAndDefVariables(t);
    633632
    634633    writeExtraCompilerVariables(t);
     
    658657    t << endl << endl;
    659658
    660     writeRcFilePart(t);
     659    writeRcAndDefPart(t);
    661660
    662661    writeMakeQmake(t);
     
    741740}
    742741
    743 void Win32MakefileGenerator::writeRcFilePart(QTextStream &t)
     742void Win32MakefileGenerator::writeRcAndDefVariables(QTextStream &t)
     743{
     744    t << "DEF_FILE      = " << varList("DEF_FILE") << endl;
     745    t << "RES_FILE      = " << varList("RES_FILE") << endl; // Not on mingw, can't see why not though...
     746}
     747
     748void Win32MakefileGenerator::writeRcAndDefPart(QTextStream &t)
    744749{
    745750    if(!project->values("RC_FILE").isEmpty()) {
Note: See TracChangeset for help on using the changeset viewer.