summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalNinjaGenerator.cxx
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'ninja-cldeps'David Cole2012-06-191-0/+2
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | eb410e8 Ninja: disable cldeps for bcc32, it's too old, and ninja would also not build 5ead31d Ninja: try work around for bcc32 bug 1333b57 Ninja: build server fixes 9081e3a remove warning about unused parameter f430bea Ninja: maybe this fixes the bcc32 build f2c1288 Ninja: msvc6 for-scoping 44b9bbc Ninja: build with old msvc versions 57156a5 Ninja: build server fixes f1abdce Ninja: some bytes of the rc files couldn't be piped correctly 2de963d Ninja: don't remove space between command and parameters 50b6f33 Ninja: build cmcldeps with mingw c05653e Ninja: try to make GetProcessId visible ab245ff Ninja: but cl supports /nologo ... bf58e9a Ninja: no /nologo option in old rc.exe 2fb07fc Ninja: Eclipse and KDevelop fixes for ninja 518c065 Ninja: don't pollute build dir with preprocessed rc files ...
| * Ninja: undo all the NOSHELL patchesPeter Kuemmel2012-06-141-11/+2
| |
| * Ninja: don't use shell when cmake is called directlyPeter Kuemmel2012-06-141-2/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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: don't pollute the rules file with useless commentsPeter Kuemmel2012-06-101-0/+2
| |
* | Merge branch 'ninja-rspfile' into no-std-stringstreamBrad King2012-06-121-6/+6
|\ \ | |/ | | | | | | | | | | Conflicts: Source/cmGlobalNinjaGenerator.cxx Source/cmLocalNinjaGenerator.cxx Source/cmNinjaNormalTargetGenerator.cxx
| * Ninja: add response file support on WindowsPeter Kuemmel2012-06-051-6/+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.
* | Avoid direct use of std::(o|)stringstream (#13272)Brad King2012-06-121-2/+2
|/ | | | | | | | | Older C++ compilers do not provide a standard std::stringstream. Use our compatibility interfaces instead. Also avoid std::stringstream(openmode) signature. Our approximate stringstream implementation provided when the standard one is not available does not support the openmode argument.
* Pre-compute object file names before Ninja generationBrad King2012-03-161-31/+0
| | | | | | 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-3/+3
| | | | The generator never needs to modify custom command instances.
* Ninja: Import library support for WindowsPeter Collingbourne2012-02-191-0/+1
|
* Ninja: Shell encode the command used in custom commandsPeter Collingbourne2012-02-191-1/+2
|
* Ninja: Shell encode paths used in "cd" commandsPeter Collingbourne2012-02-191-5/+5
|
* Ninja: Backslash rules for WindowsPeter Collingbourne2012-02-191-3/+8
| | | | | | 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: win fixes: escape back slash/colon, use cd. as cmd.exe nopPeter Kuemmel2012-02-181-0/+4
|
* Ninja: Fix a 79-col violationPeter Collingbourne2012-02-051-1/+1
|
* Ninja: Add the Ninja generatorPeter Collingbourne2012-02-021-0/+413