Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Regular Contributor
Posts: 52
Registered: ‎02-08-2013
My Device: Z10
My Carrier: Rogers

Keep file path in the .obj folder



I try to port my existing C++ project into BlackBerry Cascades project.


I create a Cascades BlackBerry project using IDE tool.   Then I copy a directory, which contains a lot of subdirectory,  from my existing project into the Cascades project. folder.   I manually update config.pri file to include the .cpp and .h files. So far so good. 


But the problem is that IDE build generate all of .o files in one folder like: ./arm/o.le-v7-g/.obj.  Because there are a lot of files with the same name in  my existing source files in the different subdirectory.  Build failed because .o files get overwritten. 


So How could I set the IDE to keep folder structure in .obj folder.





Posts: 1,123
Registered: ‎02-10-2009
My Device: 8130 / 8350 / 9530 / 9550 / 9850 / PlayBook
My Carrier: Verizon

Re: Keep file path in the .obj folder

I don't know how you would do it with cascades/IDE unless you can add intermediate build steps to move the files to the correct folder after being compiled. Otherwise you may have to go with a Makefile project.