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

From Slicer Wiki
Jump to: navigation, search
(Nightly -> 4.2)
 
(Prepend documentation/versioncheck template. See http://na-mic.org/Mantis/view.php?id=2887)
 
Line 1: Line 1:
 +
<noinclude>{{documentation/versioncheck}}</noinclude>
 
== BUILD Slicer4 ==
 
== BUILD Slicer4 ==
 
After configuration, start the build process in the  <code>Slicer4-SuperBuild</code> directory
 
After configuration, start the build process in the  <code>Slicer4-SuperBuild</code> directory

Latest revision as of 07:49, 14 June 2013

Home < Documentation < 4.2 < Developers < Build Instructions < Compile


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


BUILD Slicer4

After configuration, start the build process in the Slicer4-SuperBuild directory

Per-platform instructions

Windows

  • Open Slicer4-SuperBuild\Slicer.sln in Visual Studio
  • Select your build configuration. Usually Release of Debug
  • Build the ALL_BUILD project.
  • If you make local changes to Slicer4, open the solution file located in the directory Slicer4-SuperBuild/Slicer-build instead. You should then be able to either build all projects or just a specific one.

Unix-like

 cd ~/Projects/Slicer4-SuperBuild
 make -j<NUMBEROFCORES>