Difference between revisions of "Documentation/Nightly/Developers/Build Instructions/Compile"
From Slicer Wiki
(4.1 -> Nightly) |
m |
||
Line 1: | Line 1: | ||
== BUILD Slicer4 == | == BUILD Slicer4 == | ||
− | After configuration, start the build process in the <code> | + | After configuration, start the build process in the <code>Slicer-SuperBuild</code> directory |
=== Per-platform instructions=== | === Per-platform instructions=== | ||
==== Windows ==== | ==== Windows ==== | ||
− | * Open <code> | + | * Open <code>Slicer-SuperBuild\Slicer.sln</code> in Visual Studio |
* Select your build configuration. Usually '''Release''' of '''Debug''' | * Select your build configuration. Usually '''Release''' of '''Debug''' | ||
* Build the <code>ALL_BUILD</code> project. | * Build the <code>ALL_BUILD</code> project. | ||
− | * If you make local changes to Slicer4, open the solution file located in the directory <code> | + | * If you make local changes to Slicer4, 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. |
==== Unix-like ==== | ==== Unix-like ==== | ||
− | cd ~/Projects/ | + | cd ~/Projects/Slicer-SuperBuild |
make -j<NUMBEROFCORES> | make -j<NUMBEROFCORES> |
Revision as of 13:08, 13 June 2013
Home < Documentation < Nightly < Developers < Build Instructions < CompileBUILD Slicer4
After configuration, start the build process in the Slicer-SuperBuild
directory
Per-platform instructions
Windows
- Open
Slicer-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
Slicer-SuperBuild/Slicer-build
instead. You should then be able to either build all projects or just a specific one.
Unix-like
cd ~/Projects/Slicer-SuperBuild make -j<NUMBEROFCORES>