www.digitalmars.com         C & C++   DMDScript  

c++.idde - Spaces in include path components?

reply -scooter- <scottm cs.ucla.edu> writes:
Dippy question, but what if DMC was installed in "\Program Files\dm". How 
does one go about escaping the " " in the path name properly for the IDDE to 
pass the option to the compiler. Putting quotes in doesn't appear to help 
when specifying include directories, e.g.,

\Program Files\dm\stlport\stlport;.;.\include

or

\"Program Files"\dm\stlport\stlport;.;.\include


-scooter
Jan 13 2004
parent reply Jan Knepper <jan smartsoft.us> writes:
I think it might take:

"\Program Files\dm\stlport\stlport";.;.\include

But I am not sure.

If it does not work try it in the #defines area as:

-I"\Program Files\dm\stlport\stlport" -DYOURDEF1 -DYOURDEF2

-scooter- wrote:
 Dippy question, but what if DMC was installed in "\Program Files\dm". 
 How does one go about escaping the " " in the path name properly for the 
 IDDE to pass the option to the compiler. Putting quotes in doesn't 
 appear to help when specifying include directories, e.g.,
 
 \Program Files\dm\stlport\stlport;.;.\include
 
 or
 
 \"Program Files"\dm\stlport\stlport;.;.\include
 
 
 -scooter
 

-- ManiaC++ Jan Knepper But as for me and my household, we shall use Mozilla... www.mozilla.org
Jan 13 2004
parent reply -scooter- <scottm cs.ucla.edu> writes:
Jan Knepper wrote:

 I think it might take:
 
 "\Program Files\dm\stlport\stlport";.;.\include

Tried that but failed.
 -I"\Program Files\dm\stlport\stlport" -DYOURDEF1 -DYOURDEF2

Negative result on that hack. -scooter
Jan 14 2004
parent reply "Walter" <walter digitalmars.com> writes:
"-scooter-" <scottm cs.ucla.edu> wrote in message
news:bu40tl$1nr7$1 digitaldaemon.com...
 Jan Knepper wrote:

 I think it might take:

 "\Program Files\dm\stlport\stlport";.;.\include

Tried that but failed.
 -I"\Program Files\dm\stlport\stlport" -DYOURDEF1 -DYOURDEF2

Negative result on that hack.

Spaces, + signs, and ~'s do not work in filenames with DMC. Sorry.
Jan 16 2004
parent reply Scott Michel <scottm cs.ucla.edu> writes:
Walter wrote:

 
 "-scooter-" <scottm cs.ucla.edu> wrote in message
 news:bu40tl$1nr7$1 digitaldaemon.com...
 Jan Knepper wrote:

 I think it might take:

 "\Program Files\dm\stlport\stlport";.;.\include

Tried that but failed.
 -I"\Program Files\dm\stlport\stlport" -DYOURDEF1 -DYOURDEF2

Negative result on that hack.

Spaces, + signs, and ~'s do not work in filenames with DMC. Sorry.

With all due respect, this probably needs changing. What's the default home directory for users on XP and 2003? "C:\Documents and Settings\JoeLUser". It's got a space in it. Yes, I figured out that the quick hack around the problem, but this question might just become a FAQ. -scooter
Jan 16 2004
parent "Walter" <walter digitalmars.com> writes:
"Scott Michel" <scottm cs.ucla.edu> wrote in message
news:bu98vd$1b7a$1 digitaldaemon.com...
 Yes, I figured out that the quick hack around the problem, but this

 might just become a FAQ.

I think you're right.
Jan 17 2004