|
Last change
on this file since 957 was 954, checked in by Dmitry A. Kuminov, 14 years ago |
|
qmake: Added support for .SYM file generation on OS/2.
This is done through the 'sym' CONFIG option which is on
by default if mapsym is found during configure.
|
-
Property svn:eol-style
set to
native
|
|
File size:
612 bytes
|
| Line | |
|---|
| 1 | isEmpty(QMAKE_MAPSYM):error("'sym' is present in CONFIG but QMAKE_MAPSYM is not defined!")
|
|---|
| 2 |
|
|---|
| 3 | contains(TEMPLATE, ".*app")|dll {
|
|---|
| 4 | build_pass|isEmpty(BUILDS) {
|
|---|
| 5 | make_sym.target = $$QMAKE_SYM_FILE
|
|---|
| 6 | make_sym.depends = $(DESTDIR_TARGET)
|
|---|
| 7 | make_sym.commands = $$QMAKE_RUN_MAPSYM
|
|---|
| 8 | !contains(CONFIG, map) {
|
|---|
| 9 | QMAKE_LFLAGS += $$QMAKE_LFLAGS_MAP # from map.prf
|
|---|
| 10 | make_sym.commands = $${make_sym.commands}&& $(DEL_FILE) $$QMAKE_MAP_FILE
|
|---|
| 11 | }
|
|---|
| 12 | ALL_DEPS += $$make_sym.target
|
|---|
| 13 | QMAKE_CLEAN += $$make_sym.target
|
|---|
| 14 | QMAKE_EXTRA_TARGETS += make_sym
|
|---|
| 15 | }
|
|---|
| 16 | }
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.