/**
* \file lite/src/lite_build_config.h.in
* MegEngine is Licensed under the Apache License, Version 2.0 (the "License")
*
* Copyright (c) 2014-2021 Megvii Inc. All rights reserved.
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*/
#ifndef _HEADER_LITE_BUILD_CONFIG
#define _HEADER_LITE_BUILD_CONFIG
#cmakedefine01 LITE_ENABLE_LOGGING
#cmakedefine01 LITE_ENABLE_EXCEPTION
#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
#endif // _HEADER_LITE_BUILD_CONFIG