Changeset 30 for trunk


Ignore:
Timestamp:
Dec 10, 2005, 10:52:23 PM (20 years ago)
Author:
dmik
Message:

A separate .DEF map file (with the .debug extension) is used when the DLL is compiled in debug mode (to avoid accidential commits of the release .DEF map with the debugging symbols' exports added). This map is not stored in SVN (we don't provide binary compatibility of debug builds).

Location:
trunk/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src

    • Property svn:ignore
      •  

        old new  
        22Makefile
        33.*
         4qt.def.map.*.debug
  • trunk/src/qt.pro

    r29 r30  
    111111                exists(qt.rc):RC_FILE = qt.rc
    112112                exists(qt.def.tpl.$$QMAKESPEC):DEF_FILE_TEMPLATE = qt.def.tpl.$$QMAKESPEC
    113                 exists(qt.def.map.$$QMAKESPEC):DEF_FILE_MAP = qt.def.map.$$QMAKESPEC
     113                exists(qt.def.map.$$QMAKESPEC) {
     114                        DEF_FILE_MAP = qt.def.map.$$QMAKESPEC
     115                        debug {
     116                                qt_def_map_debug.target = $(DEF_FILE_MAP)
     117                                qt_def_map_debug.depends = $$DEF_FILE_MAP
     118                                qt_def_map_debug.commands = $(COPY_FILE) "$$DEF_FILE_MAP" "$$qt_def_map_debug.target"
     119                                QMAKE_EXTRA_TARGETS += qt_def_map_debug
     120                                DEF_FILE_MAP = qt.def.map.$$(QMAKESPEC).debug
     121                        }
     122                }
    114123        }
    115124}
Note: See TracChangeset for help on using the changeset viewer.