CDT Process Type: ADDFILES [message #1770452] |
Fri, 11 August 2017 11:58  |
Eclipse User |
|
|
|
Hello all,
I wish to copy and modify a bunch of files from a directory at C:\my_directory to the Eclipse Workspace. How do I go about doing that with the CDT template.xml? I will make C:\make_directory part of the environment variable.
The process type "AddFiles" shows how it can be done as long as the Source file is in the same directory as the template.xml, as shown by the snippet below, where the file "empty.c" is located in "src", which is in the same folder as template.xml.
<process type="org.eclipse.cdt.core.AddFiles">
<simple name="projectName" value="$(projectName)" />
<complex-array name="files">
<element>
<simple name="source" value="src/empty.c" />
<simple name="target" value="main.c" />
<simple name="replaceable" value="true" />
</element>
</complex-array>
</process>
Thank you.
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04633 seconds