Changeset 40


Ignore:
Timestamp:
Dec 19, 2005, 1:19:48 PM (20 years ago)
Author:
dmik
Message:

os2-g++ mkspecs: QT_DEV_NO_DEF_GENERATION env. var, when not empty, disables the generation of the .DEF file from the map file (to speed up recompilation time when you are sure your changes didn't add new symbols to export). This feature is for developers only!

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/mkspecs/os2-g++/qmake.conf

    r39 r40  
    120120
    121121QMAKE_RUN_GENDEF        = \
    122     "$(QMAKESPECDIR)\emxexpw.cmd" -name $(basename $(notdir $(TARGET))) \
    123         -def $(DEF_FILE) $(if $(DEF_FILE_MAP),-map $(DEF_FILE_MAP)) \
    124         $(if $(DEF_FILE_TEMPLATE),-template $(DEF_FILE_TEMPLATE)) \
    125         @$$qmake_objects.target
     122    $(if $(QT_DEV_NO_DEF_GENERATION),\
     123        @echo Warning: .DEF file generation is disabled! \
     124            (QT_DEV_NO_DEF_GENERATION=$(QT_DEV_NO_DEF_GENERATION)),\
     125        "$(QMAKESPECDIR)\emxexpw.cmd" -name $(basename $(notdir $(TARGET))) \
     126            -def $(DEF_FILE) $(if $(DEF_FILE_MAP),-map $(DEF_FILE_MAP)) \
     127            $(if $(DEF_FILE_TEMPLATE),-template $(DEF_FILE_TEMPLATE)) \
     128            @$$qmake_objects.target)
    126129QMAKE_GENDEF_DEPS       = $(OBJECTS) $(OBJMOC)
    127130
Note: See TracChangeset for help on using the changeset viewer.