Adding_SGX_Nature_to_a_non_SGX_project.htm 2.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. <!--------------------------------------------------------------------------->
  2. <!-- Copyright (c) 2016 Intel Corporation. -->
  3. <!-- -->
  4. <!-- All rights reserved. This program and the accompanying materials -->
  5. <!-- are made available under the terms of the Eclipse Public License v1.0 -->
  6. <!-- which accompanies this distribution, and is available at -->
  7. <!-- http://www.eclipse.org/legal/epl-v10.html -->
  8. <!-- -->
  9. <!-- Contributors: -->
  10. <!-- Intel Corporation - initial implementation and documentation -->
  11. <!--------------------------------------------------------------------------->
  12. <?xml version="1.0" encoding="utf-8"?>
  13. <html xmlns:MadCap="http://www.madcapsoftware.com/Schemas/MadCap.xsd" MadCap:lastBlockDepth="4" MadCap:lastHeight="1808" MadCap:lastWidth="563">
  14. <head><title>Adding SGX Nature to a non-SGX project</title>
  15. <link href="Resources/Stylesheets/intel_css_styles.css" rel="stylesheet" type="text/css" />
  16. </head>
  17. <body>
  18. <h3>Adding SGX Nature to a non-SGX project</h3>
  19. <p>When you have a C/C++ project created without Intel SGX, you cannot use Intel SGX support. In this case, you need to add SGX nature to this project to use Intel SGX support:</p>
  20. <ol>
  21. <li>Right-click on the project root <![CDATA[ ]]></li>
  22. <li>
  23. <p>Select <b>Software Guard Extension Tools → Add SGX Nature</b></p>
  24. <p>
  25. <img src="Resources/Images/Add_SGX_Nature.png" />
  26. </p>
  27. <p class="figcap">Add SGX Nature</p>
  28. </li>
  29. </ol>
  30. <p>After you add the SGX nature to your project, you should see:</p>
  31. <ul>
  32. <li>
  33. <p>A subdirectory <code>sgx</code> in the project which contains a Makefile file.</p>
  34. <p>
  35. <img src="Resources/Images/Makefile_for_Intel_SGX.png" />
  36. </p>
  37. <p class="figcap">Makefile for Intel(R) SGX</p>
  38. </li>
  39. <li>
  40. <p>The Intel SGX tools as shown in the following graphic:</p>
  41. <p>
  42. <img src="Resources/Images/Intel_SGX_Tools.png" />
  43. </p>
  44. <p class="figcap">Intel(R) SGX Tools</p>
  45. </li>
  46. <li>
  47. <p>New configurations specific to SGX technology. You may see the configurations for the project by clicking to the down arrow of button <img src="Resources/Images/Down_Arrow_Button.png" /> usually found at the top of the Eclipse window:</p>
  48. <p>
  49. <img src="Resources/Images/Configurations_Specific_to_Intel_SGX_Technology.png" />
  50. </p>
  51. <p class="figcap">Configurations Specific to Intel(R) SGX Technology</p>
  52. </li>
  53. </ul>
  54. </body>
  55. </html>