Changeset 1026 for trunk


Ignore:
Timestamp:
Aug 25, 2011, 9:22:50 PM (14 years ago)
Author:
Dmitry A. Kuminov
Message:

mkspecs/os2: Use FAST_BUILD make macro to disable slow noncritical steps.

At present, setting FAST_BUILD will disable generation of the .sym file for the
EXE or DLL target as this involves a slow script that converts Watcom maps to
IBM maps and a very slow mapsym utility (they both may take tens of minutes
to finish if the original DLL has a lot of exports, like QtGui or QtWebKit).

Location:
trunk/mkspecs
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/mkspecs/features/os2/sym.prf

    r1025 r1026  
    33exe_or_dll {
    44    build_pass|isEmpty(BUILDS) {
    5         !isEmpty(QMAKE_POST_LINK):QMAKE_POST_LINK += $$escape_expand(\\n\\t)
    6         QMAKE_POST_LINK += $$QMAKE_RUN_MAPSYM
     5        !isEmpty(QMAKE_POST_LINK):QMAKE_POST_LINK = $$QMAKE_POST_LINK$$escape_expand(\\n)
     6        QMAKE_POST_LINK = $$QMAKE_POST_LINK$$QMAKE_IFNDEF FAST_BUILD$$escape_expand(\\n\\t)
     7        QMAKE_POST_LINK = $$QMAKE_POST_LINK$$QMAKE_RUN_MAPSYM
    78        QMAKE_CLEAN += $$QMAKE_SYM_FILE
    89        !contains(CONFIG, map) {
    910            QMAKE_LFLAGS += $$QMAKE_LFLAGS_MAP # from map.prf
    10             QMAKE_POST_LINK += $$escape_expand(\\n\\t)$(DEL_FILE) $$QMAKE_MAP_FILE
     11            QMAKE_POST_LINK $$escape_expand(\\n\\t)$(DEL_FILE) $$QMAKE_MAP_FILE
    1112        }
    12    
    1313        # also copy .sym file to DLLDESTDIR (as Win32MakefileGenerator does for .dll)
    1414        !isEmpty(DLLDESTDIR) {
    1515            for(d, DLLDESTDIR) {
    16                 QMAKE_POST_LINK += $$escape_expand(\\n\\t)-$(COPY_FILE) $$QMAKE_SYM_FILE $$fixpath_target($$d)
     16                QMAKE_POST_LINK $$escape_expand(\\n\\t)-$(COPY_FILE) $$QMAKE_SYM_FILE $$fixpath_target($$d)
    1717            }
    1818        }
     19
    1920       
    2021        # also install .sym file to target.path
  • trunk/mkspecs/os2-g++/qmake.conf

    r981 r1026  
    175175    $(QMAKESPECDIR)\\wmapsym.cmd $$QMAKE_MAP_FILE $$QMAKE_SYM_FILE
    176176
     177
     178
     179
     180
    177181load(qt_config)
Note: See TracChangeset for help on using the changeset viewer.