enclavetemplate.xml 3.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  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="Intel" id="SGXEnclaveC++WithSample" label="%SGX.enclave.template.title.label"
  15. description="%SGX.enclave.template.title.description" help="help.html">
  16. <process type="org.eclipse.cdt.core.AddFiles">
  17. <simple name="projectName" value="$(projectName)" />
  18. <complex-array name="files">
  19. <element>
  20. <simple name="source" value="../../../sgx/SGXEnclave/trusted/Enclave1.h" />
  21. <simple name="target" value="sgx/enclave_$(enclaveName)/trusted/$(enclaveName).h" />
  22. <simple name="replaceable" value="true" />
  23. </element>
  24. <element>
  25. <simple name="source" value="../../../sgx/SGXEnclave/trusted/Enclave1.cpp" />
  26. <simple name="target" value="sgx/enclave_$(enclaveName)/trusted/$(enclaveName).cpp" />
  27. <simple name="replaceable" value="true" />
  28. </element>
  29. <element>
  30. <simple name="source" value="../../../sgx/SGXEnclave/trusted/Enclave1_private.pem" />
  31. <simple name="target" value="sgx/enclave_$(enclaveName)/trusted/$(enclaveName)_private.pem" />
  32. <simple name="replaceable" value="true" />
  33. </element>
  34. <element>
  35. <simple name="source" value="../../../sgx/SGXEnclave/trusted/Enclave1.config.xml" />
  36. <simple name="target" value="sgx/enclave_$(enclaveName)/trusted/$(enclaveName).config.xml" />
  37. <simple name="replaceable" value="true" />
  38. </element>
  39. <element>
  40. <simple name="source" value="../../../sgx/SGXEnclave/trusted/Enclave1.lds" />
  41. <simple name="target" value="sgx/enclave_$(enclaveName)/trusted/$(enclaveName).lds" />
  42. <simple name="replaceable" value="true" />
  43. </element>
  44. <element>
  45. <simple name="source" value="../../../sgx/SGXEnclave/trusted/Enclave1.edl" />
  46. <simple name="target" value="sgx/enclave_$(enclaveName)/trusted/$(enclaveName).edl" />
  47. <simple name="replaceable" value="true" />
  48. </element>
  49. <element>
  50. <simple name="source" value="../../../sgx/SGXEnclave/makefiles/c++/sgx_u.mk" />
  51. <simple name="target" value="sgx/enclave_$(enclaveName)/sgx_u.mk" />
  52. <simple name="replaceable" value="true" />
  53. </element>
  54. <element>
  55. <simple name="source" value="../../../sgx/SGXEnclave/makefiles/c++/sgx_t.mk" />
  56. <simple name="target" value="sgx/enclave_$(enclaveName)/sgx_t.mk" />
  57. <simple name="replaceable" value="true" />
  58. </element>
  59. <element>
  60. <simple name="source" value="../../../sgx/SGXEnclave/makefiles/common/Makefile" />
  61. <simple name="target" value="sgx/enclave_$(enclaveName)/Makefile" />
  62. <simple name="replaceable" value="true" />
  63. </element>
  64. <element>
  65. <simple name="source" value="../../../sgx/SGXEnclave/untrusted/sample.cpp" />
  66. <simple name="target" value="sgx/enclave_$(enclaveName)/untrusted/sample.cpp" />
  67. <simple name="replaceable" value="true" />
  68. </element>
  69. <element>
  70. <simple name="source" value="../../../sgx/SGXEnclave/untrusted/sample.h" />
  71. <simple name="target" value="sgx/enclave_$(enclaveName)/untrusted/sample.h" />
  72. <simple name="replaceable" value="true" />
  73. </element>
  74. </complex-array>
  75. </process>
  76. </template>