Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-07-27 | Add clang-tidy support | Kevin 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-16 | Remove autoconf/make files. | Remko Tronçon | |
2009-07-24 | Update the build system. | Remko Tronçon | |
Coverage now works better. Some files are cleaned by default (without the need of CLEANFILES). | |||
2009-07-20 | Added Cocoa event loop. | Remko Tronçon | |
2009-07-20 | Use icon in menulet. | Remko Tronçon | |
2009-07-20 | Use Objective-C++ in main. | Remko Tronçon | |
2009-07-20 | Roll our own Cocoa builds. | Remko Tronçon | |
2009-07-19 | More Nim->Slimber renaming. | Remko Tronçon | |
2009-07-16 | Added small Nim test program. | Remko Tronçon | |
2009-07-11 | Added Limber module. | Remko Tronçon | |
2009-06-26 | Added a 'make install-swift' target. | Remko Tronçon | |
2009-06-25 | Debian Packaging seems to vaguely work now. | Kevin Smith | |
2009-06-25 | Adding support for deb packaging. | Kevin Smith | |
2009-06-22 | Let each module define its own .dep files. | Remko Tronçon | |
2009-06-22 | Include Swift/Controllers dependencies in Makefile. | Remko Tronçon | |
2009-06-21 | Colorized build now uses tput instead of ANSI color codes. | Remko Tronçon | |
Avoids strange '-e' occurrences on platforms such as Ubuntu. | |||
2009-06-16 | Make Swift compilation optional. | Remko Tronçon | |
2009-06-10 | Moved Swiften/QA/UnitTest to QA/UnitTest. | Remko Tronçon | |
2009-06-10 | Moved Swiften/Controllers to Swift/Controllers. | Remko Tronçon | |
2009-06-10 | Moved UI/Qt -> Swift/QtUI. | Remko Tronçon | |
2009-06-09 | Added SQLite to 3rdParty. | Remko Tronçon | |
2009-06-06 | Use 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-03 | Added bundled Expat. | Remko Tronçon | |
2009-06-01 | Cleanup UI/Qt in 'make clean'. | Remko Tronçon | |
2009-06-01 | Added LCov. | Remko Tronçon | |
2009-06-01 | Import. | Remko Tronçon | |