473,513 Members | 2,378 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 21210
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
4053
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
1702
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
883
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
631
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
2304
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
2028
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
1982
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
5658
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
1991
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
1388
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
7267
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
7175
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7391
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,...
1
7120
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
4754
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3235
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1609
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
809
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
466
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.