Author Topic: Making a copy of a Project  (Read 12747 times)

Offline artsnova

  • Single posting newcomer
  • *
  • Posts: 3
Making a copy of a Project
« on: August 31, 2010, 06:20:04 pm »
Hi folks,

Am I correct in understanding that there is no way within CB to make a copy of an entire project?

The "Save Project As" option only saves the project file itself. I'd like to be able to save everything associated with a given project to a different directory - instead of having to resort to Windows Explorer.

Thanks.

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7252
Re: Making a copy of a Project
« Reply #1 on: August 31, 2010, 06:29:13 pm »
You can create your entire project as template ("File -> Savd as template") and create a new project in another directory ("File -> New -> From template..").

That's of course not exactly what you are looking for, but C::B is an IDE not a filemanager.

Offline artsnova

  • Single posting newcomer
  • *
  • Posts: 3
Re: Making a copy of a Project
« Reply #2 on: August 31, 2010, 08:15:54 pm »
Hi Jen,

Thanks for the info re templates.

Personally I happen to put emphasis on the "Integrated" aspect of IDE. Also since the project file contains relative links to the associated source and header files, the "save project as" function's usefulness becomes limited to only saving the project file under a different name inside the same directory. I assume that what the developers had in mind was the ability to make possible multiple project files with customized build settings.

Still I think it would be useful if I could duplicate a project in its entirety within CB so that I could have multiple versions.   

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7785
    • My Best Post
Re: Making a copy of a Project
« Reply #3 on: August 31, 2010, 08:25:30 pm »

Still I think it would be useful if I could duplicate a project in its entirety within CB so that I could have multiple versions.  

I suggest learning how to use the tools function and 7zip command line utilities. I have not taken the work to do what is needed for this method since I just zip up my project folder and the unzip it by using the 7Zip GUI or using an Batch file.

Note: Using a version control system is a better solution; I just do not have the time to setup and maintain one.

Tim S.
C Programmer working to learn more about C++ and Git.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org