Changeset 975


Ignore:
Timestamp:
Aug 12, 2011, 4:57:25 PM (14 years ago)
Author:
Dmitry A. Kuminov
Message:

OS/2: configure.cmd: Simplify mkspecs/default creation.

After r974, it's actually enough to keep only a dummy qmake.conf
file there that includes the original one. All other will be taken from
the original dir thanks to QMAKESPEC_ORIGINAL.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure.cmd

    r961 r975  
    927927    /* mkspecs/default is used as a (gasp!) default mkspec so QMAKESPEC needn't
    928928     * be set once configured */
    929     call DeleteDir G.RelPath"\mkspecs\default"
    930     call CopyDir G.RelPath"\mkspecs\"G.PLATFORM, G.RelPath"\mkspecs\default"
    931     /* fix qmake.conf by appending the location of the original to it; this is
    932      * used by qmake/project.cpp (as well as by Qt Creator) to determine the
    933      * original QMAKESPEC */
    934     call charout G.RelPath"\mkspecs\default\qmake.conf",,
    935         G.EOL"QMAKESPEC_ORIGINAL="||CPPPath("..\")||G.PLATFORM||G.EOL
    936     call charout G.RelPath"\mkspecs\default\qmake.conf"
     929    call DeleteDir G.Path"\mkspecs\default"
     930    call Path"\mkspecs\default"
     931    /*
     932     *
     933   
     934    ,
     935        "QMAKESPEC_ORIGINAL="||CPPPath("..\")||G.PLATFORM||G.EOL
     936    call charout G.Path"\mkspecs\default\qmake.conf"
    937937
    938938    /* create temporary qconfig.h for compiling qmake, if it doesn't exist
Note: See TracChangeset for help on using the changeset viewer.