vcproj translated into Makefile

E

Ed

Hello, guys,
Here I have a VC project. I used to build it in VS.Net IDE. But
because of cross platform requiremment, it need to be ported into
Linux.

First I need to consider the build environment. I need a tool to
translate the vcproj or solution file into some other common build
file, such as Makefile, or Ant Build XML.

I check the Ant, Scons, and some other build tools. It seems there is
no good tools which could fix my requirements.

So I wondered is that I write a parser by myself the only way to fix
it?

I need your help and give me some hints.

Thank you in advance!

Ed,
 
C

Carl Daniel [VC++ MVP]

Ed said:
Hello, guys,
Here I have a VC project. I used to build it in VS.Net IDE. But
because of cross platform requiremment, it need to be ported into
Linux.

First I need to consider the build environment. I need a tool to
translate the vcproj or solution file into some other common build
file, such as Makefile, or Ant Build XML.

I check the Ant, Scons, and some other build tools. It seems there is
no good tools which could fix my requirements.

So I wondered is that I write a parser by myself the only way to fix
it?

I need your help and give me some hints.

Google is your friend. You'll find that this question comes up every now
and then, with lots of discussion and not a lot of resolution. There is
this project on CodeProject:
http://www.codeproject.com/tools/prjconverter.asp that converts a VC7
project to a VC6 project. That actually might be a good starting place
because:

a. VC 7, 7.1, 8 and 9 project files are nearly identical.
b. VC6 project files are almost makefiles.

-cd
 
E

Ed

Google is your friend. You'll find that this question comes up every now
and then, with lots of discussion and not a lot of resolution. There is
this project on CodeProject:http://www.codeproject.com/tools/prjconverter.aspthat converts a VC7
project to a VC6 project. That actually might be a good starting place
because:

a. VC 7, 7.1, 8 and 9 project files are nearly identical.
b. VC6 project files are almost makefiles.

-cd

Yes, I have been searching in the Google for many times. And my
project is VC8, so this tools could not help this issue.
Maybe using Scons is a better solution for it, it could auto check the
dependency.
 
D

David Wilkinson

Ed said:
Yes, I have been searching in the Google for many times. And my
project is VC8, so this tools could not help this issue.
Maybe using Scons is a better solution for it, it could auto check the
dependency.

Ed:

What Carl is saying is that all .vcproj files are much the same, and VC6
..dsp files are very similar to makefiles, so if you want to roll your
own then seeing how to create VC6 files from VC7 might be a good start
on how to create makefiles from VC8.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top