View Single Post
  #3  
Old 07-31-2009, 10:10 AM
abcdetech abcdetech is online now
Registered User
 
Join Date: 04-30-2008
Posts: 18
thank you.

the Output directory field on the Project/Solution tab works perfectly for me, very useful feature.

I have another similar question.

How do I do a similar thing to Librarian Output File?

What I want to do, I want to replace in all .vcproj files :

<Tool Name="VCLibrarianTool" OutputFile=".\debug\LibraryName.lib"/>

with

<Tool Name="VCLibrarianTool" OutputFile="$(OutDir)\LibraryName.lib"/>

In other words I want to keep developer's library file name but output into my desired location. To replace ".\debug\LibraryName.lib" with $(OutDir)\LibraryName.lib"

What is the best way to do it?

I don't see such ability in the Make VS steps. I tried the Write XML file (but it doesn't allow a replace operation)

thank you
Reply With Quote