List:MySQL++« Previous MessageNext Message »
From:<Alex.Burton Date:January 8 2014 10:32pm
Subject:RE: Next MySQL++ build system
View as plain text  
- We've got a big leg up on the conversion, thanks to Alex Burton.
Only a small leg up - there is a lot more work to replicate all the existing build system
does.

Could you just distribute binaries for visual studio versions ?

Instructions for building from source on windows:
Download and install python 2.x.
Download and install scons.
Run a batch file that sets up their PATH by searching for where they installed python, if
it is not already in their PATH.
The batch file then calls scons -j <number of processors>.
Because SConstruct can be written to not depend on OS environment variables, very little
can go wrong, you can search for or ask them where mysql lib and inlude are, what version
of VS to use if necessary etc.

- Because SCons replaces everything in the current build system, we'd
have to port all the autoconf tests and custom flags
(--enable-thread-check, --with-mysql, etc.) over to it, then document
all the build system changes.  This will cause some work for the kind
souls who maintain the various MySQL++ binary packages.

On *ix platforms you could continue calling those configure tools unless you wanted to
replace them.

I don't use it in that way but it appears that scons also has special support for
Configuration see "Configure Contexts" in http://www.scons.org/doc/HTML/scons-man.html


Thread
Next MySQL++ build systemWarren Young8 Jan 2014
  • Re: Next MySQL++ build systemWarren Young8 Jan 2014
  • RE: Next MySQL++ build systemAlex.Burton8 Jan 2014
    • Re: Next MySQL++ build systemWarren Young9 Jan 2014
      • Re: Next MySQL++ build systemPau Garcia i Quiles9 Jan 2014
        • Re: Next MySQL++ build systemWarren Young9 Jan 2014
          • Re: Next MySQL++ build systemPau Garcia i Quiles9 Jan 2014
            • Re: Next MySQL++ build systemWarren Young9 Jan 2014
  • Re: Next MySQL++ build systemPau Garcia i Quiles8 Jan 2014
    • Re: Next MySQL++ build systemWarren Young9 Jan 2014
      • Re: Next MySQL++ build systemPau Garcia i Quiles9 Jan 2014
        • Re: Next MySQL++ build systemWarren Young9 Jan 2014
          • Re: Next MySQL++ build systemPau Garcia i Quiles9 Jan 2014
            • Re: Next MySQL++ build systemWarren Young9 Jan 2014