www.digitalmars.com         C & C++   DMDScript  

c++.idde - Changing name of project

reply "Steve & Denise De Chellis" <dbouton snet.net> writes:
Is their an easy way  (using the IDE) to change the final name of the
executable file produced?

I tried just making a new project with a different name but when I tried to
compile I got out of memory errors.

Steve De Chellis
Jul 30 2002
parent reply Jan Knepper <jan smartsoft.cc> writes:
<g>
Relatively simple...
-    Close the project.
-    Rename the .prj and .opn file to the new name.
-    Open de .prj file as a text file. You can do this with the IDDE through
File->Open (but do NOT open via Project->Open)
     You will find something like:
82572
P:\TMP\Test00.PRJ
Test00.OPN
novcs
Test00.DEF
1
898292412
0 0 0 0 0 "TEST.CPP" ""
0 -1 0 0 0 "S:\include\stdio.h" ""
0 -1 0 0 0 "S:\include\dos.h" ""

Rename the occurrences of Test00 (in your case the old project name) on the
2nd, 3rd and 5th line to the new name.

-    Save and close the .prj file.
-    Open the .prj file in the IDDE.

That should be all.

Jan



Steve & Denise De Chellis wrote:

 Is their an easy way  (using the IDE) to change the final name of the
 executable file produced?

 I tried just making a new project with a different name but when I tried to
 compile I got out of memory errors.

 Steve De Chellis
Jul 30 2002
parent reply "Steve & Denise De Chellis" <dbouton snet.net> writes:
Thanks! This is exactly the information I needed!

Steve De Chellis


"Jan Knepper" <jan smartsoft.cc> wrote in message
news:3D4743FE.583D3F70 smartsoft.cc...
 <g>
 Relatively simple...
 -    Close the project.
 -    Rename the .prj and .opn file to the new name.
 -    Open de .prj file as a text file. You can do this with the IDDE
through
 File->Open (but do NOT open via Project->Open)
      You will find something like:
 82572
 P:\TMP\Test00.PRJ
 Test00.OPN
 novcs
 Test00.DEF
 1
 898292412
 0 0 0 0 0 "TEST.CPP" ""
 0 -1 0 0 0 "S:\include\stdio.h" ""
 0 -1 0 0 0 "S:\include\dos.h" ""

 Rename the occurrences of Test00 (in your case the old project name) on
the
 2nd, 3rd and 5th line to the new name.

 -    Save and close the .prj file.
 -    Open the .prj file in the IDDE.

 That should be all.

 Jan



 Steve & Denise De Chellis wrote:

 Is their an easy way  (using the IDE) to change the final name of the
 executable file produced?

 I tried just making a new project with a different name but when I tried
to
 compile I got out of memory errors.

 Steve De Chellis
Aug 01 2002
parent Jan Knepper <jan smartsoft.cc> writes:
I guess it should go in the FAQ one of these days.
Jan



Steve & Denise De Chellis wrote:

 Thanks! This is exactly the information I needed!

 Steve De Chellis

 "Jan Knepper" <jan smartsoft.cc> wrote in message
 news:3D4743FE.583D3F70 smartsoft.cc...
 <g>
 Relatively simple...
 -    Close the project.
 -    Rename the .prj and .opn file to the new name.
 -    Open de .prj file as a text file. You can do this with the IDDE
through
 File->Open (but do NOT open via Project->Open)
      You will find something like:
 82572
 P:\TMP\Test00.PRJ
 Test00.OPN
 novcs
 Test00.DEF
 1
 898292412
 0 0 0 0 0 "TEST.CPP" ""
 0 -1 0 0 0 "S:\include\stdio.h" ""
 0 -1 0 0 0 "S:\include\dos.h" ""

 Rename the occurrences of Test00 (in your case the old project name) on
the
 2nd, 3rd and 5th line to the new name.

 -    Save and close the .prj file.
 -    Open the .prj file in the IDDE.

 That should be all.

 Jan



 Steve & Denise De Chellis wrote:

 Is their an easy way  (using the IDE) to change the final name of the
 executable file produced?

 I tried just making a new project with a different name but when I tried
to
 compile I got out of memory errors.

 Steve De Chellis
Aug 01 2002