I wanted to change the default module and the default favorite module. I changed the two macros and deleted the slicer.ini file

Somewhere else is the vtkslicerconfigure.h file rewritten

You need to change these variables in CMake and then configure and build Slicer. The .h header file content is generated automatically from the CMake variables, so any changes that you make in them may be overwritten at the next build.

Is this the file

I rebuilt slicer, but it didn’t seem to work

You can set CMake variables when you configure the project in CMake (either using the GUI or by using -Dname:type=value command-line arguments).

1 Like

Okay, I know what to do thank you