Thomas Haupt
10/01/2008 9:41 AM
post14310
|
Hi Ant,
in the C/C++ perspective, open your project's context menu
and hit "Properties..." (at the very bottom).
From the list on the left of the dialog popping up, choose
"QNX C/C++ Project", then select the "Compiler" tab. At
the top, there's a combo box labelled "Category:" -- select
"Extra sources paths" here.
You'll be presented an (empty) list and a couple of buttons
to add extra paths with. To use a subfolder in your project,
press the "Project..." button, then select your project
subfolder in the little tree opening up and hit Ok...
Kind regards,
- Thomas Haupt
> -----Ursprungliche Nachricht-----
> Von: Ant Pace [mailto:community-noreply@qnx.com]
> Gesendet: 01 October 2008 15:28
> An: momenticsgs-community
> Betreff: Folders in Momentics
>
>
> Hi,
>
> I have made small projects in Momentics based on the QNX C++
> project and now feel ready to move onto cleverer things. I
> added a folder and some source files to it and and want to
> get that code to compile too. When I build the project, only
> the files in the root folder build.
>
> I have looked around on the Internet and seen documents about
> make files and recurse files and compiler settings etc but I
> don't feel that should be necessary simply to compile files
> that are in folders.
>
> Can you help?
>
> Many thanks,
> Ant
>
> _______________________________________________
> QNX Momentics Getting Started
> http://community.qnx.com/sf/go/post14305
>
>
|
|
|