Files
Li, Xun d10cabebb5 Linux 2.5 Open Source Gold Release
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>
2019-04-02 13:26:58 +08:00

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