summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalNinjaGenerator.h
Commit message (Collapse)AuthorAgeFilesLines
* cmGlobalGenerator: Make CheckALLOW_DUPLICATE_CUSTOM_TARGETS constStephen Kelly2014-01-121-1/+1
|
* Constify handling of target dependencies.Stephen Kelly2013-12-111-2/+2
|
* cmGlobalGenerator: Cleanup GenerateBuildCommand APIBrad King2013-11-181-8/+10
| | | | | | | | | All cmGlobalGenerator::GenerateBuildCommand call sites that need to produce a string now generate "cmake --build" commands. The remaining call sites immediately pass the result to cmSystemTools::RunSingleCommand. Avoid the intermediate string and argument parsing by directly producing a vector of strings. Also drop the ignoreErrors argument because no call sites remain that use it.
* Refactor tool selection for edit_cache (#14544)Brad King2013-11-121-0/+1
| | | | | | | | | Refactor edit_cache tool selection to ask each global generator for its preference. Teach the Ninja generator to always use cmake-gui because Ninja by design cannot run interactive terminal dialogs like ccmake. Teach the Makefile generator to use cmake-gui when also using an "extra" generator whose IDE has no terminal to run ccmake, and otherwise fall back to CMAKE_EDIT_COMMAND selection for normal Makefile build systems.
* Ninja: use deps = gcc/msvc featurePeter Kümmel2013-10-241-6/+9
| | | | cmcldeps is now only used for .rc file processing
* Ninja: Custom Command file depends don't need to exist before buildingRobert Maynard2013-07-011-0/+7
| | | | | | | | | | | | | | | When converting custom commands for the ninja build system we need to make sure that any file dependencies that exist in the build tree are converted to phony targets. This tells ninja that these files might not exist when starting the build, but could be generated during the build. This is done by tracking all dependencies for custom command targets. After all have been written out we remove all items from the set that have been seen as a target, custom command output, an alias, or a file in the source directory. Anything that is left is considered to be a file that will be generated as a side effect of another custom command.
* Ninja: GlobalNinjaGenerator WriteBuild and WritePhonyBuild non staticRobert Maynard2013-07-011-17/+17
| | | | | | To properly track the usage of dependencies that are generated at compile time as the side effect of other build steps we need to make the WriteBuild and WritePhonyBuild commands non static
* Add projectDir parameter to GenerateBuildCommandPetr Kmoch2013-04-121-0/+1
| | | | | | | | Extend the cmGlobalGenerator::GenerateBuildCommand virtual method signature with a "projectDir" parameter specifying the top of the project build tree for which the build command will be generated. Populate it from call sites in cmGlobalGenerator::Build where a fully-generated build tree should be available.
* Make cmGlobalGenerator::GetDocumentation() a static functionPatrick Gansterer2012-11-191-1/+1
| | | | | Making the function static allows us to call it directly, without creating and removing an instance of the generator.
* Introduce the abstract class cmGlobalGeneratorFactoryPatrick Gansterer2012-11-191-2/+3
| | | | | This new abstract class allows us move some logic from the cmGlobalGenerator into its own layer in a next step.
* Ninja: don't confuse ninja's rsp files with nmake'sPeter Kümmel2012-09-281-0/+1
| | | | Move response files into CMakeFiles/ which makes them different to nmake's.
* Ninja: remove 'friend' in ninja codePeter Kümmel2012-07-181-52/+52
|
* Ninja: Copy resource files in the bundle.Nicolas Despres2012-07-171-0/+4
| | | | This patch fixes test BundleTest on Darwin.
* Ninja: remove some unused default argumentsPeter Kümmel2012-07-101-7/+7
|
* Ninja: also write link libraries to rsp filePeter Kümmel2012-07-101-1/+3
| | | | and enable rspfile support on Linux, needed for commands longer than e.g. 2096152 characters on Ubuntu.
* Ninja: also consider rule command length for rsp filePeter Kuemmel2012-07-021-0/+5
|
* Ninja: build cmcldeps with mingwPeter Kuemmel2012-06-151-1/+1
|
* Ninja: Eclipse and KDevelop fixes for ninjaPeter Kuemmel2012-06-151-0/+2
| | | | Thx to Claus Klein
* Ninja: undo all the NOSHELL patchesPeter Kuemmel2012-06-141-1/+0
|
* Ninja: don't use shell when cmake is called directlyPeter Kuemmel2012-06-141-0/+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: remove unused CommentStreamPeter Kuemmel2012-06-131-7/+0
|
* Ninja: use slashes for include dirs, so also slahes are in the .d filesPeter Kuemmel2012-06-121-0/+3
|
* Ninja: don't pollute the rules file with useless commentsPeter Kuemmel2012-06-101-0/+10
|
* Ninja: add response file support on WindowsPeter Kuemmel2012-06-051-1/+6
| | | | | | | 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.
* Make the CMAKE_EXPORT_COMPILE_COMMANDS option work with Ninja.Stephen Kelly2012-06-041-0/+6
|
* Ninja: Add a convenient 'help' target.Nicolas Despres2012-05-091-0/+1
|
* Ninja: Add a convenient 'clean' target.Nicolas Despres2012-05-091-0/+1
| | | | | It has been asked on the mailing list: http://public.kitware.com/pipermail/cmake-developers/2012-April/003805.html
* Pre-compute object file names before Ninja generationBrad King2012-03-161-0/+6
| | | | | | Implement cmGlobalGenerator::ComputeTargetObjects in the Ninja generator to pre-compute all the object file names. Use the results during generation instead of re-computing it later.
* Ninja: Constify use of cmCustomCommandBrad King2012-03-131-2/+2
| | | | The generator never needs to modify custom command instances.
* Ninja: add .def file supportPeter Kuemmel2012-03-071-0/+2
|
* Ninja: Backslash rules for WindowsPeter Collingbourne2012-02-191-0/+1
| | | | | | Generally these are only required in build statements, as Ninja wants to be able to chop paths up. But it doesn't hurt to also try to use them in command line arguments.
* Ninja: Appease various compilersPeter Collingbourne2012-02-051-1/+1
|
* Ninja: Add the Ninja generatorPeter Collingbourne2012-02-021-0/+329