equal
deleted
inserted
replaced
36 SUBDIRPART = debug |
36 SUBDIRPART = debug |
37 } else { |
37 } else { |
38 SUBDIRPART = release |
38 SUBDIRPART = release |
39 } |
39 } |
40 |
40 |
41 win32: OUTPUT_DIR = $$PWD/../bin/$$SUBDIRPART |
41 !symbian: OUTPUT_DIR = $$PWD/../bin/$$SUBDIRPART |
42 symbian: OUTPUT_DIR = $$PWD/bin |
42 symbian: OUTPUT_DIR = $$PWD/bin |
43 |
43 |
44 SOURCE_DIR = $$PWD/inc |
44 SOURCE_DIR = $$PWD/inc |
45 |
45 |
46 #test whether we have a unit test |
46 #test whether we have a unit test |
71 symbian { |
71 symbian { |
72 INCLUDEPATH += $$MW_LAYER_SYSTEMINCLUDE |
72 INCLUDEPATH += $$MW_LAYER_SYSTEMINCLUDE |
73 INCLUDEPATH += $$MOC_DIR |
73 INCLUDEPATH += $$MOC_DIR |
74 TARGET.CAPABILITY = ALL -TCB |
74 TARGET.CAPABILITY = ALL -TCB |
75 TARGET.EPOCALLOWDLLDATA=1 |
75 TARGET.EPOCALLOWDLLDATA=1 |
76 } |
76 } else { |
77 |
|
78 win32 { |
|
79 # add platfrom API for windows |
77 # add platfrom API for windows |
80 INCLUDEPATH += \ |
78 INCLUDEPATH += \ |
81 $$PWD/homescreensrv_plat/contentstorage_api \ |
79 $$PWD/homescreensrv_plat/contentstorage_api \ |
82 $$PWD/homescreensrv_plat/hswidgetmodel_api \ |
80 $$PWD/homescreensrv_plat/hswidgetmodel_api \ |
83 $$PWD/homescreensrv_plat/homescreen_information_api/inc |
81 $$PWD/homescreensrv_plat/homescreen_information_api/inc |
84 } |
82 } |
85 |
83 |
86 plugin: !isEmpty(PLUGIN_SUBDIR): DESTDIR = $$OUTPUT_DIR/$$PLUGIN_SUBDIR |
84 plugin: !isEmpty(PLUGIN_SUBDIR): DESTDIR = $$OUTPUT_DIR/$$PLUGIN_SUBDIR |
87 |
85 |
88 win32: plugin { # copy manifiers |
86 !symbian: plugin { # copy manifiers |
89 manifest.path = $$DESTDIR |
87 manifest.path = $$DESTDIR |
90 manifest.files = ./resource/*.manifest ./resource/*.xml |
88 manifest.files = ./resource/*.manifest ./resource/*.xml |
91 manifest.CONFIG += no_build |
89 manifest.CONFIG += no_build |
92 |
90 |
93 INSTALLS += manifest |
91 INSTALLS += manifest |
118 for(subdirs, 1) { |
116 for(subdirs, 1) { |
119 entries = $$files($$subdirs) |
117 entries = $$files($$subdirs) |
120 for(entry, entries) : BLD_INF_RULES.prj_exports += "./$$entry z:/$$replace(2, ^/,)/$$basename(entry)" |
118 for(entry, entries) : BLD_INF_RULES.prj_exports += "./$$entry z:/$$replace(2, ^/,)/$$basename(entry)" |
121 } |
119 } |
122 export ( BLD_INF_RULES.prj_exports) |
120 export ( BLD_INF_RULES.prj_exports) |
123 } |
121 } else { |
124 win32 { |
|
125 name = $$replace(1, [/\\\\\.\*], _) |
122 name = $$replace(1, [/\\\\\.\*], _) |
126 eval ($${name}.path = $${OUTPUT_DIR}/$${2}) |
123 eval ($${name}.path = $${OUTPUT_DIR}/$${2}) |
127 eval ($${name}.files = $$1) |
124 eval ($${name}.files = $$1) |
128 eval ($${name}.CONFIG += no_build) |
125 eval ($${name}.CONFIG += no_build) |
129 |
126 |