Extension name vs repo name

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 [1] using project(MEMOS).

Indeed, the project name is then used by CMake code associated with include(${Slicer_USE_FILE}) [2] to set the variable EXTENSION_NAME.

Itself used to define the extension name used [3] to upload the package on the server.


  1. https://github.com/SlicerMorph/SlicerMEMOS/blob/24a02f686adfd7542df3fa14a97097723302bc8c/CMakeLists.txt#L3 ↩︎

  2. https://github.com/Slicer/Slicer/blob/38056565bb247c7affb80fdd0d861197eaa50a31/CMake/UseSlicer.cmake.in#L56-L78 ↩︎

  3. https://github.com/Slicer/Slicer/blob/38056565bb247c7affb80fdd0d861197eaa50a31/Extensions/CMake/SlicerExtensionPackageAndUploadTarget.cmake#L278-L295 ↩︎

1 Like