[opensource-dev] google-breakpad VS2010 build project. Linden Dev Help Please.

Brad Kittenbrink (Brad Linden) brad at lindenlab.com
Mon Jan 24 10:35:18 PST 2011


On Fri, Jan 21, 2011 at 6:40 PM, Nicky Perian <nickyperian at yahoo.com> wrote:

> I am trying to prove a no harm done 2005 build first. Then on to 2010.
> the build-cmd.sh script references "build_sln" for several entries.
> Example: build_sln src/client/windows/breakpad_client.sln "release|win32"
> exception_handler
>
> These all fail when I try them. Is build_sln common to the LL build system
> and not included in 3p-google-breakpad source?
>
> The sln files build with  cd src/client/windows
>             ../../tools/gyp/gyp -G msvs_version=2005
>
> Is this just and automation thingy?
> Can I just build with debug and release or do I need build_sln's magic?
> Nicky
>
>

Yes, it's for automation.   The shell function build_sln is part of our new
third party lib build system which we're starting to document here:
http://wiki.secondlife.com/wiki/Autobuild and here:
http://wiki.secondlife.com/wiki/Autobuild_How_To

You're a bit ahead of the curve, and we haven't quite kicked all of this off
with great fanfare just yet.  But thanks for diving in fearlessly :)

If you want to run the build, in theory you should just need to check out
our autobuild repository <http://bitbucket.org/lindenlab/autobuild>, put its
bin directory in your PATH, and run 'autobuild install && autobuild build &&
autobuild package'

Anyways, in addition to that, a simple substitute definition for the
function is as follows:
    build_sln() {
        local solution=$1
        local config=$2
        local proj=$3

        if [ -z "$proj" ] ; then
            devenv.com "$(cygpath -m "$solution")" /build "$config"
        else
            devenv.com "$(cygpath -m "$solution")" /build "$config" /project
"$proj"
        fi
    }

-Brad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.secondlife.com/pipermail/opensource-dev/attachments/20110124/9e8cd33d/attachment.htm 


More information about the opensource-dev mailing list