Merge pull request #3431

bb07d8d7 README: add instructions for cloning / submodules (anonimal)
This commit is contained in:
Riccardo Spagni 2018-03-19 11:39:22 +02:00
commit 2c145f4a38
No known key found for this signature in database
GPG key ID: 55432DF31CCD4FCD

View file

@ -187,6 +187,16 @@ library archives (`.a`).
[^] On Debian/Ubuntu `libgtest-dev` only includes sources and headers. You must [^] On Debian/Ubuntu `libgtest-dev` only includes sources and headers. You must
build the library binary manually. This can be done with the following command ```sudo apt-get install libgtest-dev && cd /usr/src/gtest && sudo cmake . && sudo make && sudo mv libg* /usr/lib/ ``` build the library binary manually. This can be done with the following command ```sudo apt-get install libgtest-dev && cd /usr/src/gtest && sudo cmake . && sudo make && sudo mv libg* /usr/lib/ ```
### Cloning the repository
Clone recursively to pull-in needed submodule(s):
`$ git clone --recursive https://github.com/monero-project/monero`
If you already have a repo cloned, initialize and update:
`$ cd monero && git submodule init && git submodule update`
### Build instructions ### Build instructions
Monero uses the CMake build system and a top-level [Makefile](Makefile) that Monero uses the CMake build system and a top-level [Makefile](Makefile) that