addnaturetemplate.xml 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. <?xml version="1.0" encoding="ISO-8859-1"?>
  2. <!-- -->
  3. <!-- Copyright (c) 2018 Intel Corporation. -->
  4. <!-- -->
  5. <!-- All rights reserved. This program and the accompanying materials -->
  6. <!-- are made available under the terms of the Eclipse Public License v1.0 -->
  7. <!-- which accompanies this distribution, and is available at -->
  8. <!-- http://www.eclipse.org/legal/epl-v10.html -->
  9. <!-- -->
  10. <!-- Contributors: -->
  11. <!-- Intel Corporation - initial implementation and documentation -->
  12. <!-- -->
  13. <template type="ProjTempl" version="1.0" supplier="Intel"
  14. revision="1.0" author="%SGX.author" id="AddSGXNature" label="%SGX.naturetemplate.title.label"
  15. description="%SGX.naturetemplate.title.description" help="help.html">
  16. <process type="com.intel.sgx.CreateNativeFolders">
  17. <simple name="projectName" value="$(projectName)" />
  18. <simple-array name="sourceFolders">
  19. <element value="sgx" />
  20. </simple-array>
  21. <simple-array name="outputFolders">
  22. <!-- <element value="obj"></element> -->
  23. <!-- <element value="libs"></element> -->
  24. </simple-array>
  25. </process>
  26. <process type="org.eclipse.cdt.core.AddFiles">
  27. <simple name="projectName" value="$(projectName)"/>
  28. <complex-array name="files">
  29. <!-- <element> -->
  30. <!-- <simple name="source" value="../sgx/SGXNative/sgx.mk"/> -->
  31. <!-- <simple name="target" value="sgx/sgx.mk" /> -->
  32. <!-- <simple name="replaceable" value="true" /> -->
  33. <!-- </element> -->
  34. <element>
  35. <simple name="source" value="../../sgx/SGXNature/Makefile"/>
  36. <simple name="target" value="sgx/Makefile" />
  37. <simple name="replaceable" value="true" />
  38. </element>
  39. <!-- <element> -->
  40. <!-- <simple name="source" value="../source/main.cpp"/> -->
  41. <!-- <simple name="target" value="sgx/$(baseName).cpp" /> -->
  42. <!-- <simple name="replaceable" value="false" /> -->
  43. <!-- </element> -->
  44. </complex-array>
  45. </process>
  46. </template>