summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Markmann <tm@ayena.de>2015-07-24 15:44:39 (GMT)
committerKevin Smith <kevin.smith@isode.com>2015-08-11 09:53:41 (GMT)
commit1227b9d9b5ccfde57e9c7e946275907391d17ce1 (patch)
tree2305c0faa976556f085a845c36c28b206bc43a24 /BuildTools
parent009e552f76e17570f2c09789949d3804a153d696 (diff)
downloadswift-1227b9d9b5ccfde57e9c7e946275907391d17ce1.zip
swift-1227b9d9b5ccfde57e9c7e946275907391d17ce1.tar.bz2
Add 'check_headers' flag to scons for missing include detection
Running './scons check_headers=1 will compile each header file as an object file. Test-Information: Tested on OS X 10.9.5 and Elementary OS 0.2. Change-Id: Ia429ccc6dc0a5bd76c08a2c2e91bf192c6ad2901
Diffstat (limited to 'BuildTools')
-rw-r--r--BuildTools/SCons/SConscript.boot1
1 files changed, 1 insertions, 0 deletions
diff --git a/BuildTools/SCons/SConscript.boot b/BuildTools/SCons/SConscript.boot
index 2415fde..babd585 100644
--- a/BuildTools/SCons/SConscript.boot
+++ b/BuildTools/SCons/SConscript.boot
@@ -99,6 +99,7 @@ vars.Add(BoolVariable("experimental_ft", "Build experimental file transfer", "ye
vars.Add(BoolVariable("experimental", "Build experimental features", "no"))
vars.Add(BoolVariable("set_iterator_debug_level", "Set _ITERATOR_DEBUG_LEVEL=0", "yes"))
vars.Add(BoolVariable("unbound", "Build bundled ldns and unbound. Use them for DNS lookup.", "no"))
+vars.Add(BoolVariable("check_headers", "Independently build compilation units for all Swiften headers for detecting missing dependencies.", "no"))
vars.Add(BoolVariable("install_git_hooks", "Install git hooks", "true"))