mirror of
https://github.com/intel/linux-sgx
synced 2026-06-08 14:49:32 +00:00
d10cabebb5
Added new APIs in sgx_uae_service.h and sgx_ukey_exchange.h to support ECDSA quote based remote attestation. The set of legacy APIs supports EPID only and the set of new APIs supports ECDSA quotes. Enhanced Edger8r with structure deep-copy feature. Fixed bugs. Signed-off-by: Li, Xun <xun.li@intel.com>
33 lines
1.2 KiB
C
33 lines
1.2 KiB
C
#ifndef CPPMICROSERVICES_TESTINGCONFIG_H
|
|
#define CPPMICROSERVICES_TESTINGCONFIG_H
|
|
|
|
#include <string>
|
|
|
|
#ifdef CMAKE_INTDIR
|
|
#define US_LIBRARY_OUTPUT_DIRECTORY "@CMAKE_LIBRARY_OUTPUT_DIRECTORY_NATIVE@@DIR_SEP@" CMAKE_INTDIR
|
|
#define US_RUNTIME_OUTPUT_DIRECTORY "@CMAKE_RUNTIME_OUTPUT_DIRECTORY_NATIVE@@DIR_SEP@" CMAKE_INTDIR
|
|
#else
|
|
#define US_LIBRARY_OUTPUT_DIRECTORY "@CMAKE_LIBRARY_OUTPUT_DIRECTORY_NATIVE@"
|
|
#define US_RUNTIME_OUTPUT_DIRECTORY "@CMAKE_RUNTIME_OUTPUT_DIRECTORY_NATIVE@"
|
|
#endif
|
|
|
|
namespace cppmicroservices
|
|
{
|
|
namespace testing
|
|
{
|
|
|
|
#ifdef US_PLATFORM_WINDOWS
|
|
static const std::string LIB_PATH = US_RUNTIME_OUTPUT_DIRECTORY;
|
|
static const std::string BIN_PATH = US_RUNTIME_OUTPUT_DIRECTORY;
|
|
static const std::string RCC_PATH = US_RUNTIME_OUTPUT_DIRECTORY "\\@US_RCC_EXECUTABLE_OUTPUT_NAME@@CMAKE_EXECUTABLE_SUFFIX@";
|
|
#else
|
|
static const std::string LIB_PATH = US_LIBRARY_OUTPUT_DIRECTORY;
|
|
static const std::string BIN_PATH = US_RUNTIME_OUTPUT_DIRECTORY;
|
|
static const std::string RCC_PATH = US_RUNTIME_OUTPUT_DIRECTORY "/@US_RCC_EXECUTABLE_OUTPUT_NAME@@CMAKE_EXECUTABLE_SUFFIX@";
|
|
#endif
|
|
|
|
} // namespace testing
|
|
} // namespace cppmicroservices
|
|
|
|
#endif // CPPMICROSERVICES_TESTINGCONFIG_H
|