How to set the .ini file's entries beofre build?

Victor_Wayne
Fri, 14 Nov 2025 10:21:17 +0000
Development

Hello,

I am currently using `slicer.app.slicerUserSettingsFilePath()` function to get the .ini file path when slicer is running and setting some entries. For example I set NumberOfFilesToKeep entry in the logging section. My question is how can I make slicer set the default default settings entries when I build it? Do I need to edit the cmake files?

Any help will be appreciated.

Thanks in advance.

1 post - 1 participant

Read full topic