install_deps.bat 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. @ECHO OFF
  2. REM ---------------------------------------------------------------------------
  3. REM Batch file for installing pre-requisite packages for cpp-ethereum on
  4. REM Windows platforms. That is implemented using CMake targets which
  5. REM extract pre-built ZIPs hosted on GitHub into "deps\install_deps".
  6. REM
  7. REM See https://github.com/ethereum/cpp-dependencies
  8. REM
  9. REM The CMake files then point into that directory as an alternative
  10. REM to the Homebrew, PPA or other global package server locations
  11. REM available on Linux and UNIX platforms.
  12. REM
  13. REM The lack of a standard C++ packaging system for Windows is problematic
  14. REM for us, and we have considered various options for improving the
  15. REM situation, such as the following:
  16. REM
  17. REM See "Windows - Add support for Chocolatey packages"
  18. REM https://github.com/ethereum/webthree-umbrella/issues/345
  19. REM
  20. REM See "Windows - Try to use NuGet C++ packages"
  21. REM https://github.com/ethereum/webthree-umbrella/issues/509
  22. REM
  23. REM See "CM - Can we switch to NuGet delivery for our external dependencies"
  24. REM https://github.com/ethereum/webthree-umbrella/issues/376
  25. REM
  26. REM Another possible option, which would benefit build robustness on
  27. REM multiple platforms, not just Windows, is to add dependencies as
  28. REM git-submodules (or downloading on demand) so that we aren'targets
  29. REM depend on platform-specific packaging systems at all. We have
  30. REM already done just that for LLVM within evmjit. The downside of
  31. REM that approach is that those dependencies then need to be
  32. REM built-from-source, which adds time to the build process. It
  33. REM gives us an unbeatable degree of control, though, because we
  34. REM then perfectly control versioning and build flags for the binaries
  35. REM for those packages.
  36. REM
  37. REM The documentation for cpp-ethereum is hosted at http://cpp-ethereum.org
  38. REM
  39. REM ---------------------------------------------------------------------------
  40. REM This file is part of cpp-ethereum.
  41. REM
  42. REM cpp-ethereum is free software: you can redistribute it and/or modify
  43. REM it under the terms of the GNU General Public License as published by
  44. REM the Free Software Foundation, either version 3 of the License, or
  45. REM (at your option) any later version.
  46. REM
  47. REM cpp-ethereum is distributed in the hope that it will be useful,
  48. REM but WITHOUT ANY WARRANTY; without even the implied warranty of
  49. REM MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  50. REM GNU General Public License for more details.
  51. REM
  52. REM You should have received a copy of the GNU General Public License
  53. REM along with cpp-ethereum. If not, see <http://www.gnu.org/licenses/>
  54. REM
  55. REM Copyright (c) 2016 cpp-ethereum contributors.
  56. REM ---------------------------------------------------------------------------
  57. cmake -P deps\install_deps.cmake