17.06.2022 13:33, Adriano dos Santos Fernandes wrote:
Em sex., 17 de jun. de 2022 07:27, Paul Reeves escreveu:


    We are currently doing this sort if thing in several batch files:

    if defined VS170COMNTOOLS () else
    if defined VS160COMNTOOLS () else
    if defined VS150COMNTOOLS () else

    which is very messy and hard to maintain.

    I've been working on fixing this and propose that we do this in 
settenvar.bat:

    if not defined VSnnnCOMNTOOLS
       if defined VS170COMNTOOLS set VSnnnCOMNTOOLS = VS170COMNTOOLS else
       if defined VS160COMNTOOLS set VSnnnCOMNTOOLS = VS160COMNTOOLS else
       if defined VS150COMNTOOLS set VSnnnCOMNTOOLS = VS150COMNTOOLS

    We then use VSnnnCOMNTOOLS to call the correct vcvarsall.bat.


I'd replace VSnnnCOMNTOOLS by FB_VSCOMNTOOLS.

  +1

Regards,
Vlad


Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to