[Kde-games-devel] Re: A Thought About The Version Control System

Wolfgang Rohdewald wolfgang at rohdewald.de
Wed Apr 13 20:08:29 CEST 2011


On Mittwoch 13 April 2011, Frederik Schwarzer wrote:
> From what I remember it seemed that there was a slight
> preference on split repos

there is one aspect not mentioned yet

right now the CMakeLists.txt of a single game expects
to be called from kdegames/CMakeLists.txt - it is not
apparent how to cmake build a game separately. If
every game has its own repo, I expect this to change.

the kde on windows port is trying this - make installers
for single KDE applications. There are two GSoC projects
about this

http://www.google-melange.com/gsoc/proposal/review/google/gsoc2011/costashsrc/1
http://www.google-melange.com/gsoc/proposal/review/google/gsoc2011/tudalex/1

and stand-alone executable CMakeLists.txt would certainly
help there

of course this is also orthogonal to splitting into repo
per game but it matches the repo per game scenario better, IMHO.

Actually kajongg can already be cmake built separately with
this patch from one year ago - that could certainly be done
with all games.

--- a/kajongg/CMakeLists.txt                                                                                                                                       
+++ b/kajongg/CMakeLists.txt                                                                                                                                       
@@ -1,5 +1,7 @@                                                                                                                                                    
 # search packages used by KDE                                                                                                                                     
-find_package(KDE4 REQUIRED)                                                                                                                                       
+IF(NOT KDE4_FOUND)                                                                                                                                                
+     find_package(KDE4 REQUIRED)                                                                                                                                  
+ENDIF(NOT KDE4_FOUND)                                                                                                                                             
 include(FindPythonLibrary)                                                                                                                                        
 include(FindPyQt4)                                                                                                                                                
 include(FindPyKDE4)                                                                                                                                               

-- 
Wolfgang


More information about the kde-games-devel mailing list