Difference between revisions of "Documentation/4.2/Developers/Build Instructions/CheckoutSourceCode"

From Slicer Wiki
Jump to: navigation, search
(Prepend documentation/versioncheck template. See http://na-mic.org/Mantis/view.php?id=2887)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
 +
<noinclude>{{documentation/versioncheck}}</noinclude>
 
== CHECKOUT slicer source files ==
 
== CHECKOUT slicer source files ==
  
Line 6: Line 7:
 
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]] !.
 
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]] !.
  
3. Reading the following page: [[Slicer:git-svn|Slicer guide to <code>git-svn</code>]]
+
3. Read the following page: [[Slicer:git-svn|Slicer guide to <code>git-svn</code>]]
 
<br>
 
<br>
  

Latest revision as of 07:49, 14 June 2013

Home < Documentation < 4.2 < Developers < Build Instructions < CheckoutSourceCode


For the latest Slicer documentation, visit the read-the-docs.


CHECKOUT 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 !.

3. Read the following page: Slicer guide to git-svn

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