From a7e881869e291c0662c4ce673672406acfcb43e3 Mon Sep 17 00:00:00 2001 From: Tom Tanner Date: Sun, 15 Mar 2015 10:58:21 +0000 Subject: [PATCH] Yet more scons stuff. Now builds everything but the plugins, and installs all the dlls --- src/runner/SConscript | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/src/runner/SConscript b/src/runner/SConscript index ead0395..b66e582 100644 --- a/src/runner/SConscript +++ b/src/runner/SConscript @@ -52,18 +52,12 @@ env.AppendUnique(LIBPATH = [ targets = env.AddExtraMoc(env.Glob('*.h')) # pythontoolwrapper doesnt compile and isn't in the project file -cpp_files = [ x for x in Glob('*.cpp') - if not str(x).endswith('pythontoolwrapper.cpp') ] +cpp_files = [ + x for x in Glob('*.cpp') if not str(x).endswith('pythontoolwrapper.cpp') +] lib = env.SharedLibrary('pythonrunner', cpp_files + targets) -env.Depends(lib, env.Value(env['ENV']['DLLSPATH'])) -# FIXME scons bug doesn't provide pdb for executable. -if env['CONFIG'] == 'debug': - x = env.File('pythonrunner.pdb') - env.Depends(x, lib) - lib.append(x) - -env.Install(env['INSTALL_PATH'], [ - filter(lambda x: str(x).endswith('.dll') or str(x).endswith('.pdb'), lib), -]) +env.Install(env['INSTALL_PATH'], + filter(lambda x: str(x).endswith('.dll') or str(x).endswith('.pdb'), + lib))