additionalLauncherSettings.ini missing

Hello six month ago i developped an extension. I used the 3d Slicer source version of 25/07/2019.

A collegue of mine tried to compile and launch it. He took the lastest stable 3D Slicer source. He manage to compile it and also my extension. But he can’t launch my extension because AdditionalLauncherSettings.ini is missing. For some unknown reason AdditionalLauncherSettings-configure.cmake is not generated while doing cmake and therefore AdditionalLauncherSettings.ini is not builded. We are currently out of ideas.

Could it be because he used a more recent build of 3D slicer ? Have any hints ?

AdditionalLauncherSettings is just a convenience and in most cases you don’t need to use it. You can just add your extension DLLs to additional module paths in Slicer application settings / Modules.

Anyway, if additional launcher settings file is not generated using latest preview release (not the stable) then let us know.

We followed to instructions :

So we just cloned the repo : git:// (after it was merged yesterday if i’m correct) and additional launcher settings file is not generated when compiling extension linked with this version of 3D Slicer.

Compare your extension to the current extension/module templates. Maybe you have missed adding include(${Slicer_EXTENSION_GENERATE_CONFIG}) to your top-level CMakeLists.txt file.

This does seem to be a problem in the latest nightly.

Neither Sequences nor SlicerIGSIO generated an AdditionalLauncherSettings.ini when compiled against the current version of Slicer.

I confirm, this happens also in linux.

This is a regression due to a recent change. I’ve pushed a fix.