Hi
I need to add existing cpp and h files to my project(X). Those files are in another project(Y) in aonther workspace.
What is the best way in codelite to add pre-existing code files to a new project(X) without being linked to(or affecting) the files in project(Y)?
Thanx
adding existing code files to a project
-
- CodeLite Curious
- Posts: 3
- Joined: Sat Jun 20, 2020 7:57 pm
- Genuine User: Yes
- IDE Question: c++
- Contact:
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: adding existing code files to a project
Right click on the project -> Add an existing files
CodeLite does not copy the files, it just add a reference to the file in the .project file so it will know to compile it
So your file is not affected (you can see that double clicking the file in the workspace view, opens the same file editor in CodeLite)
CodeLite does not copy the files, it just add a reference to the file in the .project file so it will know to compile it
So your file is not affected (you can see that double clicking the file in the workspace view, opens the same file editor in CodeLite)
Make sure you have read the HOW TO POST thread