www.digitalmars.com         C & C++   DMDScript  

c++.command-line - MSVC project import?

reply Mike Jolley <Mike_member pathlink.com> writes:
I saw a bunch of posts about people converting DSW's and nmake makefiles to
normal makefiles.  Is that stuff done yet? :) I'm wondering because I just got
the DMC CD and there are lots of things in the "samples" directory that seem to
require newish microsoft tools.  It's kind of funny that there doesn't seem to
be any way to build these samples that are included with the CD. The blurb about
smake on the website is that it's compatable with nmake, but it seems that's
only true of much older versions of nmake.

I suppose that would be fine if I had VC++ installed, but I'm kind of avoiding
it.  I can afford $100 for Visual C++ .NET Standard to get nmake and such,
hoping that DM's cl.exe proxy is a drop-in replacement for MS's compiler since
I'll be tempted to use the VC++ IDE if I pay good money for it.  I know I'm
committing blasphemy here, but I'm so confused :) Well, at least I draw the line
at paying over a grand for Visual Studio.
Jun 10 2004
parent reply "Walter" <newshound digitalmars.com> writes:
"Mike Jolley" <Mike_member pathlink.com> wrote in message
news:cabibb$8is$1 digitaldaemon.com...
 I saw a bunch of posts about people converting DSW's and nmake makefiles
to
 normal makefiles.  Is that stuff done yet? :) I'm wondering because I just
got
 the DMC CD and there are lots of things in the "samples" directory that
seem to
 require newish microsoft tools.  It's kind of funny that there doesn't
seem to
 be any way to build these samples that are included with the CD. The blurb
about
 smake on the website is that it's compatable with nmake, but it seems
that's
 only true of much older versions of nmake.
The samples should compile as is with the tools on the CD.
Jun 10 2004
parent reply Mike Jolley <Mike_member pathlink.com> writes:
The samples should compile as is with the tools on the CD.
I don't doubt they'll compile once the makefiles are corrected. At the moment each makefile isn't finding the directories in DIRLIST because it's assuming each directory is a subdirectory. I'll figure it out tomorrow :) So smake really is fully compatible with recent versions of nmake? That would be sweet. Thanks, sorry to seem irate.
Jun 11 2004
parent reply "Walter" <newshound digitalmars.com> writes:
"Mike Jolley" <Mike_member pathlink.com> wrote in message
news:cabm63$esr$1 digitaldaemon.com...
The samples should compile as is with the tools on the CD.
I don't doubt they'll compile once the makefiles are corrected. At the
moment
 each makefile isn't finding the directories in DIRLIST because it's
assuming
 each directory is a subdirectory.  I'll figure it out tomorrow :)

 So smake really is fully compatible with recent versions of nmake?
No, but it is compatible with the makefiles in the samples.
Jun 13 2004
parent reply Cesar Rabak <crabak acm.org> writes:
Walter escreveu:
[snipped]

So smake really is fully compatible with recent versions of nmake?
No, but it is compatible with the makefiles in the samples.
Then somewhat in the canonical installation is missing: C:\DM\SAMPLES\WIN32\BASE\GDIDEMO>smake SMAKE Program Maintenance Utility (Console) Version 7.50 Copyright (c) 1994-1995 Innovative Data Concepts Incorporated Copyright (c) 1994-2001 Digital Mars All Rights Reserved SMAKE fatal error: C:\DM\INCLUDE\NTWIN32.MAK(3): can't open include file Stopping. C:\DM\SAMPLES\WIN32\BASE\GDIDEMO> Be assured that DM\INCLUDE\WIN32\NTWIN32.H and DM\INCLUDE\WIN32\WIN32.H exist. -- Cesar Rabak
Jun 13 2004
parent "Walter" <newshound digitalmars.com> writes:
smake -f gdidemo.mak

works.

"Cesar Rabak" <crabak acm.org> wrote in message
news:40CCBA89.3080007 acm.org...
 Walter escreveu:
 [snipped]

So smake really is fully compatible with recent versions of nmake?
No, but it is compatible with the makefiles in the samples.
Then somewhat in the canonical installation is missing: C:\DM\SAMPLES\WIN32\BASE\GDIDEMO>smake SMAKE Program Maintenance Utility (Console) Version 7.50 Copyright (c) 1994-1995 Innovative Data Concepts Incorporated Copyright (c) 1994-2001 Digital Mars All Rights Reserved SMAKE fatal error: C:\DM\INCLUDE\NTWIN32.MAK(3): can't open include file Stopping. C:\DM\SAMPLES\WIN32\BASE\GDIDEMO> Be assured that DM\INCLUDE\WIN32\NTWIN32.H and DM\INCLUDE\WIN32\WIN32.H exist. -- Cesar Rabak
Jun 16 2004