summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalNinjaGenerator.cxx
Commit message (Collapse)AuthorAgeFilesLines
* Ninja: undo all the NOSHELL patchesPeter Kuemmel2012-06-141-9/+1
|
* Ninja: remove nop linePeter Kuemmel2012-06-141-2/+0
|
* Ninja: build with old vc versionsPeter Kuemmel2012-06-141-1/+1
|
* Ninja: don't use shell when cmake is called directlyPeter Kuemmel2012-06-141-1/+9
| | | | | | | | | | | | | | | 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-11/+1
|
* Ninja: don't pollute the rules file with useless commentsPeter Kuemmel2012-06-101-1/+19
|
* Ninja: allow spaces in source pathPeter Kuemmel2012-06-081-13/+1
| | | | And make /showIncude prefix visible for all build rules
* Ninja: add wrapper for cl to extract dependenciesPeter Kuemmel2012-06-081-2/+13
| | | | | | | | | | | cmcldeps wraps cl and adds /showInclude before calling cl. It parses the output of cl for used headers, drops system headers and writes them to a GCC like dependency file. cmcldeps uses ATM ninja code for process handling, but could be ported later to SystemTools. TODO: Why needs ninja multiple calls in the BuildDepends test?
* Ninja: find mingw's resource compilerPeter Kuemmel2012-06-061-10/+20
|
* Ninja: don't break because of empty commandsPeter Kuemmel2012-06-051-1/+8
|
* Ninja: check for valid pointerPeter Kuemmel2012-06-051-2/+2
|
* Ninja: add response file support on WindowsPeter Kuemmel2012-06-051-21/+58
| | | | | | | 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/+42
|
* Merge topic 'ninja-error-failbit'David Cole2012-05-171-0/+5
|\ | | | | | | | | b94514f Ninja: mark rules/build file streams failed if error occurred (#13067, #13105)
| * Ninja: mark rules/build file streams failed if error occurred (#13067, #13105)Peter Collingbourne2012-05-161-0/+5
| | | | | | | | | | This causes cmGeneratedFileStream to delete the temporary files, rather than overwriting the (working) existing files.
* | Ninja: Add a convenient 'help' target.Nicolas Despres2012-05-091-0/+21
| |
* | Ninja: Add a convenient 'clean' target.Nicolas Despres2012-05-091-0/+21
|/ | | | | It has been asked on the mailing list: http://public.kitware.com/pipermail/cmake-developers/2012-April/003805.html
* 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.
* Pre-compute object file names before Ninja generationBrad King2012-03-161-0/+29
| | | | | | 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: Shell encode various CMake invocationsPeter Collingbourne2012-02-191-4/+11
|
* Ninja: Backslash rules for WindowsPeter Collingbourne2012-02-191-4/+13
| | | | | | 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: Identifier encoding rules for ' ' and ':'Peter Collingbourne2012-02-181-2/+6
|
* Ninja: Partially revert "win fixes: escape back slash/colon, use cd. as ↵Peter Collingbourne2012-02-181-9/+2
| | | | | | | | | cmd.exe nop" It introduced encoding rules in the wrong place, and broke the CustomCommand test case. This reverts commit 7fb2bb3e8b0dc7bc718aadc4ab9a74cb7fdb656e.
* Ninja: win fixes: escape back slash/colon, use cd. as cmd.exe nopPeter Kuemmel2012-02-181-2/+9
|
* Ninja: Appease various compilersPeter Collingbourne2012-02-051-5/+6
|
* Ninja: Remove some default argumentsPeter Collingbourne2012-02-051-4/+1
|
* Ninja: Add the Ninja generatorPeter Collingbourne2012-02-021-0/+774