source: trunk/README.txt @ 406

Revision 406, 3.7 KB checked in by tholt, 2 years ago (diff)
  • Add Doxygen.h for Doxygen group and namespace definitions
  • Correct some AVANGO copyright notices
  • Property svn:eol-style set to native
Line 
1# -*- Mode:Outline -*-
2
3##########################################################################
4#                                                                        #
5# This file is part of AVANGO.                                           #
6#                                                                        #
7# Copyright 1997 - 2010 Fraunhofer-Gesellschaft zur Foerderung der       #
8# angewandten Forschung (FhG), Munich, Germany.                          #
9#                                                                        #
10# AVANGO is free software: you can redistribute it and/or modify         #
11# it under the terms of the GNU Lesser General Public License as         #
12# published by the Free Software Foundation, version 3.                  #
13#                                                                        #
14# AVANGO is distributed in the hope that it will be useful,              #
15# but WITHOUT ANY WARRANTY; without even the implied warranty of         #
16# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the           #
17# GNU General Public License for more details.                           #
18#                                                                        #
19# You should have received a copy of the GNU Lesser General Public       #
20# License along with AVANGO. If not, see <http://www.gnu.org/licenses/>. #
21#                                                                        #
22##########################################################################
23
24AVANGO uses SCons (www.scons.org) as build system. Detailed information
25about the build process of AVANGO for different platforms can be found under:
26http://www.avango.org/wiki/Installation
27
28Here are some basic infos how to build AVANGO under Linux.
29Use:
30
31  scons --help
32
33to see all configurations options. These options can also be set in a file
34called 'localdefs.py' in the top-level directory. Note that this is a python
35script with full support for all advanced features of python.
36Here is a sample localdefs.py file:
37--------------------------------------------------------------------
38#adjust these according to your system
39avango_src_dir     ='/home/YOUR_USER/apps/avango'
40avango_build_dir   ='/home/YOUR_USER/apps/avango_build'
41avango_install_dir ='/home/YOUR_USER/apps/avango_install'
42osg_install_dir    ='/home/YOUR_USER/apps/OpenSceneGraph-2.9.5_install'
43
44#This is the directory, where AVANGO will put its object files during compilation
45BUILD=avango_build_dir
46#This is the installation directory of AVANGO
47PREFIX=avango_install_dir
48
49PKG_CONFIG_PATH = avango_install_dir + '/lib/pkgconfig'
50INCLUDE_PATH    = osg_install_dir+'/include'
51LIBRARY_PATH    = osg_install_dir+'/lib'
52
53#Build in debug mode
54DEBUG=True
55#Build with OpenSceneGraph support
56OPENSCENEGRAPH=True
57#Set the log level
58LOG_LEVEL="WARN"
59--------------------------------------------------------------------
60Note, that this file assumes that python and boost are in the system paths. If
61this is not the case, you also have to add them to the INCLUDE_PATH respectively
62LIBRARY_PATH variables in your localdefs.py.
63
64
65By default the SCons build uses the 'all' build target which will recursively
66build all modules with respect to your 'localdefs.py' environment.  For each
67AVANGO module different build targets exist. For example to just build the
68'avango-core' module use:
69
70  scons core
71
72To execute the unit tests for 'avango-core' use:
73
74  scons check-core
75
76And finally to install the module use:
77
78  scons install-core
79
80Replace 'core' with any other module name (including 'all' for all configured
81modules) for other build targets.
82
83Further information about the build system can be found in the python (source)
84documentation of avango-build found here:
85
86  avango-build/src/avango/build/__init__.py
Note: See TracBrowser for help on using the repository browser.