summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas Tanner <trtanner@btinternet.com>2015-10-25 08:36:30 +0000
committerThomas Tanner <trtanner@btinternet.com>2015-10-25 08:36:30 +0000
commitb1cfc45853705163da0641eb8cf1cd77783e009d (patch)
treec77e7557d95ad142436bcd0c205e0294fa8e4dfe /src
parent76bee42dd10056f7ad820eb7e14f5dc028f35c8f (diff)
Make the IWYU generation generic
Diffstat (limited to 'src')
-rw-r--r--src/SConscript8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/SConscript b/src/SConscript
index cd2d8a52..d88bee30 100644
--- a/src/SConscript
+++ b/src/SConscript
@@ -143,14 +143,6 @@ env.AppendUnique(LIBS = 'zlibstatic')
prog = env.Program('ModOrganizer',
cpp_files + env.Glob('*.qrc') + other_sources)
-###############################################################################
-# I'd like to automatically add this to every .o generation.
-if 'IWYU' in env:
- for f in cpp_files + [ env.File('aboutdialog.cpp') ]:
- env.AddPostAction(prog, "-$IWYU $IWYU_FLAGS -Xiwyu --mapping_file=$IWYU_MAPPING_FILE $IWYU_COMCOM " + str(f))
- env.Depends(prog, env['IWYU_MAPPING_FILE'])
-###############################################################################
-
env.InstallModule(prog)
for subdir in ('tutorials', 'stylesheets'):