[PATCH] cmake GiGi build tests option

Programmers discuss here anything related to FreeOrion programming. Primarily for the developers to discuss.

Moderator: Committer

Post Reply
Message
Author
raptor
Space Squid
Posts: 87
Joined: Sat Jun 02, 2012 11:29 pm

[PATCH] cmake GiGi build tests option

#1 Post by raptor »

Hi,

This patch is for not making the GiGi tests mandatory, as well as make sure they are dependent on SDL.

[The extension diff has been deactivated and can no longer be displayed.]


zhur
Space Floater
Posts: 38
Joined: Thu Aug 09, 2012 8:15 am

Re: [PATCH] cmake GiGi build tests option

#2 Post by zhur »

Hey, what's the problem with those tests? Why it is useful to disable them? Also seems like they are not strictly dependent on SDL.
Other than this, the patch works fine! :D

raptor
Space Squid
Posts: 87
Joined: Sat Jun 02, 2012 11:29 pm

Re: [PATCH] cmake GiGi build tests option

#3 Post by raptor »

Building on a system without SDL headers will fail when it hits time to compile the tests. This is why I made them optional like the tutorials.

Post Reply