Kinook Software Forum

Kinook Software Forum (https://www.kinook.com/Forum/index.php)
-   [VBP] Third Party Tools (https://www.kinook.com/Forum/forumdisplay.php?f=3)
-   -   How to set VB6 Compiler Optimization? (https://www.kinook.com/Forum/showthread.php?t=316)

a_t_jackson 02-05-2004 11:28 AM

How to set VB6 Compiler Optimization?
 
Is there anyway to set the VB6 compiler options in VisualBuild, such as:

"Optimize for Fast Code"
"Optimize for Small Code"

kinook 02-05-2004 01:52 PM

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:



%VBP_FILE%
%VBP_FILE%
OptimizationType=\d
OptimizationType=1
1
Set Opt



You could use this in conjunction with a Process Files step if you have several VBPs to update (see the Recurse.bld sample).


All times are GMT -5. The time now is 06:15 AM.


Copyright © 1999-2023 Kinook Software, Inc.