Documentation/Nightly/Developers/Build Instructions/CheckoutSourceCode

From Slicer Wiki
Jump to: navigation, search
Home < Documentation < Nightly < Developers < Build Instructions < CheckoutSourceCode

CHECKOUT slicer source files



Note that 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

Note: be sure to name your source directory 'Slicer' for compatibility with the build process.