On Sun, Nov 11, 2012 at 10:14 AM, JonY <jo...@users.sourceforge.net> wrote:
> On 11/11/2012 16:42, Pau Garcia i Quiles wrote:
>> On Sun, Nov 11, 2012 at 9:26 AM, JonY <jo...@users.sourceforge.net> wrote:
>>
>>> Sounds like they are reinventing autotools.
>>
>> As Ruben says, it's not the case.
>>
>> The main problem with autotools is they do not support Windows. Even
>> with CoApp, autotools support is far from *acceptable* on Windows.
>>
>
> Here I am using autotools to drive MSVC tools.

And it's not easy, or nice.


> You call writing and coding for every possible combination forwards?

Same as autotools: you need to consider all the casuistic for all the
different platforms you want to support out-of-the-box. CMake provides
support for most of those cases, but you will need to write your own
code in some cases.

If the user wants to build on a not-ready-made platform, then he needs
to specify the variable values when calling cmake:

$ cmake -DCMAKE_C_COMPILER=/opt/blah/myccompiler -DCMAKE_SYSTEM_NAME=blah ...

Or the user can create a myplatform.cmake file with all that
information and use it for *every* project that uses CMake:

cmake -DCMAKE_TOOLCHAIN_FILE=/opt/blah/cmake/toolchain.cmake


> Like I said in another email, cmake was too rigid, so autotools is here
> to stay, for better or worst.

I don't know when you tried CMake but it's came a long way since KDE
adopted it (~2006).

I'm not going to argue this anymore, but I stand by my opinion: the
moment you need to support Unix and Windows, and you want niceties
such as easy debugging with Visual Studio, autotools are a nightmare.

-- 
Pau Garcia i Quiles
http://www.elpauer.org
(Due to my workload, I may need 10 days to answer)

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov
_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to