Help compiling/building armagetronad source

What do you want to see in Armagetron soon? Any new feature ideas? Let's ponder these ground breaking ideas...
compiler_q
On Lightcycle Grid
Posts: 12
Joined: Fri Aug 05, 2011 4:41 am

Re: Help compiling/building armagetronad source

Post by compiler_q »

well, I deleted everything, then did another svn checkout to restart fresh, followed all the steps this time, and now tTrueVersion.h doesn't even exist. I'm guessing it should be here:
https://armagetronad.svn.sourceforge.ne ... ronad/src/

but it's not.. what's up with that?
User avatar
Z-Man
God & Project Admin
Posts: 11589
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne
Contact:

Re: Help compiling/building armagetronad source

Post by Z-Man »

You forgot to run update_version.bat?
compiler_q
On Lightcycle Grid
Posts: 12
Joined: Fri Aug 05, 2011 4:41 am

Re: Help compiling/building armagetronad source

Post by compiler_q »

yes I was just coming back here to say that. the build finished successfully no errors no warning and the game works !!

it's so awesome lol now just one question

it takes like 40 minutes or more for the thing to compile,

so if I want to make a single code change, is there a faster method to recompile just that part and update the game or do I have to redo it all and wait another 40 min? thanks! you're a genius zeus man
epsy
Adjust Outside Corner Grinder
Posts: 2003
Joined: Tue Nov 07, 2006 6:02 pm
Location: paris
Contact:

Re: Help compiling/building armagetronad source

Post by epsy »

Yes, that is done automatically.
User avatar
Z-Man
God & Project Admin
Posts: 11589
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne
Contact:

Re: Help compiling/building armagetronad source

Post by Z-Man »

Yep. Also, you can speed things up by only selecting the compile target you want: you don't have to do a "Build Workspace" every time, activate the Armagetron Advanced project (the one at the bottom) and, if you want to debug, just the debug configuration. Then just build that project.
compiler_q
On Lightcycle Grid
Posts: 12
Joined: Fri Aug 05, 2011 4:41 am

Re: Help compiling/building armagetronad source

Post by compiler_q »

what do you guys mean it's done automatically?

you said it's done automatically then you said I just compile the updated section instead of the whole workspace..

so just to be clear, I can't edit a line of code in the .cpp or .h files, save it, then run the already compiled game and it be updated, right?
Post Reply