Modify slicer source code. compile,

There are a problem confusing me. I clone the slicer custom application template from GitHub - KitwareMedical/SlicerCustomAppTemplate: Template to be used as a starting point for creating a custom 3D Slicer application. AND, When i modify the source code such as project, project, and commit the modification to git. THEN, I compile the application base on last commit, but the cmake always checkout current commit to the original commit(picture below). How can i modify the project configure to solve this problem? Thanks for reading!git

Normally you don’t modify upstream repositories, such as VTK or Slicer, just repository in your own code. If for some reason you need to modify content of upstream repositories then you can fork them and use your forked repositories.

Also, you normally don’t rebuild the top-level superbuild, just whatever you need. For example, if you modified Slicer source code then you don’t have to rebuild VTK and all other dependencies.

1 Like