Convert vcproject to makefile for nix?

So, I have a visual studio 2008 of the project for the project I was working on, but its subproject with a larger code base, which is cross-platform, so to make my project complaint the main source, I need to make my nix project compilable.

Is there a way to generate a makefile based on my vcproject project? or, if not, I can generate a makefile in any other way than writing it manually, as this seems confusing, like all hell when I open them.

+4
source share
2 answers

Microsoft has refused to support exporting the solution to a makefile (see this thread ). I do not know any external tools that convert VS solutions to make files. But I had some success using CMake . Using CMake, you describe the project in a text file, and cmake then generates standard make files or project descriptions for the IDE (including VS).

+1
source

No one ever writes a Makefile. They take an existing Makefile and modify it.

Get one of the makefiles from existing projects and configure it for your project (i.e. replace the project name, source / object files, etc.).

In addition, simple makefiles are not that complicated, here is a very short introduction to makefiles to get you started.

0
source

Source: https://habr.com/ru/post/1308647/


All Articles