summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2018-07-27Add clang-tidy supportKevin Smith
This adds a single check (which is already enough to fail). clang-tidy < 7 requires absolute paths in the compile-commands.json, which isn't what will happen here. If you want to run with a previous version (6 is latest, 7 expected in a month), apply this patch (which will break normal ninja compilation, thus not applying it properly, and I'm not sure it's worth any time getting it work when the clang-tidy bug is fixed imminently): diff --git a/BuildTools/scons2ninja.py b/BuildTools/scons2ninja.py index df4c6559d..13e78d650 100755 --- a/BuildTools/scons2ninja.py +++ b/BuildTools/scons2ninja.py @@ -168,8 +168,16 @@ class NinjaBuilder : self.variables += str(name) + " = " + str(value) + "\n" def build(self, target, rule, sources = None, **kwargs) : + if is_list(target): + target = [os.path.abspath(x) for x in target] + else: + target = os.path.abspath(target) self._build += "build " + self.to_string(target) + ": " + rule if sources : + if is_list(sources): + sources = [os.path.abspath(x) for x in sources] + elif isinstance(sources, basestring): + sources = os.path.abspath(sources) self._build += " " + self.to_string(sources) if 'deps' in kwargs and kwargs['deps'] : self._build += " | " + self.to_string(kwargs["deps"]) Test-Information: Running make clang-tidy spits out complaints about the code. Change-Id: Ic9f43fd2e11ebd595b4b8a5cee8d290cd5349abf
2009-08-16Remove autoconf/make files.Remko Tronçon
2009-07-24Update the build system.Remko Tronçon
Coverage now works better. Some files are cleaned by default (without the need of CLEANFILES).
2009-07-20Added Cocoa event loop.Remko Tronçon
2009-07-20Use icon in menulet.Remko Tronçon
2009-07-20Use Objective-C++ in main.Remko Tronçon
2009-07-20Roll our own Cocoa builds.Remko Tronçon
2009-07-19More Nim->Slimber renaming.Remko Tronçon
2009-07-16Added small Nim test program.Remko Tronçon
2009-07-11Added Limber module.Remko Tronçon
2009-06-26Added a 'make install-swift' target.Remko Tronçon
2009-06-25Debian Packaging seems to vaguely work now.Kevin Smith
2009-06-25Adding support for deb packaging.Kevin Smith
2009-06-22Let each module define its own .dep files.Remko Tronçon
2009-06-22Include Swift/Controllers dependencies in Makefile.Remko Tronçon
2009-06-21Colorized build now uses tput instead of ANSI color codes.Remko Tronçon
Avoids strange '-e' occurrences on platforms such as Ubuntu.
2009-06-16Make Swift compilation optional.Remko Tronçon
2009-06-10Moved Swiften/QA/UnitTest to QA/UnitTest.Remko Tronçon
2009-06-10Moved Swiften/Controllers to Swift/Controllers.Remko Tronçon
2009-06-10Moved UI/Qt -> Swift/QtUI.Remko Tronçon
2009-06-09Added SQLite to 3rdParty.Remko Tronçon
2009-06-06Use separate "MM" variable for make dependency generation tool.Remko Tronçon
On Windows, the compiler cannot be used as a make dependency generation. Make it possible to specify a different tool (e.g. GCC) for dependency generation through the MM variable.
2009-06-03Added bundled Expat.Remko Tronçon
2009-06-01Cleanup UI/Qt in 'make clean'.Remko Tronçon
2009-06-01Added LCov.Remko Tronçon
2009-06-01Import.Remko Tronçon