This project aims to facilitate the conversion of Visual Studio projects to CMake projects. The goal is to give to a Python script, a .vcxproj file, and output a CMakeLists.txt.
Note : Actually, it's only works with C/C++
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 .vcxproj
file is of course required:
cmake-converter -p <path/to/file.vcxproj>`
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.