You could set up a .dir-locals.el [1] with your project-specific settings. That would allow you to specify config settings and even project-specific commands for a given directory.
[1]: https://www.gnu.org/software/emacs/manual/html_node/emacs/Directory-Variables.html