How to get an Eclipse CDT project to auto-relaod a .c file that has been externally modified -
i'm using ruby script generate .c file based on .c file (for test harness called unity). script runs using pre-build option, updates file, cproject doesn't see upadted file being touched doesn't rebuild it. using f5 updates i'd manually. can't see how make happen. pointers welcome.
i had same issue generating c file python script.
what ended doing create special builder file.
if go project properties, go on builders
tab , click new
. select program
. can fill information there. important part go on refresh
tab , select refresh resources upon completion
.
i found useful unselect stdio ("allocate console" in build options tab) doesn't clear console after build.
the drawback of method builder doesn't pick-up dependencies , called time.
Comments
Post a Comment