Creating_a_New_C_C_Project_with_SGX_Nature.htm 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637
  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="1000" MadCap:lastWidth="550">
  14. <head><title>Creating a New C/C++ Project with SGX Nature</title>
  15. <link href="Resources/Stylesheets/intel_css_styles.css" rel="stylesheet" type="text/css" />
  16. </head>
  17. <body>
  18. <h3>Creating a New C/C++ Project with SGX Nature</h3>
  19. <p>You can create a new project with SGX nature. To create such a project, follow these steps:</p>
  20. <ol>
  21. <li>
  22. <p>Open a standard Eclipse new project: <b>File menu → Project...</b> . If you have installed Intel® Software Guard Extensions Eclipse Plug-in, you can see the category C/C++ with SGX Enabled in the <b>New Project</b> dialog.</p>
  23. <p>
  24. <img src="Resources/Images/New_Project.png" />
  25. </p>
  26. <p class="figcap">New Project</p>
  27. <p>This category has 2 sub-categories, <b>SGX C project</b> and <b>SGX C++ project</b>. These sub-categories are similar to the sub-categories C Project and C++ Project of standard C/C++ category.</p>
  28. </li>
  29. <li>Select one of the 2 sub-categories, SGX C project or SGX C++ project, and click <b>Next</b>.</li>
  30. <li>Complete creating the project using the regular process of creating a standard C or C++ project.</li>
  31. </ol>
  32. <div class="NoteCont">
  33. <p class="NoteTipHead">NOTE:</p>
  34. <p>Projects created following the subcategories under <b>C/C++ with SGX Enabled</b> are identical with their standard counterparts, except that they have SGX Nature added. There is no difference between creating a C or C++ project with SGX enabled, or creating a standard C/C++ project and launch <b>Add SGX nature</b> from it, as described in precedent paragraph.</p>
  35. </div>
  36. </body>
  37. </html>