Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / Managed C++ / July 2005

Tip: Looking for answers? Try searching our database.

NMake

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
RG - 06 Jul 2005 18:13 GMT
I am trying to compile a makefile project.  I have a makefile.  I can't find
documentation and/or samples of buil/rebuild/clean command line syntax.   I
am sure as to what goes there.  Is it os command line make statement for
build? or just parameters?

Any help would be appreciated.

Thanks in advance
William DePalo [MVP VC++] - 06 Jul 2005 21:20 GMT
>I am trying to compile a makefile project.  I have a makefile.  I can't
>find documentation and/or samples of buil/rebuild/clean command line
>syntax.   I am sure as to what goes there.  Is it os command line make
>statement for build? or just parameters?

Type

   nmake /?

at the command line for help.

To build everything ( a[ll] ) you would use the command

   nmake -a -f YourMaKeFileNameGoesHere

Regards,
Will
RG - 07 Jul 2005 13:19 GMT
I am sorry.  I didn't make myself clear.  Nmake command line options I know.
However, I don't know how to use within Visual Studio .NET.
>>I am trying to compile a makefile project.  I have a makefile.  I can't
>>find documentation and/or samples of buil/rebuild/clean command line
[quoted text clipped - 13 lines]
> Regards,
> Will
William DePalo [MVP VC++] - 07 Jul 2005 14:47 GMT
>I am sorry.  I didn't make myself clear.  Nmake command line options I
>know. However, I don't know how to use within Visual Studio .NET.

Well, normally you would use the IDE's projects system and use its Build
menu.

But if you have a .mak file that you want to use then you can choose

   File->Open->Project

from the menu.

Regards,
Will
RG - 08 Jul 2005 00:04 GMT
I created an nmake project visual studio .net.  When I go to
project->properties->configuration properties->nmake there is buid command
line, rebuild command line, etc.. entries on the right.  I wanted to know
what we actually specify in those entries.

> >I am sorry.  I didn't make myself clear.  Nmake command line options I
> >know. However, I don't know how to use within Visual Studio .NET.
[quoted text clipped - 10 lines]
> Regards,
> Will
Martin Richter [MVP] - 08 Jul 2005 08:01 GMT
Hallo RG!

> I created an nmake project visual studio .net.  When I go to
> project->properties->configuration properties->nmake there is buid command
> line, rebuild command line, etc.. entries on the right.  I wanted to know
> what we actually specify in those entries.

Your make file should cover the cases of normal build, rebuild an clean.
For each case there is a target in you make file (or should be) you
should specifiy the specific command line that cases nmkae to perform
the action of rebuild, build and clean. So the IDE can use the menu
items from the project menu.

Signature

Martin Richter [MVP] WWJD
"In C we had to code our own bugs. In C++ we can inherit them."
FAQ : http://www.mpdvc.de
Samples: http://www.codeguru.com http://www.codeproject.com


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.