Copying and renaming Linux projects

Sysprogs forums Forums VisualGDB Copying and renaming Linux projects

This topic contains 3 replies, has 2 voices, and was last updated by  support 23 hours, 6 minutes ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #22585

    nahumb
    Participant

    Hi,

    I would like to make a branch and duplicate a Linux project/solution  mySolution_A to mySolution_B (for example).

    mySolution_A is either an MS Build static library or a QMake Qt application.

    Is there a defined procedure of doing it?

    Thanks,

    Nahum.

     

    #22607

    support
    Keymaster

    Hi,

    Sorry, there isn’t any special command for renaming projects. You can use the VisualGDB template mechanism for some project types (e.g. MSBuild), but otherwise you would need to rename the project manually and update the following files:

    • The .vgdbsettings files should be renamed to match the new project name.
    • Any explicit references to the .vgdbsettings files inside the .vcxproj file should be updated.

    That should be sufficient to get the renamed project to work. Let us know if you encounter any problems and we will help.

    #22669

    nahumb
    Participant

    Hi,

    Thanks for your reply.

    I have followed your instructions and replaced the names of any relevant file name and any reference in any file to the files names, and it works.

    The solution was built correctly including the Unit-tests (all files here were also modified).

    This solution is a static library, and an application using it was built successfully with the new created library.

    Thank you.

    Nahum.

    #22671

    support
    Keymaster

    Hi,

    Good to know it works. If you encounter any further issues, don’t hesitate to get back to us.

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.