1 |
cochrane |
369 |
# Scons configuration file for doxygen docs |
2 |
|
|
|
3 |
|
|
import os |
4 |
|
|
|
5 |
|
|
# |
6 |
|
|
# set appropriate defaults for configuration variables |
7 |
|
|
|
8 |
jgs |
485 |
esysroot=str(Dir('../..').abspath) |
9 |
|
|
execfile(str(File(esysroot+"/scons/esys_options.py"))) |
10 |
cochrane |
369 |
|
11 |
jgs |
485 |
import scons_extensions |
12 |
cochrane |
369 |
|
13 |
|
|
# |
14 |
|
|
# do the actual build |
15 |
|
|
|
16 |
|
|
source = 'rundoxygen' |
17 |
|
|
|
18 |
|
|
doxygen_env = Environment(ENV = os.environ) |
19 |
|
|
|
20 |
|
|
runDoxygen_builder = Builder(action = scons_extensions.build_doxygen, suffix = ".run", single_source = True) |
21 |
|
|
doxygen_env.Append(BUILDERS = {'RunDoxygen' : runDoxygen_builder}) |
22 |
|
|
|
23 |
|
|
Default(doxygen_env.RunDoxygen(source)) |