Changeset 391


Ignore:
Timestamp:
Dec 5, 2009, 3:35:12 PM (16 years ago)
Author:
Dmitry A. Kuminov
Message:

configure.cmd: Re-build qmake using the .pro file to include all the fancy things like the version information and properly compress the executable.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure.cmd

    r386 r391  
    559559        G.QMAKE_EXEPACK_POST_FLAGS = ""
    560560    end
    561     /* export EXEPACK variables for building qmake (used by Makefile.os2-g++) */
    562     call SetEnv "QMAKE_EXEPACK", G.QMAKE_EXEPACK
    563     call SetEnv "QMAKE_EXEPACK_FLAGS", G.QMAKE_EXEPACK_FLAGS
    564     call SetEnv "QMAKE_EXEPACK_POST_FLAGS", G.QMAKE_EXEPACK_POST_FLAGS
    565561
    566562    /*--------------------------------------------------------------------------
     
    796792    curdir = directory()
    797793    call directory G.RelPath"\qmake"
     794
    798795    address "cmd" G.MAKE
     796    make_rc = rc
     797
    799798    call directory curdir
    800     make_rc = rc
    801799
    802800    /* put back original qconfig.h */
     
    17251723
    17261724    /*--------------------------------------------------------------------------
     1725     re-build qmake using the .pro file
     1726    --------------------------------------------------------------------------*/
     1727
     1728    call SaySay "Rebuilding qmake. Please wait..."
     1729
     1730    /* this is necessary to to get all the fancy things such as embedded
     1731     * version information */
     1732
     1733    curdir = directory()
     1734    call directory G.RelPath"\qmake"
     1735
     1736    /* first, generate a Makefile from .pro */
     1737    address "cmd" G.OutPath"\bin\qmake.exe"
     1738    make_rc = rc
     1739
     1740    if (make_rc == 0)  then do
     1741        /* now, run make */
     1742        address "cmd" G.MAKE "release"
     1743        make_rc = rc
     1744    end
     1745    call SaySay
     1746
     1747    call directory curdir
     1748
     1749    /*--------------------------------------------------------------------------
    17271750     build makefiles based on the configuration
    17281751    --------------------------------------------------------------------------*/
     
    17361759
    17371760    /* generate the root makefile */
    1738     address "cmd" G.OutPath"\bin\qmake" G.RelPath"\projects.pro -o" G.OutPath"\Makefile"
     1761    address "cmd" G.OutPath"\bin\qmake.exe" G.RelPath"\projects.pro -o" G.OutPath"\Makefile"
    17391762    make_rc = rc
    17401763    /* exit on failure */
Note: See TracChangeset for help on using the changeset viewer.