Difference between revisions of "Documentation/Nightly/Developers/Build Instructions/CheckoutSourceCode"
From Slicer Wiki
m |
|||
Line 2: | Line 2: | ||
<br> | <br> | ||
− | + | 1. While it is not enforced, we strongly recommend you to '''AVOID''' the use of '''SPACES''' for both the <code>source directory</code> and the <code>build directory</code>. We mean it. | |
− | + | ||
− | + | 2. Even if you use <code>svn</code> to check out Slicer source code, you will need to have <code>git</code> installed to checkout and build other libraries. '''YES''', you need to install the things listed in the [[Documentation/{{documentation/version}}/Developers/Build Instructions/Prerequisites|prerequisites]] !. | |
− | }} | + | |
<br> | <br> | ||
− | |||
− | |||
=== Checkout source code === | === Checkout source code === | ||
Line 23: | Line 21: | ||
Consider reading the following page: [[Slicer:git-svn|Slicer guide to <code>git-svn</code>]] | Consider reading the following page: [[Slicer:git-svn|Slicer guide to <code>git-svn</code>]] | ||
− | |||
− |
Revision as of 18:33, 9 January 2013
Home < Documentation < Nightly < Developers < Build Instructions < CheckoutSourceCodeCHECKOUT slicer source files
1. While it is not enforced, we strongly recommend you to AVOID the use of SPACES for both the source directory
and the build directory
. We mean it.
2. Even if you use svn
to check out Slicer source code, you will need to have git
installed to checkout and build other libraries. YES, you need to install the things listed in the prerequisites !.
Checkout source code
git clone git://github.com/Slicer/Slicer.git
Setup git-svn bridge
cd Slicer git svn init http://svn.slicer.org/Slicer4/trunk git update-ref refs/remotes/git-svn refs/remotes/origin/master git checkout master git svn rebase
Consider reading the following page: Slicer guide to git-svn