summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalNinjaGenerator.cxx
Commit message (Collapse)AuthorAgeFilesLines
...
* Add projectDir parameter to GenerateBuildCommandPetr Kmoch2013-04-121-1/+3
| | | | | | | | 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.
* Merge topic 'ninja-escape-line-breaks'Brad King2013-03-131-0/+1
|\ | | | | | | | | 3b4436a Ninja: escape line breaks in literals
| * Ninja: escape line breaks in literalsPeter Kümmel2013-03-091-0/+1
| | | | | | | | BUG: 13591
* | Ninja: the Ninja generator does not support Fortran yet.Peter Kümmel2013-03-101-5/+11
|/
* Ninja: use MinGW generator code in EnableLanguage()Peter Kümmel2013-03-091-57/+4
|
* Make cmGlobalGenerator::GetDocumentation() a static functionPatrick Gansterer2012-11-191-2/+2
| | | | | Making the function static allows us to call it directly, without creating and removing an instance of the generator.
* Ninja: don't confuse ninja's rsp files with nmake'sPeter Kümmel2012-09-281-3/+9
| | | | Move response files into CMakeFiles/ which makes them different to nmake's.
* Merge topic 'ninja-fix-macosx'David Cole2012-07-241-0/+47
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1fc8df9 Add missing this->. 7a3ecf5 Fix memory leak in Makefile generator. 9f7dc83 Ninja: also bootstrap ninja files 5d365b2 Ninja: enable ninja support everywhere d569f3e Ninja: void function can't return a value 52160bf Ninja: enable ninja on Mac so all Mac CDash-builds are tested, cleanup later 56aeac6 Ninja: fixes for bcc 7a6bc9e Ninja: remove 'this' from member initializer list 44ba4cf Ninja: remove warnings 7751966 Ninja: remove 'friend' in ninja code c3988ee Re-factor OS X content generator start up. f8e0a51 Re-factor framework directory computation. f36c7b0 Re-factor Mac OS X content directory computation. 5d885db Re-factor bundle content copying rules generation. 3b2a01e Ninja: Use same echo message as makefiles. 7bb56c5 Re-factor CFBundle generation. ...
| * Ninja: Copy resource files in the bundle.Nicolas Despres2012-07-171-0/+47
| | | | | | | | This patch fixes test BundleTest on Darwin.
* | Ninja: path is already declaredPeter Kümmel2012-07-161-6/+6
| |
* | Ninja: more searching for windresPeter Kümmel2012-07-151-8/+23
| | | | | | | | | | search for windres with and without prefix, and also when only CXX compiler is set.
* | Ninja: there could be null pointersPeter Kümmel2012-07-151-2/+3
| |
* | Ninja: search for windres with prefixPeter Kümmel2012-07-151-3/+11
| |
* | Ninja: windres is also used for cross-compilingPeter Kümmel2012-07-151-3/+2
|/ | | | | It makes no sense to set windres.exe as default, especially when we are on Linux or Unix.
* Ninja: error on missing rspfile_contentPeter Kümmel2012-07-101-5/+9
|
* Ninja: also write link libraries to rsp filePeter Kümmel2012-07-101-1/+9
| | | | and enable rspfile support on Linux, needed for commands longer than e.g. 2096152 characters on Ubuntu.
* Merge topic 'ninja-fixes'David Cole2012-07-091-1/+1
|\ | | | | | | | | | | | | | | 6b31d39 Ninja: don't shadow 'outputs' variable 9b311fb Ninja: add soname test case e3b1be2 Ninja: Clean all symlink created for libraries. 990f77e Ninja: remove int/size_t warning
| * Ninja: remove int/size_t warningPeter Kuemmel2012-07-091-1/+1
| |
* | Merge topic 'ninja-cmdLineLimit'David Cole2012-07-091-19/+22
|\ \ | |/ | | | | | | | | 6332ba5 Ninja: also consider rule command length for rsp file 0c42faf Ninja: also consider variables when checking command line length
| * Ninja: also consider rule command length for rsp filePeter Kuemmel2012-07-021-0/+2
| |
| * Ninja: also consider variables when checking command line lengthPeter Kuemmel2012-07-011-19/+20
| |
* | Merge topic 'fix-typo'David Cole2012-07-091-1/+1
|\ \ | | | | | | | | | | | | b163c45 Ninja: Fix typo: tagets -> targets
| * | Ninja: Fix typo: tagets -> targetsDavid Cole2012-06-261-1/+1
| |/ | | | | | | Thanks to Claus Klein for the report on the mailing list.
* | Merge topic 'Ninja-absolute-compile-commands'David Cole2012-07-091-1/+10
|\ \ | |/ |/| | | | | | | | | ca403b8 Construct the full path before escaping it. f9383a9 STYLE: Fix line length, remove extra blank line e30d46e Use full paths in compile_commands.json for out of source builds.
| * Use full paths in compile_commands.json for out of source builds.Stephen Kelly2012-06-191-1/+10
| | | | | | | | | | | | | | Clang tooling requires that paths in the directory and file JSON fields are relative to the directory field, but clang doesn't normalize the paths already. The result is that clang doesn't find the relevant entry for files which begin with ../.
* | Merge topic 'ninja-cldeps'David Cole2012-06-191-9/+26
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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: Eclipse and KDevelop fixes for ninjaPeter Kuemmel2012-06-151-2/+13
| | | | | | | | | | | | Thx to Claus Klein
| * | Ninja: be more accurate when estimating the command line lengthPeter Kuemmel2012-06-151-1/+2
| | |
| * | 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?
* | | Merge branch 'ninja-rspfile' into no-std-stringstreamBrad King2012-06-121-25/+79
|\ \ \ | |/ / | | / | |/ |/| | | | | Conflicts: Source/cmGlobalNinjaGenerator.cxx Source/cmLocalNinjaGenerator.cxx Source/cmNinjaNormalTargetGenerator.cxx
| * 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.
* | Avoid direct use of std::(o|)stringstream (#13272)Brad King2012-06-121-3/+3
|/ | | | | | | | | 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.
* 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
|