Copying a project in CW 4.2

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Copying a project in CW 4.2

1,516 次查看
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 回复数

443 次查看
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 项奖励
回复

443 次查看
DouglasHolub
Contributor I
Thanks a million. That did it. I was using absolute paths.
0 项奖励
回复