Keep the compiled files away from source code lazarus / 13-General ---------------------------------------------------------------------- Nafees · 2016-02-23 15:34 I want Lazarus to keep all the compiled files, like the ones that the compiler generates, or simply aren't a part of the code, in a separate folder. I use source control (GIT GUI) and it is a mess to look for the pas and lfm files in the long list of staged files. I've looked for an option in the options but there isn't any. ---------------------------------------------------------------------- wp · 2016-02-23 15:41 "Project" / "Project Options" / "Compiler options" / "Paths" / "Unit output directory". It's best to use a relative path (which is understood to be relative to the lpi file); a usual value is "units\$(TargetCPU)-$(TargetOS)". You may also look at the line "Target file name" to specify the folder for the executable (plus file name appended, but without exe!). A typical value is "bin\$(TargetCPU)-$(TargetOS)\project1"  (if the project name is "project1"). ---------------------------------------------------------------------- Nafees · 2016-02-23 15:45 Quote from: wp on February 23, 2016, 04:41:36 pm"Project" / "Project Options" / "Compiler options" / "Paths" / "Unit output directory". It's best to use a relative path (which is understood to be relative to the lpi file); a usual value is "units\$(TargetCPU)-$(TargetOS)". You may also look at the line "Target file name" to specify the folder for the executable (plus file name appended, but without exe!). A typical value is "bin\$(TargetCPU)-$(TargetOS)\project1"  (if the project name is "project1"). Thanks a lot! ---------------------------------------------------------------------- molly · 2016-02-23 17:07 Quote from: Nafees on February 23, 2016, 04:34:27 pm... I use source control (GIT GUI) and it is a mess to look for the pas and lfm files in the long list of staged files. ... imho, you're looking at it from the wrong end.  See git ignore. Github also has an article about that. In the end it would be more helpful (for yourself) if you know how to configure your git repository correctly. In case others download your repository, they face the same issue.