473,395 Members | 1,675 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,395 software developers and data experts.

command line tool to convert VC project files to Makefile

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
7 21187
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
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
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
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
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: rkoida | last post by:
Hello evryone I am a newbie to python. I have a makefile which i can compile in UNIX/LINUX, But i I am planning to write a python script which actually does what my MAKEFILE does. The make file...
3
by: Aquila Deus | last post by:
Hi all! Is there any command-line tool that can add/delete and replace string and files in .resources?
0
by: Rolf Hemmerling | last post by:
Hello ! How to let GPP/GCC read command line switches from a file, **for Windows** ? I was told a Linux solution: "Your options in options.txt Then: gcc $(cat options.txt) or: gcc `cat...
7
by: Dave | last post by:
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...
1
by: Sparhawk | last post by:
Hi, I want to integrate a code beautifier for C++ in the development process of my company. There are many beautifiers around which would meet our formatting requirements (SourceFormatX,...
4
by: kendf | last post by:
Appreciated if someone could tell me how to compile the MS Exception Management Application Block downloaded from MS Official site?
2
by: David A.Lethe | last post by:
I've got a console application that needs to be ported to the 64-bit windows native environment. I've downloaded the 64-bit build environment code from the MSDN site, but the docs say that I have...
5
by: Emmanuel | last post by:
Hi, I am using VS 2003 to build my (csharp) solution. 1. Is there a way to reveal the command line options that VS is using during compilation of a project file, in order to build a batch...
1
by: nikhilkumar18 | last post by:
Hi I have made a command line tool which converts a particular log file in .bin format to a text file. But as of now the names of these files are hardcoded i.e it converts log.bin to log.txt. ...
0
by: chandan agarwal | last post by:
hi I have been given the task of building vc++ programs at the command line using make software. i have installed gnu make-3.81 version. i was able to build and run makefiles for turbo c++. but...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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...

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.