By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,227 Members | 1,310 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,227 IT Pros & Developers. It's quick & easy.

command line tool to convert VC project files to Makefile

P: n/a
Does anyone know of a Windows compatible command line tool that capable
of parsing Microsoft's VC++ workspace/project (e.g., .dsw, .dsp, .sln,
..vcproj, etc.) files and generating an nmake-compatible Makefile. I
don't like or use the IDE but many authors distribute their source code
with project files but no makefile.

Thanks.

Dave
Nov 14 '05 #1
Share this Question
Share on Google+
7 Replies


P: n/a
On 8/8/2004 10:52 PM, Dave wrote:
Does anyone know of a Windows compatible command line tool that capable
of parsing Microsoft's VC++ workspace/project (e.g., .dsw, .dsp, .sln,
.vcproj, etc.) files and generating an nmake-compatible Makefile. I
don't like or use the IDE but many authors distribute their source code
with project files but no makefile.


May be you can write such tool yourself, a few hours with Python
or Perl and will be done.

Greets

--

Mateusz Łoskot
mateusz at loskot dot net
Nov 14 '05 #2

P: n/a
On 8/8/2004 10:52 PM, Dave wrote:
Does anyone know of a Windows compatible command line tool that capable
of parsing Microsoft's VC++ workspace/project (e.g., .dsw, .dsp, .sln,
.vcproj, etc.) files and generating an nmake-compatible Makefile. I
don't like or use the IDE but many authors distribute their source code
with project files but no makefile.


Cros-posting is a very very bad thing, don't do that !
Or if you have to, please give some information about that.
I realized it to late to react and don't send my answer.

By the way, I know I'm complaining to much ;-)), your question is OT here.

Greets

--

Mateusz Łoskot
mateusz at loskot dot net
Nov 14 '05 #3

P: n/a
Dave wrote:

Does anyone know of a Windows compatible command line tool that capable
of parsing Microsoft's VC++ workspace/project (e.g., .dsw, .dsp, .sln,
.vcproj, etc.) files and generating an nmake-compatible Makefile. I
don't like or use the IDE but many authors distribute their source code
with project files but no makefile.


This is OT on c.l.c and c.l.c++. F'ups set. I believe VC has the
ability to write a make file from a project. Of course it is for
the non-standard nmake, but it should be close enough to rework.

--
"Churchill and Bush can both be considered wartime leaders, just
as Secretariat and Mr Ed were both horses." - James Rhodes.
"A man who is right every time is not likely to do very much."
- Francis Crick, co-discover of DNA
Nov 14 '05 #4

P: n/a
Dave wrote:
Does anyone know of a Windows compatible command line tool that capable
of parsing Microsoft's VC++ workspace/project (e.g., .dsw, .dsp, .sln,
.vcproj, etc.) files and generating an nmake-compatible Makefile. I
don't like or use the IDE but many authors distribute their source code
with project files but no makefile.


You are asking about an assumed fix for an imagined problem. Your real
problem is you need a command line to compile projects directly from

If you use your editor directly on a project file, it will make, bake,
rebuild, etc:

msdev PackageTwo/PackageTwo.dsp /MAKE "PackageTwo - Win32 Debug"

DevEnv supports parallel malarky.

The problem with the "generate makefile" menu item is if you forget to do
it, and change your DSP or VCPROJ file, your command line version is
screwed.

--
Phlip
http://industrialxp.org/community/bi...UserInterfaces
Nov 14 '05 #5

P: n/a
On Sun, 08 Aug 2004 16:52:10 -0400, in comp.lang.c , Dave <da**@nospam.com>
wrote:
Does anyone know of a Windows compatible command line tool that capable
of parsing Microsoft's VC++ workspace/project (e.g., .dsw, .dsp, .sln,
.vcproj, etc.) files and generating an nmake-compatible Makefile. I
don't like or use the IDE but many authors distribute their source code
with project files but no makefile.


FCOL, Read the documentation ! This is a menu choice in the IDE.
--
Mark McIntyre
CLC FAQ <http://www.eskimo.com/~scs/C-faq/top.html>
CLC readme: <http://www.ungerhu.com/jxh/clc.welcome.txt>
----== Posted via Newsfeed.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeed.com The #1 Newsgroup Service in the World! >100,000 Newsgroups
---= 19 East/West-Coast Specialized Servers - Total Privacy via Encryption =---
Nov 14 '05 #6

P: n/a
Mark McIntyre wrote:
On Sun, 08 Aug 2004 16:52:10 -0400, in comp.lang.c , Dave <da**@nospam.com>
wrote:

Does anyone know of a Windows compatible command line tool that capable
of parsing Microsoft's VC++ workspace/project (e.g., .dsw, .dsp, .sln,
.vcproj, etc.) files and generating an nmake-compatible Makefile. I
don't like or use the IDE but many authors distribute their source code
with project files but no makefile.

FCOL, Read the documentation ! This is a menu choice in the IDE.


Yes, I know that. But I am adamantly opposed to the inordinate
propagation of digital bile to my computer systems that inherently
results from the installation of overpriced bloatware such as Visual
Studio. I'm using the free VS.NET 2003 command-line tools which
features a pretty decent C/C++ optimizing compiler.

Now the folks at microsoft.public.vc.* are going to probably wage war
against me for posting a message deemed "OT" because it doesn't involve
the entire VC suite; meanwhile, I'll receive flames from comp.lang.c/c++
for adding yet another reply to a thread which isn't strictly ISO
standard C/C++ in nature. I'm sorry that there isn't an
alt.comp.programming.tools.win32.nmake group, but c'mon people, we
aren't programming in a vacuum are we?

If I can't find an existing solution, I'll probably end up writing one
myself in Perl, which I'll upload to CPAN. Naturally it will extend to
a portable cross-platform make/project file conversion utility capable
of handling multiple formats, including GNU, MS, Borland, etc. You'll
end up thanking me.

Dave
Nov 14 '05 #7

P: n/a
Dave wrote:
Now the folks at microsoft.public.vc.* are going to probably wage war
against me for posting a message deemed "OT" because it doesn't involve
the entire VC suite;
Could you get down off the crucifix? We need to use the wood.

Unlike this newbie-magnet forum, nothing's off-topic anywhere in MSDN. The
favored approach cross-posts a question to two or seven newsgroups of
marginal appropriateness. MS's own drones answer questions, and preen out
the crap.

Post your question there, get an answer, get on with your project.
meanwhile, I'll receive flames from comp.lang.c/c++
Uh, yeah.
for adding yet another reply to a thread which isn't strictly ISO
standard C/C++ in nature. I'm sorry that there isn't an
alt.comp.programming.tools.win32.nmake group, but c'mon people, we
aren't programming in a vacuum are we?
Regulars compete with each other to answer on-topic questions correctly,
that's why posting on-topic is in your best interest.
If I can't find an existing solution, I'll probably end up writing one
myself in Perl, which I'll upload to CPAN. Naturally it will extend to
a portable cross-platform make/project file conversion utility capable
of handling multiple formats, including GNU, MS, Borland, etc. You'll
end up thanking me.


There are already Makefile managers in Perl.

I would use Rake, a Makefile replacement in Ruby.

--
Phlip
http://industrialxp.org/community/bi...UserInterfaces
Nov 14 '05 #8

This discussion thread is closed

Replies have been disabled for this discussion.