Difference between revisions of "Slicer3:Build/Modules"

From NAMIC Wiki
Jump to: navigation, search
(New page: ==News== * 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...)
 
Line 48: Line 48:
 
* make an installation package
 
* make an installation package
 
* upload to web site
 
* 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)
 +
 +
MESSAGE("STATUS: ${status}")
 +
</pre>
 +
 +
This should display: <tt>STATUS: 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.

Revision as of 17:56, 7 February 2008

Home < Slicer3:Build < Modules

News

  • 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 was added in the CVS HEAD: FILE DOWNLOAD:

 file(DOWNLOAD url file [TIMEOUT timeout] [STATUS status] [LOG log])

Example:

FILE(DOWNLOAD 
     "http://rss.slashdot.org/Slashdot/slashdot" 
     "${CMAKE_CURRENT_SOURCE_DIR}/slashdot_rss.xml" 
     STATUS status)

MESSAGE("STATUS: ${status}")

This should display: STATUS: no error and output the contents of the Slashdot.org RSS feed in the slashdot_rss.xml XML file.