Setting recursive include directory - mwcceppc

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Setting recursive include directory - mwcceppc

3,119 Views
RagingAvatar
Contributor I
Can someone please help me out, how do you set the compiler to have recursive directory searching of the system include directories?

I have some directories listed in the $MWCIncludes environment variable - how can I say that I want those to be searched recursively?

Thanks in advance,

David Springate
Programmer
Playbox
http://www.playboxgames.com

Labels (1)
0 Kudos
Reply
4 Replies

1,477 Views
RagingAvatar
Contributor I
Anyone know how to do this?
0 Kudos
Reply

1,477 Views
J2MEJediMaster
Specialist I
Sorry for the delay. I had to track this down. The Power Architecture Build Tools Reference manual (it's located in the CodeWarrior Help folder) explains command-line settings.

You want the enter the option:

-ir path

where path points to the directories that will be searched recursively. See page 77 of the manual for information.

---Tom

0 Kudos
Reply

1,477 Views
J2MEJediMaster
Specialist I
I assume you're using the CodeWarrior IDE. Go to the Settings panels (Type ALT + F7), then locate the Access Paths panel. Click on the System Paths radio button to examine the system directories that the IDE searches. If necessary, you can add a directory to the list by clicking on the Add button and navigating to the desired directory. At the left of the file path display are two columns. The leftmost one is the switch that allows the directory to be searched. Click in the column to toggle this setting. A checkmark means the directory will be searched. The next column is the switch that enables recursive searching. Click on it to toggle this setting. You'll see a tiny folder icon in this column if this option is set. HTH.

---Tom

0 Kudos
Reply

1,477 Views
RagingAvatar
Contributor I
Sorry, no, I'm not using the IDE.. Any idea on how to do it from the command line?

David Springate
Programmer
Playbox
http://www.playboxgames.com



Message Edited by RagingAvatar on 2008-03-13 02:55 PM
0 Kudos
Reply