You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

lite_build_config.h.in 760 B

123456789101112131415161718192021222324252627282930313233343536
  1. //! this file always for cmake
  2. #ifndef _HEADER_LITE_BUILD_CONFIG
  3. #define _HEADER_LITE_BUILD_CONFIG
  4. #cmakedefine01 LITE_ENABLE_LOGGING
  5. #cmakedefine01 LITE_ENABLE_EXCEPTION
  6. #cmakedefine01 LITE_BUILD_WITH_MGE
  7. #cmakedefine01 LITE_WITH_CUDA
  8. #cmakedefine01 LITE_ASSERT_LOC
  9. #ifndef LITE_ENABLE_LOGGING
  10. #define LITE_ENABLE_LOGGING 1
  11. #endif
  12. #ifndef LITE_ENABLE_EXCEPTION
  13. #if __cpp_exceptions || __EXCEPTIONS || \
  14. (defined(_MSC_VER) && defined(_CPPUNWIND))
  15. #define LITE_ENABLE_EXCEPTION 1
  16. #else
  17. #define LITE_ENABLE_EXCEPTION 0
  18. #endif
  19. #endif
  20. #ifndef LITE_WITH_CUDA
  21. #define LITE_WITH_CUDA 0
  22. #endif
  23. #ifndef LITE_ASSERT_LOC
  24. #define LITE_ASSERT_LOC 0
  25. #endif
  26. #ifndef LITE_BUILD_WITH_MGE
  27. #define LITE_BUILD_WITH_MGE 0
  28. #endif
  29. #endif // _HEADER_LITE_BUILD_CONFIG