Latest Posts

Topic: Beginning Development for Widelands

Gasimzada

Topic Opener
Joined: 2010-12-24, 01:19
Posts: 4
Ranking
Just found this site
Posted at: 2010-12-24, 01:31

Hello, I want to start helping in developing widelands. I have played the game for a week to see whats going on. After feeling comfortable about the game I've downloaded the source and compiled successfully the source code. I have read the source code and understood how it works. Now, I want to add/change some things to the game to prove myself that I understood it but I ran into a problem when I want to compile the parts of source code and create an object and compile the objects rather than compiling the whole project again again. it tells me that "couldn't find config.h" (after looking up the directory i found out that there is a "config.h.cmake"). What should i do? Is there any way to compile newly added files to the application?

Thanks, Gasimzada Gasim

P.S its my first post in this forum so please change move it if its not the right category to post it.


Top Quote
QCS

Joined: 2009-12-29, 21:47
Posts: 256
Ranking
Tribe Member
Posted at: 2010-12-24, 10:05

That's one of the 'limits' of cmake.

You have to run the cmake command again, then make.


CMake is evil.

Top Quote
Gasimzada

Topic Opener
Joined: 2010-12-24, 01:19
Posts: 4
Ranking
Just found this site
Posted at: 2010-12-26, 03:32

Ok. Thanks.


Top Quote