Difference between revisions of "Documentation/Nightly/Developers/Build Instructions/Package"

From Slicer Wiki
Jump to: navigation, search
(Move packaging instruction into its own subpage for allow re-use in other page)
 
m (→‎PACKAGE Slicer: CMakePredefinedTargets group)
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
 +
<noinclude>{{documentation/versioncheck}}</noinclude>
 
== PACKAGE Slicer ==
 
== PACKAGE Slicer ==
  
Line 18: Line 19:
 
<li>Open <code>Slicer-SuperBuild\Slicer-build\Slicer.sln</code> in Visual Studio</li>
 
<li>Open <code>Slicer-SuperBuild\Slicer-build\Slicer.sln</code> in Visual Studio</li>
 
<li>Select '''Release''' build configuration.</li>
 
<li>Select '''Release''' build configuration.</li>
<li>In the Solution Explorer, right click on '''PACKAGE''' project and then select '''Build'''</li>
+
<li>In the Solution Explorer, right click on '''PACKAGE''' project in group '''CMakePredefinedTargets''' and then select '''Build'''</li>
 
</ol>
 
</ol>
 
<small>Note: '''PACKAGE''' project can be found in the '''CMakePredefinedTargets''' folder. See [http://slicer-devel.65872.n3.nabble.com/Easier-development-using-Visual-Studio-with-introduction-of-target-folders-td4033427.html here] for more details.</small>
 
<small>Note: '''PACKAGE''' project can be found in the '''CMakePredefinedTargets''' folder. See [http://slicer-devel.65872.n3.nabble.com/Easier-development-using-Visual-Studio-with-introduction-of-target-folders-td4033427.html here] for more details.</small>
 +
 +
[[File:Slicer-vs2013-CMakePredefinedTargets-PACKAGE.png]]
  
 
|}
 
|}

Latest revision as of 16:16, 3 February 2017

Home < Documentation < Nightly < Developers < Build Instructions < Package


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


PACKAGE Slicer

Linux or MacOSX (Makefile) Windows (Visual Studio)

Start a terminal.

$ cd ~/Projects/Slicer-SuperBuild
$ cd Slicer-build

$ make package

Note: Make sure to patch VS2008 using the script fix-vc9-redist-manifests.ps1
Start Windows Explorer. Need help?

  1. Open Slicer-SuperBuild\Slicer-build\Slicer.sln in Visual Studio
  2. Select Release build configuration.
  3. In the Solution Explorer, right click on PACKAGE project in group CMakePredefinedTargets and then select Build

Note: PACKAGE project can be found in the CMakePredefinedTargets folder. See here for more details.

Slicer-vs2013-CMakePredefinedTargets-PACKAGE.png