Kinook Software Forum

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

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 02-05-2004, 01:52 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,027
You could use a Replace in File Action to do that. The OptimizationType is 1 for Small Code and 0 for Fast Code. This step can be copied and pasted into VBP:


<step action='Replace in File' type='0'>
<FileIn>%VBP_FILE%</FileIn>
<FileOut>%VBP_FILE%</FileOut>
<Find>OptimizationType=\d</Find>
<Replace>OptimizationType=1</Replace>
<indent type='3'>1</indent>
<name>Set Opt</name>
</step>


You could use this in conjunction with a Process Files step if you have several VBPs to update (see the Recurse.bld sample).
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 12:03 PM.


Copyright © 1999-2023 Kinook Software, Inc.