Discussion:
Wanted: Compile IDE Changed Files
(too old to reply)
unknown
2008-07-29 04:16:26 UTC
Permalink
Suppose you've just changed a bunch of files .cpp and you want to
check whether they still compile. If you invoke the make process then
it is going to check all the files for changes. That takes time. It
would be nicer if the IDE could keep track of which files have changed
during the current session that haven't been compiled since they were
last changed so you could say "Compile Edited Files".

The idea is that you do not waste time with the make process.

What I'd also like to see: In a smarter Make process the IDE could
start compiling the files it knows have changed while running make
logic in the background to identify other files that have changed. In
this era of multi-core PCs serial builds are a lot slower than they
need to be.
JohnC
2008-07-29 11:19:37 UTC
Permalink
Don't forget about dependencies between files.
I have many objects which reference others and include their headers.
The source code file has no way of knowing if some change to one of the
headers will not affect that object.
John

"Randall Parker" <"STOPfutureEVILpundit[at]EVILfuturePOXpunditSPAM[dot]com">
Suppose you've just changed a bunch of files .cpp and you want to check
whether they still compile. If you invoke the make process then it is
going to check all the files for changes. That takes time. It would be
nicer if the IDE could keep track of which files have changed during the
current session that haven't been compiled since they were last changed so
you could say "Compile Edited Files".
Jonathan Benedicto
2008-07-29 20:32:09 UTC
Permalink
What I'd also like to see: In a smarter Make process the IDE could start
compiling the files it knows have changed while running make logic in the
background to identify other files that have changed. In this era of
multi-core PCs serial builds are a lot slower than they need to be.
Interesting idea, though if one is using TwineCompile the benefit of running
the dependency check in a separate process would be reduced because the
actual compilation uses all the cores on the PC.

FWIW, http://www.jomitech.com/twine.php

Jon

Continue reading on narkive:
Loading...