56a2e283fd19edc416dba53e16ef30fd72eb8e61
[pykit.git] / SConscript
1 # -*- python -*-
2
3 import os.path
4 Import('env')
5
6 env.Tool('qt4', [ os.path.join('site_scons','qtscons') ])
7
8 # QtSvg and QtXml are needed by some plugins ...
9 env.EnableQt4Modules([ 'QtWebKit', 'QtNetwork', 'QtSvg', 'QtXml', 'QtGui', 'QtCore' ])
10
11 env.Append(
12     CXXFLAGS          = [ '-Wall', '-Wextra' ],
13     CPPPATH           = [ '$LIBPYTHONINCLUDES' ],
14     LIBS              = [ '$LIBBOOSTPYTHON', '$LIBPYTHON' ]
15 )
16
17 sources = env.Qt4Glob()
18
19 pykit = env.Program('pykit', sources)
20 env.Default(pykit)