Copying a project in CW 4.2

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Copying a project in CW 4.2

1,344件の閲覧回数
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
ラベル(1)
タグ(1)
0 件の賞賛
2 返答(返信)

271件の閲覧回数
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 件の賞賛

271件の閲覧回数
DouglasHolub
Contributor I
Thanks a million. That did it. I was using absolute paths.
0 件の賞賛