03-05-2012 01:06 PM
I have 2 directories of source code, one for my platform independent app code, and one for my game engine.
I've added them as source code "linked resources" to my project. When I build my app I just get the message:
**** Rebuild of configuration Device-Debug for project GLWGBB ****
**** Internal Builder is used for build ****
Nothing to build for GLWGBB
They do show up on the project->paths and Symbols->Source location.
cleaning the project doesn't make any difference neither does adding a #error in the code, it's just not getting compiled.
Solved! Go to Solution.
03-05-2012 01:59 PM
I am not sure "linked resourses" is a proper way to import source code.
Try right click on src folder of your project and Import->File System and going to your source code folders...
03-07-2012 06:21 AM - edited 03-07-2012 06:21 AM
Thanks for the replies!
BGmot: Shared resourses work fine. I need to share generic code that is being changed by other people, so having my own copy of the code by importing this way wouldn't work. Thanks anyway.
aykarthik:I realise if you change nothing, then there will be nothing to build, that's why I added :
"cleaning the project doesn't make any difference neither does adding a #error in the code, it's just not getting compiled."
It turns out the problem was due to my sourcefiles having uppercase .CPP and .H extensions, this is an issue on case sensitive platforms like Ubuntu. The builder was not recognising these filetypes as sourcecode.
Renaming the extensions to lower case fixes the problem. I realise there are ways of registering new file extensions, but for future proofing on other platforms, renaming is a better solution.