DarkMatter in Cyberspace
  • Home
  • Categories
  • Tags
  • Archives

Convert MS Visual Studio C++ Project to makefile


This morning I converted a Microsoft Visual Studio 2008 C++ solution to a Linux makefile with MakeItSo. The process:

  1. On a Windows host with VS2008 installed, download MakeItSo_1.2.2.zip from its website, unzip it;

  2. In the unzipped folder, run MakeItSo.exe -file=c:\docs\myproject\myproj.sln;

  3. In the root folder of the solution, a Makefile is generated. A .makefile is generated at each project folder (where the .vcproj file resides).

  4. Copy the solution folder to a Linux host with "make" installed (verified with make --version), run make to build the whole solution or make <project-name> to build a specific project.

That's it.

Note: Another coverting tool sln2mak is also tried this morning, but failed.



Published

May 21, 2014

Last Updated

May 21, 2014

Category

Tech

Tags

  • c++ 12
  • convert 7
  • makefile 1
  • visual studio 1

Contact

  • Powered by Pelican. Theme: Elegant by Talha Mansoor