keystone-enclave / keystone-sdk

SDK for Keystone Enclave - ABI/SBI libraries and sample apps
Other
44 stars 22 forks source link

[all] Massive restructuring of SDK #55

Closed dayeol closed 4 years ago

dayeol commented 4 years ago

This commit changes the directory structure to be more sane.

This change completely separates the source and the build files. Also, it makes it wildly easier to "install" the headers and the libraries to a designated directory configured with a CMake flag, OUTPUT_DIR. Now, KEYSTONE_SDK_DIR should point to this "install" directory instead of the source directory. Thus, it may require runtime and keystone repo updates.

dkohlbre commented 4 years ago

README is currently inaccurate, should be updated in this PR. We can update the other documentation in the main Keystone pr.

dkohlbre commented 4 years ago

I'm also not sure what the different tests/ and examples/tests/ etc directories are. We can have both examples/ and tests/ but they should contain distinct things.

dayeol commented 4 years ago

They are containing distinct things. examples/tests contains the test binaries that we used to use, tests contains googletest-based unit tests.