Thank you for answering.<div><br></div><div><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">
I think that TODO item is pretty outdated, our configure/make based build system is working well for us and is flexible enough too. I am not sure how good CMake is for cross compiling to the more strange platforms out there. Apart we have create_project nowadays, which can create MSVC project files out of our configure/make based build system and furthermore features a more sane project layout than CMake did last time I used it.<br>
<br>Personally I see no big use for a CMake based build system now, especially when it would be an additional system to use, since that would require us to maintain two systems (again). Maybe others have a different opinion here though.</blockquote>
<div><br></div><div>If your make system is good enough I also find it isn't needed. I assumed you needed to maintain separated build systems for different platforms. I was intending to provide a general substitution, not another system to maintain.</div>
<div><br></div><div>As far as I know, CMake supports natively Windows, Linux, Mac, and Symbian. I've also seen projects building for iPhone and Android. I assume the other platforms can be ported/adapted for CMake too. (Note: It seems WinCE too, not officially:</div>
<div><br></div><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">
 <span class="Apple-style-span" style="font-family: sans-serif; font-size: 13px; line-height: 19px; ">The WinCE port of <a href="http://webkit.org/" class="external text" rel="nofollow" style="text-decoration: none; color: rgb(51, 102, 187); background-image: url(http://www.vtk.org/Wiki/skins/monobook/external.png); background-attachment: initial; background-origin: initial; background-clip: initial; background-color: initial; padding-top: 0px; padding-right: 13px; padding-bottom: 0px; padding-left: 0px; background-position: 100% 50%; background-repeat: no-repeat no-repeat; ">WebKit</a> uses a patched version of CMake to generate project files (see <a href="http://trac.webkit.org/wiki/WinCE#CMake" class="external text" rel="nofollow" style="text-decoration: none; color: rgb(51, 102, 187); background-image: url(http://www.vtk.org/Wiki/skins/monobook/external.png); background-attachment: initial; background-origin: initial; background-clip: initial; background-color: initial; padding-top: 0px; padding-right: 13px; padding-bottom: 0px; padding-left: 0px; background-position: 100% 50%; background-repeat: no-repeat no-repeat; ">WebKit Wiki</a>). </span></blockquote>
<div><br></div><div>Another benefit is packaging, as once the project is configured with CMake is "easy" for CMake to package it as you like: NSIS, deb, rpm, tar, zip, tgz,</div><div> </div><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">
<span class="Apple-style-span" style="border-collapse: collapse; color: rgb(80, 0, 80); font-family: arial, sans-serif; font-size: 13px; "><blockquote type="cite"><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">
- The header templates (which macros to be set: names and values or where to find them). </blockquote></blockquote></span></blockquote><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">
<span class="Apple-style-span" style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; ">I am not sure what you mean by header templates, but maybe this is what you are looking for: <a href="http://wiki.scummvm.org/index.php/Defines" target="_blank" style="color: rgb(0, 0, 204); ">http://wiki.scummvm.org/index.php/Defines</a>?</span> </blockquote>
<div><br></div><div>I was mainly referring to that, thank you. I was specifically talking about <a href="http://version.h.in">version.h.in</a> and the <a href="http://config.h.in">config.h.in</a> which are created or populated in configure step. </div>
<div><br></div><div>All that was to explain my motives. Obviously if you are happy and comfortable with your system the best is to keep it as it is :).</div><div><br></div><div>Hear from you soon,</div><div>Miguel</div><div>
<br></div><div class="gmail_quote">2011/5/5 Johannes Schickel <span dir="ltr"><<a href="mailto:lordhoto@scummvm.org">lordhoto@scummvm.org</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">


  
    
  
  <div bgcolor="#ffffff" text="#000000">
    Seems so far nobody replied to this, so I'll do it now.<div class="im"><br>
    <br>
    <br>
    On 04/29/2011 01:24 PM, Miguel Bernabeu wrote:
    <blockquote type="cite">I've been using ScummVM for a while and wanted to
      contribute to the project. I found a mention to CMake support in
      your TODO list in the wiki and decided to try to tackle it as I've
      been using basic CMake for a while now. I posted on the forums and
      Julien addressed me here.
      <div>
        <br>
      </div>
    </blockquote>
    <br></div>
    I think that TODO item is pretty outdated, our configure/make based
    build system is working well for us and is flexible enough too. I am
    not sure how good CMake is for cross compiling to the more strange
    platforms out there. Apart we have create_project nowadays, which
    can create MSVC project files out of our configure/make based build
    system and furthermore features a more sane project layout than
    CMake did last time I used it.<br>
    <br>
    Personally I see no big use for a CMake based build system now,
    especially when it would be an additional system to use, since that
    would require us to maintain two systems (again). Maybe others have
    a different opinion here though.<div class="im"><br>
    <br>
    <blockquote type="cite">
      <div>In the TODO list it says you want to test if it's worth it so
        my idea is to provide you a very minimal CMake build for some
        games (Fly of the Amazon Queen and Beneath a Steel Sky which can
        be freely downloaded to test) and Linux only and let you see if
        you want to expand it further or drop it. My work is on github <a href="https://github.com/miguelbernadi/scummvm/tree/CMake" target="_blank">https://github.com/miguelbernadi/scummvm/tree/CMake</a> <br>
        <br>
        Things I need to know: <br>
        - Need to know all dependencies, I have several listed but I
        would need a complete list (I couldn't find one) <br>
      </div>
    </blockquote>
    <br></div>
    The configure script should contain a list of all supported external
    libraries.<div class="im"><br>
    <br>
    <blockquote type="cite">
      <div>- Which dependencies are a MUST have and which are optional. 
        
        <-- Right now I think is SDL only<br>
      </div>
    </blockquote>
    <br></div>
    That pretty much depends on the system you compile for, but for Unix
    and Windows SDL should be the only real requirement yes.<div class="im"><br>
    <br>
    <br>
    <blockquote type="cite">
      <div>- How many and which config options are desirable. <-- For
        users building and for developers in Advanced Properties<br>
      </div>
    </blockquote>
    <br></div>
    If we want a CMake system probably the same as our configure script
    offers.<div class="im"><br>
    <br>
    <blockquote type="cite">
      <div>- The header templates (which macros to be set: names and
        values or where to find them). <br>
        <br>
      </div>
    </blockquote>
    <br></div>
    I am not sure what you mean by header templates, but maybe this is
    what you are looking for: <a href="http://wiki.scummvm.org/index.php/Defines" target="_blank">http://wiki.scummvm.org/index.php/Defines</a>
    ?<br>
    <br>
    // Johannes<br>
  </div>

<br>------------------------------------------------------------------------------<br>
WhatsUp Gold - Download Free Network Management Software<br>
The most intuitive, comprehensive, and cost-effective network<br>
management toolset available today.  Delivers lowest initial<br>
acquisition cost and overall TCO of any competing solution.<br>
<a href="http://p.sf.net/sfu/whatsupgold-sd" target="_blank">http://p.sf.net/sfu/whatsupgold-sd</a><br>_______________________________________________<br>
Scummvm-devel mailing list<br>
<a href="mailto:Scummvm-devel@lists.sourceforge.net">Scummvm-devel@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/scummvm-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/scummvm-devel</a><br>
<br></blockquote></div><br></div>