Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / Managed C++ / October 2007

Tip: Looking for answers? Try searching our database.

vcproj translated into Makefile

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Ed - 24 Oct 2007 12:40 GMT
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,
Carl Daniel [VC++ MVP] - 24 Oct 2007 15:14 GMT
> Hello, guys,
> Here I have a VC project. I used to build it in VS.Net IDE. But
[quoted text clipped - 12 lines]
>
> 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
Ed - 25 Oct 2007 01:55 GMT
On Oct 24, 10:14 pm, "Carl Daniel [VC++ MVP]"
<cpdaniel_remove_this_and_nos...@mvps.org.nospam> wrote:
> > Hello, guys,
> > Here I have a VC project. I used to build it in VS.Net IDE. But
[quoted text clipped - 23 lines]
>
> -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.
David Wilkinson - 25 Oct 2007 10:40 GMT
>> 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
[quoted text clipped - 11 lines]
> 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.

Signature

David Wilkinson
Visual C++ MVP


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.