Can CMake generate Python projects for Visual Studio 2017?
I can generate them manually but prefer to automate it using CMake.
CMake currently doesn't have support for such a generator (available generators are documented here)
Would you like to eventually share and discuss the idea with the CMake team and potentially help integrate such a feature into CMake ? If yes, I could help you and guide you through the process.
I also wonder if creating a cookiecutter template for a python project allowing to build compiled extension by leveraging CMake (thanks to scikit-build) wouldn't be a viable solution too ?
-
given generator list says it supports
Visual Studio 2017
but does not mention which languages are supported that supported byVisual Studio 2017
. Is there any documentation regarding that? – miradham Aug 3 '18 at 14:04 -
Good point, here is a merge request trying to clarify the type of project supported by the generator. Let us know what you think. See gitlab.kitware.com/cmake/cmake/merge_requests/2262 – J-Christophe Aug 5 '18 at 2:50
-
Also here is the CMake issue where the support for Visual Studio Python Project is being discussed. See gitlab.kitware.com/cmake/cmake/issues/17956 – J-Christophe Aug 5 '18 at 2:51