List:MySQL++« Previous MessageNext Message »
From:Mickael Wolff Date:January 6 2014 8:35am
Subject:Re: scons build on windows
View as plain text  
On 01/06/2014 06:45 AM, Alex.Burton@stripped wrote:

>     for arch in ['x86','amd64']:
>         env = Environment(HOST_ARCH='x86',TARGET_ARCH=arch)
>         if arch == 'x86':
>                 env['CPPPATH'] = ['C:/Program Files (x86)/MySQL/Connector C
> 6.0.2/include']
>                 env['LIBS'] = ['C:/Program Files (x86)/MySQL/Connector C
> 6.0.2/lib/opt/libmysql']
>         else:
>                 env['CPPPATH'] = ['C:/Program Files/MySQL/Connector C
> 6.0.2/include']
>                 env['LIBS'] = ['C:/Program Files/MySQL/Connector C
> 6.0.2/lib/opt/libmysql']
> 
>         env['LIBS'] += ['WSock32']


  Aren't they an environment variable %programfiles% so you don't rely
on hard-coded path that could be wrong?


Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc
Thread
scons build on windowsAlex.Burton6 Jan 2014
  • Re: scons build on windowsMickael Wolff6 Jan 2014
    • Re: scons build on windowsWarren Young6 Jan 2014
      • Re: scons build on windowsMickael Wolff7 Jan 2014
        • Re: scons build on windowsWarren Young7 Jan 2014
  • Re: scons build on windowsWarren Young6 Jan 2014
  • RE: scons build on windowsAlex.Burton7 Jan 2014