summaryrefslogtreecommitdiffstats
path: root/Source/cmNinjaNormalTargetGenerator.h
Commit message (Collapse)AuthorAgeFilesLines
* Ninja: Add multi-config variantKyle Edwards2019-12-131-1/+2
| | | | Co-Authored-by: vector-of-bool <vectorofbool@gmail.com>
* Refactor: Prepare Ninja generator for multi-configKyle Edwards2019-12-131-12/+12
|
* Revise include order using clang-format-6.0Kitware Robot2019-10-011-3/+3
| | | | | Run the `clang-format.bash` script to update our C and C++ code to a new include order `.clang-format`. Use `clang-format` version 6.0.
* Create and use `cmGeneratorTarget::Names`Saleem Abdulrasool2019-02-111-7/+2
| | | | | | Rather than taking a number of out parameters for the various names, create a structure that is reused for both `GetLibraryNames` and `GetExecutableNames`. Replace uses according to the new interface.
* Use C++11 override instead of CM_OVERRIDEBrad King2017-09-151-2/+2
| | | | | | | | We now require C++11 support including `override`. Drop use of the old compatibility macro. Convert references as follows: git grep -l CM_OVERRIDE -- '*.h' '*.hxx' '*.cxx' | xargs sed -i 's/CM_OVERRIDE/override/g'
* IWYU: Mark cmConfigure.h with pragma: keepDaniel Pfeifer2017-08-261-1/+1
| | | | Also remove `#include "cmConfigure.h"` from most source files.
* Use quotes for non-system includesDaniel Pfeifer2017-04-111-1/+1
| | | | | | | | | | | | | Automate with: git grep -l '#include <cm_' -- Source \ | xargs sed -i 's/#include <\(cm_.*\)>/#include "\1"/g' git grep -l '#include <cmsys/' -- Source \ | xargs sed -i 's/#include <\(cmsys\/.*\)>/#include "\1"/g' git grep -l '#include <cm[A-Z]' -- Source \ | xargs sed -i 's/#include <\(cm[A-Z].*\)>/#include "\1"/g'
* CUDA: Add separable compilation support to the ninja generator.Robert Maynard2016-11-141-0/+10
|
* Simplify CMake per-source license noticesBrad King2016-09-271-12/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | Per-source copyright/license notice headers that spell out copyright holder names and years are hard to maintain and often out-of-date or plain wrong. Precise contributor information is already maintained automatically by the version control tool. Ultimately it is the receiver of a file who is responsible for determining its licensing status, and per-source notices are merely a convenience. Therefore it is simpler and more accurate for each source to have a generic notice of the license name and references to more detailed information on copyright holders and full license terms. Our `Copyright.txt` file now contains a list of Contributors whose names appeared source-level copyright notices. It also references version control history for more precise information. Therefore we no longer need to spell out the list of Contributors in each source file notice. Replace CMake per-source copyright/license notice headers with a short description of the license and links to `Copyright.txt` and online information available from "https://cmake.org/licensing". The online URL also handles cases of modules being copied out of our source into other projects, so we can drop our notices about replacing links with full license text. Run the `Utilities/Scripts/filter-notices.bash` script to perform the majority of the replacements mechanically. Manually fix up shebang lines and trailing newlines in a few files. Manually update the notices in a few files that the script does not handle.
* fix a batch of include-what-you-use violationsDaniel Pfeifer2016-08-231-5/+4
|
* mark functions with CM_OVERRIDEDaniel Pfeifer2016-06-271-2/+2
|
* Source: Stabilize include orderBrad King2016-04-291-5/+5
| | | | | Each source file has a logical first include file. Include it in an isolated block so that tools that sort includes do not move them.
* stringapi: Use strings for the languagesBen Boeckel2014-03-081-1/+1
|
* Port some of the generator API to cmGeneratorTarget.Stephen Kelly2013-11-221-1/+2
| | | | | | | Just enough to reach the BuildMacContentDirectory method and the NeedRelinkBeforeInstall methods. In the future, those methods can be moved to cmGeneratorTarget.
* Re-factor CFBundle generation.Nicolas Despres2012-07-171-1/+0
|
* Ninja: Add support for CFBundle.Nicolas Despres2012-07-171-0/+1
| | | | This patch fixes test CFBundleTest on Darwin.
* Ninja: Copy resource files in the bundle.Nicolas Despres2012-07-171-2/+0
| | | | This patch fixes test BundleTest on Darwin.
* Re-factor OS X bundle and framework generation.Nicolas Despres2012-07-171-4/+6
|
* Ninja: Add support for OX X library framework.Nicolas Despres2012-07-171-0/+2
| | | | This patch fixes test ExportImport on Darwin.
* Ninja: Add support for OS X app bundles.Nicolas Despres2012-07-171-0/+2
| | | | | | This patch fixes test Qt4Deploy on Darwin. Thanks to Jamie Kirkpatrick <jkp@kirkconsulting.co.uk>
* Ninja: undo all the NOSHELL patchesPeter Kuemmel2012-06-141-1/+1
|
* Ninja: don't use shell when cmake is called directlyPeter Kuemmel2012-06-141-1/+1
| | | | | | | | | | | | | | | When linking with cmake and vs_link_* the command line could be too long for cmd.exe, which needs not to be called in this case. (was not cached by a test) Introduce rules which don't use the shell and use this rule when there are no pre or post step. For free we get a small speedup, because cmd is then not called. Also be more accurate when estimating the command line length.
* Ninja: work with ninja/master, don't compile rc files with clPeter Kuemmel2012-06-121-3/+0
| | | | | Ninja generates for paths with spaces wrong results for $out.d, using the new DEP_FILE variable instead.
* Ninja: add response file support on WindowsPeter Kuemmel2012-06-051-1/+1
| | | | | | | When MinGW is used slashes are used for dependencies because ar.exe can't read rsp files with backslashes. Many thx to Claus Klein for starting working on this.
* Ninja: ensure output directories existPeter Kuemmel2012-04-061-0/+3
|
* Build object library targets in NinjaBrad King2012-03-161-0/+1
| | | | | | Treat OBJECT libraries as STATIC libraries but leave out the archive step. The object files will be left behind for reference by other targets later.
* Ninja: Add the Ninja generatorPeter Collingbourne2012-02-021-0/+47