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.
|
- //! this file always for cmake
-
- #ifndef _HEADER_LITE_BUILD_CONFIG
- #define _HEADER_LITE_BUILD_CONFIG
-
- #cmakedefine01 LITE_ENABLE_LOGGING
- #cmakedefine01 LITE_ENABLE_EXCEPTION
- #cmakedefine01 LITE_BUILD_WITH_MGE
- #cmakedefine01 LITE_WITH_CUDA
- #cmakedefine01 LITE_ASSERT_LOC
-
- #ifndef LITE_ENABLE_LOGGING
- #define LITE_ENABLE_LOGGING 1
- #endif
-
- #ifndef LITE_ENABLE_EXCEPTION
- #if __cpp_exceptions || __EXCEPTIONS || \
- (defined(_MSC_VER) && defined(_CPPUNWIND))
- #define LITE_ENABLE_EXCEPTION 1
- #else
- #define LITE_ENABLE_EXCEPTION 0
- #endif
- #endif
-
- #ifndef LITE_WITH_CUDA
- #define LITE_WITH_CUDA 0
- #endif
-
- #ifndef LITE_ASSERT_LOC
- #define LITE_ASSERT_LOC 0
- #endif
-
- #ifndef LITE_BUILD_WITH_MGE
- #define LITE_BUILD_WITH_MGE 0
- #endif
- #endif // _HEADER_LITE_BUILD_CONFIG
|