Difference between revisions of "Documentation/Nightly/Developers/Build Instructions/Compile"
From Slicer Wiki
(Prepend documentation/versioncheck template. See http://na-mic.org/Mantis/view.php?id=2887) |
m (→BUILD Slicer) |
||
| Line 3: | Line 3: | ||
After configuration, start the build process in the <code>Slicer-SuperBuild</code> directory | After configuration, start the build process in the <code>Slicer-SuperBuild</code> directory | ||
| − | === | + | {|width = "100%" |
| − | = | + | ! width="50%" style="border-bottom: 1px solid darkgrey;font-size: 75%;"| Linux or MacOSX (Makefile) |
| − | + | ! width="50%" style="border-bottom: 1px solid darkgrey;font-size: 75%;"| Windows (Visual Studio) | |
| − | + | |- | |
| − | + | | valign="top" | | |
| + | Start a terminal. | ||
| + | {{pre2|scroll| | ||
| + | cd ~/Projects/Slicer-SuperBuild | ||
| + | make -j<NUMBEROFCORES>}} | ||
| + | | valign="top" | | ||
| + | Start Windows Explorer. [http://www.wikihow.com/Open-Windows-Explorer Need help?] | ||
| + | <ol start="1" style="list-style-type: decimal;"> | ||
| + | <li>Open <code>Slicer-SuperBuild\Slicer.sln</code> in Visual Studio</li> | ||
| + | <li>Select build configuration. Usually '''Release''' of '''Debug'''</li> | ||
| + | <li>Select menu <code>Project -> Build Solution</code></li> | ||
| + | </ol> | ||
| − | + | If you make local changes to Slicer, open the solution file located in the directory <code>Slicer-SuperBuild/Slicer-build</code> instead. You should then be able to either build all projects or just a specific one. | |
| − | + | |} | |
| − | |||
| − | |||
| − | |||
| − | |||
Revision as of 02:25, 15 June 2013
Home < Documentation < Nightly < Developers < Build Instructions < Compile
|
For the latest Slicer documentation, visit the read-the-docs. |
BUILD Slicer
After configuration, start the build process in the Slicer-SuperBuild directory
| Linux or MacOSX (Makefile) | Windows (Visual Studio) |
|---|---|
|
Start a terminal. cd ~/Projects/Slicer-SuperBuild make -j<NUMBEROFCORES> |
Start Windows Explorer. Need help?
If you make local changes to Slicer, open the solution file located in the directory |