Hi Jean,

If that would be implemented, a python (or any other language) interpreter
would be included in CMake. However, Brad have a problem with that approach.

On Thu, Jan 12, 2017 at 7:28 PM, Jean-Michaël Celerier <
jeanmichael.celer...@gmail.com> wrote:

> (My simple user opinion):
>
> I'm not a fan of the idea.
> Not particularly because of Python, but because with this, now
> if I want to use a library that someone made with a CMakeLists.py in my
> project
> (for instance as a submodule) :
> * I also have to install Python on the machines where the build happens,
> * tell my users to install Python,
> * add it to their PATH...
>
> Many already have trouble just installing and running CMake, and this adds
> another
> potential layer of complexity, and a fragmentation of the ecosystem.
> Unless CMake would ship with its own Python interpreter ?
>
> I know, this is a non-problem on Linux and OS X (or is it ? On my machine
> /usr/bin/python is python 3 but on others it is python 2),
> but there are some poor people out there stuck with Windows machines, and
> I wouldn't like their lives to be even harder.
>
> Best regards
> Jean-Michaël
>
> On Wed, Jan 11, 2017 at 10:23 PM, Shmuel H, <shmuelhcm...@gmail.com>
> wrote:
>
>> Hello,
>>
>> First of all, I have been using CMake for a few years now, it is awesome
>> tool, thank you.
>>
>> The only problem I currently have with CMake is its language, which has
>> not really intended to be one. After reading a few endless discussions
>> about this topic, I decided to give it a try and do something practical.
>>
>> My current design is using Python as an extension for the regular
>> CMakeLists.txt files: if there is a CMakeLists.py file, it would be loaded.
>>
>> It should not be too hard to maintain, the current API design uses only
>> 1-3 function that should be implemented in cmake.
>>
>> For more information, see the [closed] merge request #389
>> <https://gitlab.kitware.com/cmake/cmake/merge_requests/389>.
>>
>> I would be happy to hear your opinion about this idea.
>>
>> Best regards,
>> Shmuel H.
>>
>> --
>>
>> Powered by www.kitware.com
>>
>> Please keep messages on-topic and check the CMake FAQ at:
>> http://www.cmake.org/Wiki/CMake_FAQ
>>
>> Kitware offers various services to support the CMake community. For more
>> information on each offering, please visit:
>>
>> CMake Support: http://cmake.org/cmake/help/support.html
>> CMake Consulting: http://cmake.org/cmake/help/consulting.html
>> CMake Training Courses: http://cmake.org/cmake/help/training.html
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Follow this link to subscribe/unsubscribe:
>> http://public.kitware.com/mailman/listinfo/cmake-developers
>>
>
>
-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake-developers

Reply via email to