[TIMOB-9291] BlackBerry: Generate moc files during the build
GitHub Issue | n/a |
---|---|
Type | Story |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2012-06-19T10:05:58.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 2.1.0, Sprint 2012-08 BB |
Components | BlackBerry |
Labels | n/a |
Reporter | Harutyn Movsisyan |
Assignee | Harutyn Movsisyan |
Created | 2012-05-28T14:35:56.000+0000 |
Updated | 2017-03-09T00:42:50.000+0000 |
Investigations for this task: For generating moc files during the build we need to add target in the makefile which depends on main build targets. Currently tibb project is created as 'BlackBerry C/C++ project, which allows to build sources as static library. But this type of projects is building through the recurse.mk makefile which is the part of qnx (location C\bbndk-10.0.4\target\qnx\usr\inclue\recurse.mk), so we can't modify it to add new target. The solution could be to create 'BlackBerry Cascade C++ project' for the tibb', and modify the makefile and .pro project file to generate moc files during the build. For this type of project we also need to modify makefile so that it will build project as static library (seems project properties doesn't allow to do it automatically.
https://github.com/Macadamian/titanium_mobile/pull/73
Closing ticket as fixed.