This morning I converted a Microsoft Visual Studio 2008 C++ solution to a Linux makefile with MakeItSo. The process:
-
On a Windows host with VS2008 installed, download MakeItSo_1.2.2.zip from its website, unzip it;
-
In the unzipped folder, run
MakeItSo.exe -file=c:\docs\myproject\myproj.sln
; -
In the root folder of the solution, a Makefile is generated. A
.makefile is generated at each project folder (where the .vcproj file resides). -
Copy the solution folder to a Linux host with "make" installed (verified with
make --version
), runmake
to build the whole solution ormake <project-name>
to build a specific project.
That's it.
Note: Another coverting tool sln2mak is also tried this morning, but failed.