Different Derived Data Caches for different projects

Is there a way to change the local derived data cach automatic when open a project? It would be nice to have a different derived data cache for each project. I can do this when I change the local derived data cache for the engin version and then open my projects. But i had to change this path every time I switch the project.

Open BaseEngine.ini > UnrealEngineVersion\Engine\Config\BaseEngine.ini

  1. Find: [InstalledDerivedDataBackendGraph]

  2. Change: Path="%ENGINEVERSIONAGNOSTICUSERDIR%DerivedDataCache"

  3. to: Path="%GAMEDIR%LocalDerivedDataCache"

  4. All cache will be saved in to directory of your project