This project aims to facilitate the conversion of Visual Studio solution to CMake projects. The goal is to give to a Python script, a *.sln file, and output a set of CMakeLists.txt that may be used for generating visual studio solution backward as perfect as possible. Project is useful for porting VS projects into crossplatform CMake build system.
Note : Actually, it's only works with ``C/C++``(*.vcxproj) and ``Fortran``(*.vfproj) projects.
You may have Python3 installed to make this library works !
Install cmake-converter as a standard python library:
# If you're under Windows, use "pip" instead "pip3" pip3 install cmake_converter
Simply clone this repository and type the following command to install it:
# Inside repository folder. If you're under Windows, use "pip" instead "pip3" pip3 install .
After install library, just run the script as below. Your *.sln
file is of course required:
cmake-converter -s <path/to/file.sln>
Documentation for CMake Converter is available on Read The Docs.
Contributions to this project are welcome and encouraged ... Issues in the project repository are the common way to raise an information.
Note: if you have an issue, please provide me if possible the visual studio project involved.
If you're looking for QMake to CMake, please look at qmake2cmake by digitalist.