Difference between revisions of "Slicer3:Build/Modules"

From NAMIC Wiki
Jump to: navigation, search
m (Text replacement - "http://www.slicer.org/slicerWiki/index.php/" to "https://www.slicer.org/wiki/")
 
(13 intermediate revisions by 3 users not shown)
Line 1: Line 1:
==News==
+
<big>'''Note:''' We are migrating this content to the slicer.org domain - <font color="orange">The newer page is [https://www.slicer.org/wiki/Slicer3:Build/Modules  here]</font></big>
 
 
* TCON Monday 01/28/08: Steve Pieper, Terry G Lorber 2nd, Alex Yarmarkovich, Sebastien BARRE
 
 
 
==Preliminary Design==
 
 
 
Things that the module's (XML) description should be able to tell:
 
* Name
 
* Group
 
* Description
 
* Source Location
 
* Home Page
 
* Dependencies (on other Groups or Modules and what versions and/or options)
 
* Version #
 
[and maybe:]
 
* Icon
 
* Author(s)
 
* Acknowledgment(s)
 
 
 
==Module Groups==
 
 
 
* Base
 
* Segmentation
 
* Registration
 
* Filtering
 
* Diffusion Imaging/Tractography
 
* Modeling
 
* Meshing
 
* Image Guided Therapy
 
* Rendering
 
* Radiation Treatment
 
* Microscopy
 
* Astronomy
 
* Utilities
 
* Databases (XCEDE?)
 
* Other
 
 
 
==Misc.==
 
 
 
Options users might want to specify when building:
 
 
 
* src install vs. binary download
 
* version #'s of libs (e.g. cvs tags or branches to use)
 
* release build vs debug build
 
* clean rebuild
 
* update/refresh libraries
 
* run tests and submit to dashboard
 
* make an installation package
 
* upload to web site
 
 
 
==Downloadable Modules==
 
 
 
XML files describing modules will be retrieved online automatically. A new CMake sub-command [http://public.kitware.com/cgi-bin/viewcvs.cgi/Source/cmFileCommand.h?root=CMake&r1=1.32&r2=1.33 was added] in the CVS HEAD: [http://public.kitware.com/cgi-bin/viewcvs.cgi/Source/cmFileCommand.h?root=CMake&view=markup FILE] DOWNLOAD:
 
  file(DOWNLOAD url file [TIMEOUT timeout] [STATUS status] [LOG log])
 
 
 
Example:
 
<pre>
 
FILE(DOWNLOAD
 
    "http://rss.slashdot.org/Slashdot/slashdot"
 
    "${CMAKE_CURRENT_SOURCE_DIR}/slashdot_rss.xml"
 
    STATUS status)
 
 
 
LIST(GET status 0 status_code)
 
LIST(GET status 1 status_string)
 
 
 
MESSAGE("STATUS Code = ${status_code}, STATUS string = ${status_string}")
 
</pre>
 
 
 
This should display: <tt>STATUS Code = 0, STATUS String = "no error"</tt> and output the contents of the [http://slashdot.org/ Slashdot.org] RSS [http://rss.slashdot.org/Slashdot/slashdot feed] in the <tt>slashdot_rss.xml</tt> XML file.
 

Latest revision as of 18:06, 10 July 2017

Home < Slicer3:Build < Modules

Note: We are migrating this content to the slicer.org domain - The newer page is here