Alex Cornford
Alex Cornford

Reputation: 158

howto setup codelite for existing git project

I have an existing c++ project with multiple source directories configured in git, but my workspace/project does not recognise any existing source files.

How can I auto-configure a workspace+project in codelite ?

./application/abc/include      // h files
./application/abc/src          // cpp files
./application/def/include
./application/def/src          // with 15+ application subset directories.

Upvotes: 5

Views: 6819

Answers (1)

Eran
Eran

Reputation: 2400

The C++ workspace does not automatically sync with the file system (only Node.js and PHP workspaces)

However, it does contains a feature that allows you import all the files and directories from the file system to the workspace view (it does not physically copy the files, only add their path to the workspace XML file)

This wiki page explains how to do this in details with screenshots

You did not mention your OS and CodeLite version, but just in case, make sure you are using the latest CodeLite available for your OS (the minimum is CodeLite v9.0.0)

Check our download page to ensure that you are using the latest:

The GIT plugin will automatically detect that your workspace is under git source control and will adjust its view to fit your local repo.

Eran

Upvotes: 3

Related Questions