Copying a project in CW 4.2

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

Copying a project in CW 4.2

1,356 Views
DouglasHolub
Contributor I
Is there an easy way to copy a project? I need to make some changes to my code for a new product, but I still want to keep the old code for the old product. I've tried to duplicate all of the settings in all of the sub folders and configuration pages, but something still isn't quite right because the new code isn't compiling the same even though I haven't changed anything yet. I'm using the DSP56F805.
 
Doug Holub
Irving, Texas
Labels (1)
Tags (1)
0 Kudos
2 Replies

283 Views
CrasyCat
Specialist III
Hello
  I see two ways of achieving that:
     1- Duplicate project
          - Physically duplicate the whole project directory
          - Change the directory name and the .mcp name to anything relevant you want to use
          - You should have a real clone of the project, that you can load into the IDE
 
     2- Import settings from first project to second one
           - Open the first project
           - Open the target settings dialog (pressing ALT +F7)
           - Go through each Panel and click "Export Panel". Save the settings in a file with a relevant name
           - Open the destination project
           - Open the target settings dialog (pressing ALT +F7)
           - Go through each Panel and click "Import Panel". Load the corresponding settings from first
              project.
 
    For that to work properly make sure you are not using absolute paths in any of the panel.
    It is recommended to sue either compiler relative or project relative paths rather than absolute ones.
 
That should be it.
CrasyCat
0 Kudos

283 Views
DouglasHolub
Contributor I
Thanks a million. That did it. I was using absolute paths.
0 Kudos