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++ / June 2004

Tip: Looking for answers? Try searching our database.

Command Line Compilatins

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
theSentinel - 02 Jun 2004 13:11 GMT
Hi

I've worked with VC6 and implemented all my builds on the commadline using the nmake tool with the make file. Now we are moving to dotnet and I need a tool similar to that that will enable me do all my compilations/builds on the command line. Problem is the dotnet IDE does not generate make files or maybe I don't know how to, now I need a tool that can generate the make file from the .csproj file. How can I also tell devenv on the comman line to use my own defined OUTDIR and INTDIR

Please Hel
Carl Daniel [VC++ MVP] - 02 Jun 2004 14:13 GMT
> Hi,
>
[quoted text clipped - 6 lines]
> I also tell devenv on the comman line to use my own defined OUTDIR
> and INTDIR.

I assume you're looking for a tool to create makefiles from a .vcproj file,
yes?  The .csproj file you mentioned is a C# project, not C++.

Your VC6 makefiles will still work with VC7{.1} tools.  Yes, you're
correct - there is no function in the devenv IDE to produce a makefile.  One
option is to use one of the free workspace convertors to convert your
VC7{.1} project to VC6 and then export the makefile from VC6.  That sounds a
bit tedious.

Another option is to use VCBuild, which is available on gotdotnet at
http://www.gotdotnet.com/team/cplusplus/. This a command-line build utility
that can build .vcproj files directly with no conversion.  You can invoke
vcbuild from within a larger makefile if you desire.

-cd
theSentinel - 02 Jun 2004 14:41 GMT
Hi Carl

Does this VCBuild come with dotnet? Will the tool allow me to set env. variables and use then im my build just like nmake.

Than
theSentinel
Carl Daniel [VC++ MVP] - 02 Jun 2004 15:24 GMT
> Hi Carl,
>
> Does this VCBuild come with dotnet? Will the tool allow me to set
> env. variables and use then im my build just like nmake.

No - you have to download it from gotdotnet. Yes, I believe so.

-cd
theSentinel - 03 Jun 2004 11:31 GMT
Hi Carl

i've tried vcbuild and it works exactly the same as devenv. I can set the LIB, INCLUDE and PATH env. var and use them with the tool. Everything work fine, Now I want to tell/direct the tool as to where to put the output and my intermediate files

See, I don't want to build if my source has not changed. So, I want to store it somewhere everytime I build. not under release/debug on the current directory. Is there a way of setting the OUTDIR and INTDIR that the tool will use instead of what is inside the csproj file

Regard
Joe
Carl Daniel [VC++ MVP] - 03 Jun 2004 14:36 GMT
> Hi Carl,
>
[quoted text clipped - 8 lines]
> INTDIR that the tool will use instead of what is inside the csproj
> file?

That I don't know.  Have you tried simply defining OUTDIR and INTDIR in the
environment?  If that doesn't do it, you're probably out of luck.

-cd

Rate this thread:







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.