__init__.py 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. # Copyright 2017 The Meson development team
  2. # Licensed under the Apache License, Version 2.0 (the "License");
  3. # you may not use this file except in compliance with the License.
  4. # You may obtain a copy of the License at
  5. # http://www.apache.org/licenses/LICENSE-2.0
  6. # Unless required by applicable law or agreed to in writing, software
  7. # distributed under the License is distributed on an "AS IS" BASIS,
  8. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  9. # See the License for the specific language governing permissions and
  10. # limitations under the License.
  11. from .boost import BoostDependency
  12. from .base import ( # noqa: F401
  13. Dependency, DependencyException, DependencyMethods, ExternalProgram, NonExistingExternalProgram,
  14. ExternalDependency, NotFoundDependency, ExternalLibrary, ExtraFrameworkDependency, InternalDependency,
  15. PkgConfigDependency, find_external_dependency, get_dep_identifier, packages, _packages_accept_language)
  16. from .dev import GMockDependency, GTestDependency, LLVMDependency, ValgrindDependency
  17. from .misc import (MPIDependency, OpenMPDependency, Python3Dependency, ThreadDependency, PcapDependency, CupsDependency, LibWmfDependency)
  18. from .platform import AppleFrameworks
  19. from .ui import GLDependency, GnuStepDependency, Qt4Dependency, Qt5Dependency, SDL2Dependency, WxDependency, VulkanDependency
  20. packages.update({
  21. # From dev:
  22. 'gtest': GTestDependency,
  23. 'gmock': GMockDependency,
  24. 'llvm': LLVMDependency,
  25. 'valgrind': ValgrindDependency,
  26. # From misc:
  27. 'boost': BoostDependency,
  28. 'mpi': MPIDependency,
  29. 'openmp': OpenMPDependency,
  30. 'python3': Python3Dependency,
  31. 'threads': ThreadDependency,
  32. 'pcap': PcapDependency,
  33. 'cups': CupsDependency,
  34. 'libwmf': LibWmfDependency,
  35. # From platform:
  36. 'appleframeworks': AppleFrameworks,
  37. # From ui:
  38. 'gl': GLDependency,
  39. 'gnustep': GnuStepDependency,
  40. 'qt4': Qt4Dependency,
  41. 'qt5': Qt5Dependency,
  42. 'sdl2': SDL2Dependency,
  43. 'wxwidgets': WxDependency,
  44. 'vulkan': VulkanDependency,
  45. })
  46. _packages_accept_language.update({
  47. 'mpi',
  48. 'openmp',
  49. })