Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

CMake converter for Visual Studio projects

Project description Code Health Documentation Status Most recent PyPi version License AGPL v3


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.

Quick Install & Run

You may have Python3 installed to make this library works !

Install from Pip

Install cmake-converter as a standard python library:

# If you're under Windows, use "pip" instead "pip3"
pip3 install cmake_converter

Install from Source

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 .

Run & Convert

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.

Bugs, issues and contributing

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.

For QMake

If you’re looking for QMake to CMake, please look at qmake2cmake by digitalist.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for cmake-converter, version 1.2.0
Filename, size File type Python version Upload date Hashes
Filename, size cmake_converter-1.2.0-py3-none-any.whl (22.5 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size cmake_converter-1.2.0.tar.gz (18.4 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page