[Zlib-devel] zlib 1.2.3.9 is out (fwd)

William A. Rowe Jr. wrowe at rowe-clan.net
Fri Feb 26 15:28:09 EST 2010


On 2/22/2010 1:29 AM, Vincent Torri wrote:
> 
> After a quick search with google, it seems that it is possible to run
> commands before the build:
> 
> <Project>
>     ...
>     <Target Name="BeforeBuild">
>         <!-- Insert tasks to run before build here -->
>     </Target>

You don't do that, it's historically quirky.  The right answer is to declare
an external build step that is designated as outputting the zconf.h file from
zconf.h.in or whatever it's name is.  This means it is generated only once,
regenerated if the source file changes.




More information about the Zlib-devel mailing list