473,407 Members | 2,306 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,407 software developers and data experts.

vcproj translated into Makefile

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,

Oct 24 '07 #1
3 2578
Ed wrote:
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
Oct 24 '07 #2
Ed
On Oct 24, 10:14 pm, "Carl Daniel [VC++ MVP]"
<cpdaniel_remove_this_and_nos...@mvps.org.nospamwr ote:
Ed wrote:
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.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.

Oct 25 '07 #3
Ed wrote:
>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.
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.

--
David Wilkinson
Visual C++ MVP
Oct 25 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Lin Ma | last post by:
Hello, What is the .VCPROJ file? I only installed C#.net and VB.net for the .Net studio 2003. Do I need to install more application to read this file? Thanks, Lin
0
by: Craig Lichtenstein | last post by:
As I’ve been reading about msbuild, I’ve noticed articles that mention msbuild’s incapability to natively read .vcproj files. In short, executing msbuild blah.vcproj causes msbuild to invoke...
5
by: Jacobo Rodriguez Villar | last post by:
Hello, Is there any way (or program) to convert and maintain easily a C++ project (vs7.1) to a Makefile file, in order to build it in Linux? Many thanks -- Jacobo Rodríguez Villar ...
5
by: -DG- | last post by:
I had thought that all VC compile/link options could be set from within Visual Studio but apparently that's not the case. The .vcproj file seems to hold refs to old files despite changes to...
0
by: Chrysan | last post by:
I had downloaded an example from microsoft website (debuggingwalkthroughs.msi), where this will install a Visual Studio Solution with 2 projects (DebuggingWeb.csproj and DebuggingCOM.vcproj). But,...
8
by: Pavel A. | last post by:
Can anybody shed some light... Confused here :(( Isn't VS.2005 supposed to use the new build system, that can be invoked separately from the IDE? If yes, why it creates vcproj files? Are these...
2
by: Anil Gupte | last post by:
I get an error saying "The application for project "C:\...\fbridge.vcproj" is not installed." "Make sure the application for the project type (.vcproj) is installed." -- Anil Gupte...
12
by: Anil Gupte | last post by:
I have recently installed VC#, VC++ and VB 2005 Express Edition. Someone had sent me the sln file to load it into C# and so I tried, and I get an error saying: "The application for project...
3
by: tvnaidu | last post by:
porting windows static libs and dll into linux static lib abd shared lib, any tool to convert vcproj files to Linux makefiles? porting windows static libs and dll into linux static lib abd shared...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.