Page 1 of 1

Compiled from Source

Posted: Sat May 18, 2013 2:44 pm
by Strategy Thinker
I did it! I did it! - I finally compiled the game from source and made a compiler for the gtk version. I am working on Windows 7, this is the first time I have ever compiled anything from source.

Is there a way to only recompile the parts of the code that I am going to edit - it took a very long time to compile everything.

P.S. I am not exactly sure where to post this.

Re: Compiled from Source

Posted: Sat May 18, 2013 10:09 pm
by cazfi
Strategy Thinker wrote:Is there a way to only recompile the parts of the code that I am going to edit - it took a very long time to compile everything.
That's what 'make' does. It compares timestamps of files to build (object file in case of compiling) and their sources. It rebuilds only if source is newer than already existing target.

Do not reconfigure your tree (configure/autogen.sh) but run only 'make'.

Re: Compiled from Source

Posted: Sun May 19, 2013 3:31 pm
by Strategy Thinker
Thank you, this makes sense - otherwise I am guessing that the Freeciv code would have never have gotten very far because it would take too long to compile.