Changeset 333 for trunk/README.txt


Ignore:
Timestamp:
01/08/10 16:31:47 (2 years ago)
Author:
ddangelo
Message:

A sample localdefs section added. This should help to get users started building AVANGO.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/README.txt

    r3 r333  
    2424########################################################################## 
    2525 
    26 The build system uses SCons. Use 
     26AVANGO uses SCons (www.scons.org) as build system. Detailed information  
     27about the build process of AVANGO for different platforms can be found under: 
     28http://www.avango.org/wiki/Installation 
     29 
     30Here are some basic infos how to build AVANGO under Linux. 
     31Use: 
    2732 
    2833  scons --help 
     
    3136called 'localdefs.py' in the top-level directory. Note that this is a python 
    3237script with full support for all advanced features of python. 
     38Here is a sample localdefs.py file: 
     39-------------------------------------------------------------------- 
     40#adjust these according to your system 
     41avango_src_dir     ='/home/YOUR_USER/apps/avango' 
     42avango_build_dir   ='/home/YOUR_USER/apps/avango_build' 
     43avango_install_dir ='/home/YOUR_USER/apps/avango_install' 
     44osg_install_dir    ='/home/YOUR_USER/apps/OpenSceneGraph-2.9.5_install' 
     45 
     46#This is the directory, where AVANGO will put its object files during compilation 
     47BUILD=avango_build_dir 
     48#This is the installation directory of AVANGO 
     49PREFIX=avango_install_dir 
     50 
     51PKG_CONFIG_PATH = avango_install_dir + '/lib/pkgconfig' 
     52INCLUDE_PATH    = osg_install_dir+'/include' 
     53LIBRARY_PATH    = osg_install_dir+'/lib' 
     54 
     55#Build in debug mode 
     56DEBUG=True 
     57#Build with OpenSceneGraph support 
     58OPENSCENEGRAPH=True 
     59#Set the log level 
     60LOG_LEVEL="WARN" 
     61-------------------------------------------------------------------- 
     62Note, that this file assumes that python and boost are in the system paths. If 
     63this is not the case, you also have to add them to the INCLUDE_PATH respectively  
     64LIBRARY_PATH variables in your localdefs.py. 
     65 
    3366 
    3467By default the SCons build uses the 'all' build target which will recursively 
Note: See TracChangeset for help on using the changeset viewer.