I don’t know what path source I must use in the cmake command: the path source of Slicer or the path source of the directory of the generated template.
You can make changes anytime and then need to build the application again to make the changes have an effect. You don’t need to rebuild from scratch, so these builds will take just a few minutes and not hours.