Kinook Software Forums

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

a_t_jackson 02-05-2004 12:28 PM

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 02: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 10:18 PM.


Copyright 1999-2019 Kinook Software, Inc.