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.

version.h 912 B

123456789101112131415161718192021222324252627282930313233343536
  1. /**
  2. * \file src/core/include/megbrain/version.h
  3. * MegEngine is Licensed under the Apache License, Version 2.0 (the "License")
  4. *
  5. * Copyright (c) 2014-2021 Megvii Inc. All rights reserved.
  6. *
  7. * Unless required by applicable law or agreed to in writing,
  8. * software distributed under the License is distributed on an
  9. * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  10. */
  11. #pragma once
  12. #include "megbrain_build_config.h"
  13. #define MGE_MAJOR 1
  14. #define MGE_MINOR 9999
  15. #define MGE_PATCH 0
  16. // for rc version, could be like "rc1", "rc2", etc
  17. #define MGE_EXTRA_NAME ""
  18. //! whether it is development version
  19. #ifndef MGB_IS_DEV
  20. #define MGB_IS_DEV 0
  21. #endif // MGB_IS_DEV
  22. namespace mgb {
  23. struct Version {
  24. int major, minor, patch, is_dev;
  25. };
  26. MGE_WIN_DECLSPEC_FUC Version get_version();
  27. } // namespace mgb
  28. // vim: syntax=cpp.doxygen foldmethod=marker foldmarker=f{{{,f}}}