CMakePresets.json isn't a dependency of the generated build system, so after switching model running cmake --build --preset=... keeps building the old one from the cache. n_tor/n_period/with_vpar behaves differently since they live in mod_settings.f90 and trigger an automatic reconfigure through CMAKE_CONFIGURE_DEPENDS.
CMakePresets.jsonisn't a dependency of the generated build system, so after switching model runningcmake --build --preset=...keeps building the old one from the cache. n_tor/n_period/with_vpar behaves differently since they live in mod_settings.f90 and trigger an automatic reconfigure through CMAKE_CONFIGURE_DEPENDS.