www.digitalmars.com         C & C++   DMDScript  

c++.idde - Automated makefile creation

reply "Dimitri Kaparis" <dkaparis universalstudyhelper.com> writes:
Hello,

Is there some way to generate the project makefile created by the integrated
IDDE make from the command line? I am trying to set up an automated build
system, but to do this from a script I generally need to check out all
source files and then run make on them. Is it possible to retrieve the
makefile without maintaining it separately from the project file?

Best regards,

Dimitri
Feb 20 2003
parent reply roland <--rv ronetech.com> writes:
Dimitri Kaparis wrote:

 Hello,
 
 Is there some way to generate the project makefile created by the integrated
 IDDE make from the command line? I am trying to set up an automated build
 system, but to do this from a script I generally need to check out all
 source files and then run make on them. Is it possible to retrieve the
 makefile without maintaining it separately from the project file?
 
 Best regards,
 
 Dimitri
 
 

hi, the idde creates a .MAK file: <project name>.MAK ( sorry if the answer is not good as i'm not sure i understand well the question .. ) roland
Feb 21 2003
parent reply "Dimitri Kaparis" <dkaparis universalstudyhelper.com> writes:
"roland" <--rv ronetech.com> wrote in message
news:3E55E064.6 ronetech.com...
 Dimitri Kaparis wrote:

 Hello,

 Is there some way to generate the project makefile created by the


 IDDE make from the command line? I am trying to set up an automated


 system, but to do this from a script I generally need to check out all
 source files and then run make on them. Is it possible to retrieve the
 makefile without maintaining it separately from the project file?

 Best regards,

 Dimitri

hi, the idde creates a .MAK file: <project name>.MAK ( sorry if the answer is not good as i'm not sure i understand well the question .. ) roland

----- Original Message ----- From: "roland" <--rv ronetech.com> Newsgroups: c++.idde Sent: Friday, February 21, 2003 10:16 AM Subject: Re: Automated makefile creation
 Dimitri Kaparis wrote:

 Hello,

 Is there some way to generate the project makefile created by the


 IDDE make from the command line? I am trying to set up an automated


 system, but to do this from a script I generally need to check out all
 source files and then run make on them. Is it possible to retrieve the
 makefile without maintaining it separately from the project file?

 Best regards,

 Dimitri

hi, the idde creates a .MAK file: <project name>.MAK ( sorry if the answer is not good as i'm not sure i understand well the question .. ) roland

Hi, I know the idde creates a .mak file with the project name automatically (I think upon building the project). What I need is a way to create this .mak file without invoking the IDDE, e.g. from the command line, so that I can make a script for automatic builds. Thanks, Dimitri P.S. Sorry roland I replied to your e-mail by mistake.
Feb 21 2003
parent reply PEBKAC user <PEBKAC_member pathlink.com> writes:
Can I ask a dumb question?

The .MAK file that is generated by the IDE, should that be run with
"Make" or "Smake"?  I tried both and neither seemed to work well.
Probably a "PEBKAC" error (Problem Exists Between Keyboard And Chair).

In article <b34p3u$112e$1 digitaldaemon.com>, Dimitri Kaparis says...
"roland" <--rv ronetech.com> wrote in message
news:3E55E064.6 ronetech.com...
 Dimitri Kaparis wrote:

 Hello,

 Is there some way to generate the project makefile created by the


 IDDE make from the command line? I am trying to set up an automated


 system, but to do this from a script I generally need to check out all
 source files and then run make on them. Is it possible to retrieve the
 makefile without maintaining it separately from the project file?

 Best regards,

 Dimitri

hi, the idde creates a .MAK file: <project name>.MAK ( sorry if the answer is not good as i'm not sure i understand well the question .. ) roland

----- Original Message ----- From: "roland" <--rv ronetech.com> Newsgroups: c++.idde Sent: Friday, February 21, 2003 10:16 AM Subject: Re: Automated makefile creation
 Dimitri Kaparis wrote:

 Hello,

 Is there some way to generate the project makefile created by the


 IDDE make from the command line? I am trying to set up an automated


 system, but to do this from a script I generally need to check out all
 source files and then run make on them. Is it possible to retrieve the
 makefile without maintaining it separately from the project file?

 Best regards,

 Dimitri

hi, the idde creates a .MAK file: <project name>.MAK ( sorry if the answer is not good as i'm not sure i understand well the question .. ) roland

Hi, I know the idde creates a .mak file with the project name automatically (I think upon building the project). What I need is a way to create this .mak file without invoking the IDDE, e.g. from the command line, so that I can make a script for automatic builds. Thanks, Dimitri P.S. Sorry roland I replied to your e-mail by mistake.

Feb 26 2003
parent reply "Walter" <walter digitalmars.com> writes:
"PEBKAC user" <PEBKAC_member pathlink.com> wrote in message
news:b3inmg$2ooi$1 digitaldaemon.com...
 Can I ask a dumb question?

Sure!
 The .MAK file that is generated by the IDE, should that be run with
 "Make" or "Smake"?  I tried both and neither seemed to work well.
 Probably a "PEBKAC" error (Problem Exists Between Keyboard And Chair).

Um, that's actually quite a good question, not dumb at all. smake is the answer.
Feb 26 2003
parent PEBKAC User <PEBKAC_member pathlink.com> writes:
In article <b3j5et$8i$4 digitaldaemon.com>, Walter says...

 The .MAK file that is generated by the IDE, should that be run with
 "Make" or "Smake"?  I tried both and neither seemed to work well.
 Probably a "PEBKAC" error (Problem Exists Between Keyboard And Chair).

Um, that's actually quite a good question, not dumb at all. smake is the answer.

Yes, smake works. Thanks!
Mar 03 2003