I noticed that when compiling a project, Pelles C creates some files and folder like project_name.ppx, project_name.tag, output/source_file.obj, etc.
Here's an tree view of my project files:
bin /
build /
src /
| source_file.c
project_name.ppj
And here's how it looks after I compile it:
bin /
build /
output/
| source_file.obj
src /
| source_file.c
project_name.exe
project_name.ppj
project_name.ppx
project_name.tag
Is there anyway to change these generated files locations, including the resulting .exe, to their specific folders? For example:bin /
| project_name.exe
build
| source_file.obj
| project_name.ppx
| project_name.tag
src /
| source_file.c
project_name.ppj
I also don't know if this is a good thing to do, if it isn't what can and should I do? Maybe a command line command?
My plan was to reference the build folder inside a .gitignore file, so I don't need to worry about cleaning everytime.
Okay, I managed to choose the .obj and .exe locations by deleting the project file, and in the "New Project" dialog, click on "Advanced" and choosing the "Output" and "Result" folders.
How about the .ppx and .tag files though? Is it better to keep them there?
Those .ppx and .tag files are always created after deletion, so it's possible to make an Add-In to delete those files when closing project.
I personally like to keep PellesC files inside a sub-folder under a project main folder, so i still wait support for that.
\src
.c
.h
.rc
\PellesC
.ppw
.ppj
.ppx
.tag