Difference between revisions of "Slicer3:Module Building"
From NAMIC Wiki
TerryLorber (talk | contribs) (New page: === ExampleModule.txt === Create this file alongside vtkExampleModuleGUI and vtkExampleModuleLogic. It's contents are key:value pairs describing the module. It's also used to configure...) |
(No difference)
|
Revision as of 15:01, 29 April 2008
Home < Slicer3:Module BuildingExampleModule.txt
Create this file alongside vtkExampleModuleGUI and vtkExampleModuleLogic. It's contents are key:value pairs describing the module. It's also used to configure build-time module selection. For loadable module support the following entries are used:
Name: Example GUIName: ExMod Dependency: Other Dependency: Another
CMakeLists.txt
In order to create the necessary source files to enable an module to be discovered at run-time, use the GENERATELM macro in the module's CMakeLists.txt file:
GENERATELM(ExampleModule_SRCS ExampleModule.txt)