|Re: LDT features inside CDT project [message #797708 is a reply to message #794082]
||Mon, 13 February 2012 20:36
| Benjamin Cabé
Registered: July 2009
Location: Toulouse, France
Hi Robert, and sorry for the late reply,|
I see two ways for you to benefit from LDT features in a C/C++ project:
1. The solution which I think would be the most elegant is to give your CDT project the LDT nature. I have opened a bug to automate this, but in the mean time, you'll have to edit your .project file by hand.
In the <buildSpec> section, you should add
And in the <natures> section:
From this point, your project will behave not only as a CDT project, but as an LDT project as well. It means you will be able to right click on a folder, and choose "Build Path > Use as Source Folder" on the folders containing your Lua files.
2. The alternative way is to create a new Lua project in your workspace. In this project, create a new virtual folder (see related help topic) linked to the folder containing your Lua sources. Then, right click on the folder, and choose "Build Path > Use as Source Folder".
Hope this helps!
I am looking forward to further comments from you regarding the use of LDT together with CDT, since I believe it is a very common use case and there's certainly room for improvement!
Powered by FUDForum
. Page generated in 0.02380 seconds