12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
- <!--------------------------------------------------------------------------->
- <!-- Copyright (c) 2016 Intel Corporation. -->
- <!-- -->
- <!-- All rights reserved. This program and the accompanying materials -->
- <!-- are made available under the terms of the Eclipse Public License v1.0 -->
- <!-- which accompanies this distribution, and is available at -->
- <!-- http://www.eclipse.org/legal/epl-v10.html -->
- <!-- -->
- <!-- Contributors: -->
- <!-- Intel Corporation - initial implementation and documentation -->
- <!--------------------------------------------------------------------------->
- <?xml version="1.0" encoding="utf-8"?>
- <html xmlns:MadCap="http://www.madcapsoftware.com/Schemas/MadCap.xsd" MadCap:lastBlockDepth="4" MadCap:lastHeight="1808" MadCap:lastWidth="563">
- <head><title>Adding SGX Nature to a non-SGX project</title>
- <link href="Resources/Stylesheets/intel_css_styles.css" rel="stylesheet" type="text/css" />
- </head>
- <body>
- <h3>Adding SGX Nature to a non-SGX project</h3>
- <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>
- <ol>
- <li>Right-click on the project root <![CDATA[ ]]></li>
- <li>
- <p>Select <b>Software Guard Extension Tools → Add SGX Nature</b></p>
- <p>
- <img src="Resources/Images/Add_SGX_Nature.png" />
- </p>
- <p class="figcap">Add SGX Nature</p>
- </li>
- </ol>
- <p>After you add the SGX nature to your project, you should see:</p>
- <ul>
- <li>
- <p>A subdirectory <code>sgx</code> in the project which contains a Makefile file.</p>
- <p>
- <img src="Resources/Images/Makefile_for_Intel_SGX.png" />
- </p>
- <p class="figcap">Makefile for Intel(R) SGX</p>
- </li>
- <li>
- <p>The Intel SGX tools as shown in the following graphic:</p>
- <p>
- <img src="Resources/Images/Intel_SGX_Tools.png" />
- </p>
- <p class="figcap">Intel(R) SGX Tools</p>
- </li>
- <li>
- <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>
- <p>
- <img src="Resources/Images/Configurations_Specific_to_Intel_SGX_Technology.png" />
- </p>
- <p class="figcap">Configurations Specific to Intel(R) SGX Technology</p>
- </li>
- </ul>
- </body>
- </html>
|