1 Star 0 Fork 0

xwang98/mbedtls-SGX

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
CMakeLists.txt 690 Bytes
一键复制 编辑 原始数据 按行查看 历史
Fan Zhang 提交于 2017-11-15 15:45 . tweak installation
# need 3.0 for multiple line strings
cmake_minimum_required(VERSION 3.0)
project(mbedtls_SGX "C" "CXX")
set(MBEDTLS_VERSION 2.6.0)
set(SGX_SDK /opt/intel/sgxsdk)
set(SGX_ARCH x64)
set(SGX_MODE SIM CACHE STRING "SGX mode: SIM or HW") # SGX mode: sim, hw
set(COMPILE_EXAMPLES NO CACHE BOOL "Build examples")
set(SGX_BUILD DEBUG CACHE STRING "Build: DEBUG, PRERELEASE or RELEASE")
include (cmake/Init.cmake)
include (cmake/ConfigSGX.cmake)
set(CMAKE_INSTALL_PREFIX ${CMAKE_BINARY_DIR}/${PROJECT_NAME}-${MBEDTLS_VERSION})
set(MBEDTLS_LIB_DIR ${CMAKE_ARCHIVE_OUTPUT_DIRECTORY})
add_subdirectory(trusted)
add_subdirectory(ocall)
if (COMPILE_EXAMPLES)
add_subdirectory(example)
endif()
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C
1
https://gitee.com/xwang98/mbedtls-SGX.git
git@gitee.com:xwang98/mbedtls-SGX.git
xwang98
mbedtls-SGX
mbedtls-SGX
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385