Adding SGX Nature to a non-SGX project

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:

  1. Right-click on the project root
  2. Select Software Guard Extension Tools → Add SGX Nature

    Add SGX Nature

After you add the SGX nature to your project, you should see: