[Python-ideas] Cmake as build system

André Freitas p.andrefreitas at gmail.com
Sat May 23 13:00:22 CEST 2015


Andrew,
Thanks for sharing your thoughts.

I am trying to write a Cmake file for cpython for those that want to
contribute using Clion IDE and I will put it on a public repository. If it
can be useful for some developers is worth sharing.

Best regards,
André Freitas



Em sáb, 23 de mai de 2015 às 03:08, Andrew Barnert <abarnert at yahoo.com>
escreveu:

> Sorry, meant to include this in my previous reply, but I accidentally cut
> and didn't paste...
>
> Sent from my iPhone
>
> On May 22, 2015, at 17:08, André Freitas <p.andrefreitas at gmail.com> wrote:
>
> Hi,
>
> Thanks for sharing Ryan Gonzalez :)
>
> It just could be another alternative and not a replacement of autotools.
>
>
> If the problem is that the autotools build system is a nightmare to
> maintain, how is having two completely different complex build systems that
> have to be kept perfectly in sync not going to be an even bigger nightmare?
>
> Not only about the cross-platform feature of Cmake but the integration
> with modern IDEs. I really see an improvement in productivity using the IDE
> debugger (e.g Clion) instead of using prints everywhere (
> http://programmers.stackexchange.com/questions/78152/real-programmers-use-debuggers
> ).
>
>
> Why did you link to a question that was migrated and then closed as not
> constructive, and that was written to argue that debuggers are useless, and
> whose contrary answers only talk about command-line debugging rather than
> whether a GUI wrapper can help debugging? That seems to argue against your
> case, not for it...
>
> 2015-05-23 0:48 GMT+01:00 Ryan Gonzalez <rymg19 at gmail.com>:
>
>> HAHAHA!!
>>
>> Good luck! I've raised this issue before. Twice. Autotools sucks. And
>> makes cross-compiling a pain in the neck. Bottom line was:
>>
>> - C++ is a big dependency
>> - The autotools build system has been tested already on lots and lots and
>> lots of platforms
>> - Nobody has even implemented an alternative build system for Python 3
>> yet (python-cmake is only for Python 2)
>> - No one can agree on a best build system (for instance, I hate CMake!)
>>
>>
>> On Fri, May 22, 2015 at 6:08 PM, André Freitas <p.andrefreitas at gmail.com>
>> wrote:
>>
>>> Hi,
>>> What you think about using Cmake build system?
>>>
>>> I see advantages such as:
>>> - Cross-plataform;
>>> - Supported in Clion IDE (amazing C/C++ IDE, breakpoints, etc);
>>> - Simple and easy to use (Zen of Python :)
>>> https://www.python.org/dev/peps/pep-0020/ );
>>>
>>> I was actually seeing a discussion in python-commiters about Windows 7
>>> buildbots failing. Found that someone already had the same idea but don't
>>> know if it was shared here:
>>> http://www.vtk.org/Wiki/BuildingPythonWithCMake
>>>
>>> Please share your thoughts.
>>>
>>> Regards,
>>> André Freitas
>>>
>>> _______________________________________________
>>> Python-ideas mailing list
>>> Python-ideas at python.org
>>> https://mail.python.org/mailman/listinfo/python-ideas
>>> Code of Conduct: http://python.org/psf/codeofconduct/
>>>
>>
>>
>>
>> --
>> Ryan
>> [ERROR]: Your autotools build scripts are 200 lines longer than your
>> program. Something’s wrong.
>> http://kirbyfan64.github.io/
>>
>>
>
>
>
> --
> André Freitas
> p.andrefreitas at gmail.com
> "Imagination is more important than knowledge" - Albert Einstein
> *google+* AndréFreitas92 <https://plus.google.com/+AndréFreitas92>
> *linkedin* pandrefreitas <http://pt.linkedin.com/in/pandrefreitas/>
> *github* andrefreitas <https://github.com/andrefreitas>
> *website* www.andrefreitas.pt <http://andrefreitas.pt>
> Esta mensagem pode conter informação confidencial ou privilegiada, sendo
> seu sigilo protegido por lei. Se você não for o destinatário ou a pessoa
> autorizada a receber esta mensagem, não pode usar, copiar ou divulgar as
> informações nela contidas ou tomar qualquer ação baseada nessas
> informações. Se você recebeu esta mensagem por engano, por favor, avise
> imediatamente ao remetente, respondendo o e-mail e em seguida apague-a.
> Agradecemos a sua cooperação.
>
> _______________________________________________
> Python-ideas mailing list
> Python-ideas at python.org
> https://mail.python.org/mailman/listinfo/python-ideas
> Code of Conduct: http://python.org/psf/codeofconduct/
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20150523/ab03c648/attachment.html>


More information about the Python-ideas mailing list