Must I really recompile the entire project?
by Josiah Wang · in Technical Issues · 01/12/2005 (1:11 pm) · 9 replies
Call me a noob (cuz I am), but if I make just a one line change in my code, do I really have to recompile my whole project? I'm currently using the TorqueBuildEnvironment....if I wanted to only recompile that section, is there some way I could do so?
thanks!
thanks!
#2
01/12/2005 (1:28 pm)
Hrm...so how would I accomplish this? I'm thinking to just do a plain 'make', and not do a make clean?
#3
01/12/2005 (1:43 pm)
Bingo!
#4
01/12/2005 (2:07 pm)
'make clean' deletes all the intermediate files from the compliation process. You should only have to make clean when you suspect that you're getting stale compiled code because something isn't recompiling when it should.
#5
01/12/2005 (5:11 pm)
Doh - should've known what make clean does x.x sorta obvious....thanks!
#6
07/27/2005 (4:00 am)
I know this is an old thread but it is related. I compiled the SDK fine in TBE. I know replaced some of the files with the ones from the TelnetDebugger resource. Now i assume all I need to do is "make" to incorparate the new changes (sorry if this is all wrong and/or making no sence, I am very new to all of this) into the .exe. However I can't find the Make option! Can anyone help me out? Thanks in advance.
#7
07/27/2005 (5:11 am)
I haven't used TBE so I can't help you with finding the make command, but you will need to do a make clean rather than just a make. The Telnet Debugger changes a header file, and more specifically the number of params on a function.
#8
07/27/2005 (5:16 am)
Ah ok, thankyou, though I still can't find where to make or make clean lol. I see options to build make target and create make target but I have no idea what that means or what your ment to do! Can anyone familiar with TBE help me out?
#9
haven't played around with TBE in awhile, been messing with PHP....sorry X_X
07/29/2005 (8:38 am)
/me believes it's the build make target...select the Torque projecthaven't played around with TBE in awhile, been messing with PHP....sorry X_X
Associate Orion Elenzil
Real Life Plus
but i'm sure it wouldn't recompile the whole thing.
That's what Makefiles are all about.
It should recompile only the files which are affected by your change.
note - if you change a .h file,
any other file which #includes that .h file will need to be recompiled.
So if you change say "included_pretty_much_everywhere.h",
then yeah, pretty much the whole project will recompile.