Difference between revisions of "Developer Meetings/20170502"

From Slicer Wiki
Jump to: navigation, search
Line 40: Line 40:
 
* Base classes:
 
* Base classes:
 
** c++ bridge [https://github.com/Slicer/Slicer/blob/fba6424b7d48fb4418295105894e317de6e850bf/Base/QTGUI/qSlicerScriptedLoadableModule.h Base/QTGUI/qSlicerScriptedLoadableModule.h]
 
** c++ bridge [https://github.com/Slicer/Slicer/blob/fba6424b7d48fb4418295105894e317de6e850bf/Base/QTGUI/qSlicerScriptedLoadableModule.h Base/QTGUI/qSlicerScriptedLoadableModule.h]
** python base [https://github.com/Slicer/Slicer/blob/fba6424b7d48fb4418295105894e317de6e850bf/Base/Python/slicer/ScriptedLoadableModule.py Base/QTGUI/ScriptedLoadableModule.h]
+
** python base [https://github.com/Slicer/Slicer/blob/fba6424b7d48fb4418295105894e317de6e850bf/Base/Python/slicer/ScriptedLoadableModule.py ScriptedLoadableModule.py]
  
 
* CMake module named [https://github.com/Slicer/Slicer/blob/fba6424b7d48fb4418295105894e317de6e850bf/CMake/SlicerMacroBuildScriptedModule.cmake SlicerMacroBuildScriptedModule.cmake] and provides macro <code>slicerMacroBuildScriptedModule</code>
 
* CMake module named [https://github.com/Slicer/Slicer/blob/fba6424b7d48fb4418295105894e317de6e850bf/CMake/SlicerMacroBuildScriptedModule.cmake SlicerMacroBuildScriptedModule.cmake] and provides macro <code>slicerMacroBuildScriptedModule</code>

Revision as of 14:09, 2 May 2017

Home < Developer Meetings < 20170502



To Discuss

  • Naming convention for Slicer modules. See Appendix below


Conclusion

Appendix

Modules naming convention

In Slicer we have the following modules

Loadable modules

C++

  • Main CMake module named SlicerMacroBuildQtModule.cmake and provides macro slicerMacroBuildLoadableModule (along with deprecated one named slicerMacroBuildQtModule)
  • Proposal: Rename CMake module from SlicerMacroBuildQtModule to slicerMacroBuildLoadableModule

Python

CLI module

C++

  • CMake macro: SEMMacroBuildCLI

Python