Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] Third Party Tools
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 01-30-2004, 02:26 AM
Jeff Boeker Jeff Boeker is online now
Registered User
 
Join Date: 01-30-2004
Location: California
Posts: 2
Question Compile single file

I would like to compile one file from a VS.Net C++ project. Is this possilbe to do from Visual Build? I could not find any command line switches for this.

Also, what is the best way for changing project settings? For lack of a better way I'm searching/replacing in the .vcproj file.

Thanks,

Jeff
Reply With Quote
  #2  
Old 02-01-2004, 02:37 PM
pjaquiery pjaquiery is online now
Registered User
 
Join Date: 01-20-2003
Location: Dunedin, New Zealand
Posts: 114
You can build individual projects, but not indvidual files. In a project containing more than one source file it may not make sense to compile individual files in any case.

What manner of project settings are you changing? It is possible to compile specific configurations (/build) and you can create as many configurations in the IDE as you require.

Note that these are VS .NET features and not features or restictions in VBP.
Reply With Quote
  #3  
Old 02-01-2004, 08:36 PM
Jeff Boeker Jeff Boeker is online now
Registered User
 
Join Date: 01-30-2004
Location: California
Posts: 2
Thanks for responding.

What I'm trying to do is compile an idl file, modify the generated header file file slightly via search and replace, and compile the project with the generate file. For modifying the project settings I'm using a search/replace in .vcproj file -- seems to work OK so far. As a temporary solution, instead of compiling just one file, I can compile the whole project twice, but due to the header dependancies, this is not very efficient, and I have a lot of projects to compile.

I guess what I was hoping was that these things could be done with the visual basic script. Will any VBScript runnable in the IDE perform similarly when run from VBP?

Thanks,

Jeff
Reply With Quote
  #4  
Old 02-01-2004, 08:56 PM
pjaquiery pjaquiery is online now
Registered User
 
Join Date: 01-20-2003
Location: Dunedin, New Zealand
Posts: 114
Set your project up to use a custom build step that does the .IDL compile then fixes up the headers.

Generally it is much easier to get everything working if you can use VBP to build your project in the same way that it is built from the IDE, so using configurations to provide settings rather than futzing with the project files and using a custom tool rather than a "manual" edit step are likely to get you there quicker.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT -5. The time now is 11:58 AM.


Copyright © 1999-2023 Kinook Software, Inc.