VitalElement / VEStudio

0 stars 0 forks source link

Monitor for changes in headers - allow for recompile if a header changed #21

Closed danwalmsley closed 9 years ago

danwalmsley commented 9 years ago

Currently if a header changes that module wont get recompiled, you can end up with a program that links and cant work out why the hell it wont run, only a clean and rebuild solves it.

danwalmsley commented 9 years ago

I am suggesting we start relying on make, and generate make files from projects... then standalone devs can also build the projects... tests could also be run from command line if required.

danwalmsley commented 9 years ago

ahhh finally. added -MMD -MP flags to compile command, this compiles and adds a list of dependencies to a list in .D file, (output next to the .o file.) Then the standard toolchain looks through the list and sees if any file has been modified since the last compile time.