In the SourceMods directory, which subdirectory should I put them in ? src.drv or src.share ? And I will consider using git later.You can put them in the SourceMods directory but my suggestion would be to keep them in the source tree and create a git fork so that your changes are under version control. SourceMods is a mechanism that predates the use of git with cesm.
Ok I will check that. Thank you very much!I think that they would go in src.share but you should confirm by checking the build logs after compiling.