[Python-ideas] Cmake as build system

Andrew Barnert abarnert at yahoo.com
Sat May 23 03:45:22 CEST 2015


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. 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).

What's stopping you from using an IDE debugger? I've run CPython itself or other similarly complex projects under Xcode, Eclipse, Visual Studio, WinDebug, ggdb, and other graphical debuggers without them having to understand how the code got built. If Clion can't do the same, that sounds like a problem with Clion.

(Although personally, I usually find it easier to debug interpreters or other complex CLI programs just running gdb/lldb/whatever on the terminal.)

> 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 
> linkedin pandrefreitas 
> github andrefreitas
> website www.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/20150522/29a07493/attachment-0001.html>


More information about the Python-ideas mailing list