User:Dzonatas Sol/Compiling The Viewer
Overview
SCons and CMake together can make a very powerful builder and development environment utilities. They both have unique features that we need. This document focuses mainly on SCons to just get the viewer built.
Ideally, we need the builder to be very portable and to give the exact same results on every build. The SConstruct file as it has existed has been mainly for a Linux specific build. There are additional files, found in OSLCC, that can be used to make this work on Win32 environments.
There are two main ways to build the viewer, and that is with or without the pre-built libraries. The SCons script can compile the libraries, but that is not recommended for those that only want to compile and test the viewer.
Prerequisites
For Microsoft Windows -- If you don't already have these, then install:
Get the sources
The sources are currently on LL's extern svn and OSLCC.
- TODO: update paths
Compile
From the installation directory:
> cd linden\indra > scons
- TODO: update with a compile without libraries
Libraries
- TODO: update to compile with libraries