smrolfe
(Sara Rolfe)
January 27, 2023, 9:19pm
1
I am submitting a new extension: Add MEMOS extension by smrolfe · Pull Request #1908 · Slicer/ExtensionsIndex · GitHub
and would like to understand how the extension names are set in the catalog.
I would like the display name of the extension to be “MEMOS”, and have named to repo to “SlicerMEMOS” according to the guidelines. If the extension description file I submitted is “MEMOS.s4ext”, will the extension catalog show “MEMOS”?
jcfr
(Jean Christophe Fillion Robin (Kitware))
January 27, 2023, 10:30pm
2
The extension name is indeed MEMOS
The extension name is derived from the project name set in the CMakeLists.txt
.
Details
This is confirmed by reviewing the project name defined in the top-level CMakeLists.txt
using project(MEMOS)
.
Indeed, the project name is then used by CMake code associated with include(${Slicer_USE_FILE})
to set the variable EXTENSION_NAME
.
Itself used to define the extension name used to upload the package on the server.
1 Like