Page MenuHomec4science

SConscript
No OneTemporary

File Metadata

Created
Mon, Mar 10, 01:33

SConscript

from os.path import join, exists
from subprocess import call
Import('main_env')
doxygen_tool = '../site_scons/site_tools/doxygen'
if not exists(doxygen_tool):
print("Cloning scons doxygen builder")
call(['hg', 'clone', 'https://bitbucket.org/russel/scons_doxygen', doxygen_tool])
env_doxygen = main_env.Clone(
tools = ['default', 'doxygen']
)
src_dir = "#/doc/doxygen"
file = "Doxyfile"
build_dir = 'build-' + main_env['build_type'] + '/doc/doxygen'
Command(join("doxygen", file), join(src_dir, file), [
Mkdir(build_dir),
Copy("$TARGET", "$SOURCE")
]
)
env_doxygen.Doxygen("doxygen/Doxyfile")

Event Timeline