Skip to content

pavelliavonau/cmakeconverter

Repository files navigation

CMake Converter

image

Code Health

image

Documentation Status

Most recent PyPi version

Supported Python versions

License AGPL v3

image

Introduction

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 CMake build system.

Note : Actually, it's only works with C/C++ (*.vcxproj) and Fortran (*.vfproj) projects.

Install & Run

Install package from PyPI

Install last stable release of cmake-converter:

pip install cmake-converter

Note : If you found an issue in the package installed from pip, please, do not create github issue at once and check for pre-release version (pip -pre) or last source from develop first. It might be has fixed already and ready to release.

Install package from source code

Simply clone or download the repository and type the following command to install it:

# Inside repository folder.
pip install .

Run

After install library, just run the script as below. Your *.sln file is of course required:

cmake-converter -s <path/to/file.sln>

Note : If you satisfied with conversion, give a star to the project and consider to donate, please.

Documentation

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.

Donations

If you appreciate my efforts related to this project, give me a gift. I'll be glad to get some money working for free ;) To make a donation - please press the button below.

image