summaryrefslogtreecommitdiffstats
path: root/Source/cmNinjaNormalTargetGenerator.cxx
Commit message (Collapse)AuthorAgeFilesLines
* Ninja: job pool support for compiling and linkingPeter Kümmel2013-11-251-0/+2
| | | | | Could be tested by setting the environment variable NINJA_STATUS=[%r]
* Port some of the generator API to cmGeneratorTarget.Stephen Kelly2013-11-221-6/+8
| | | | | | | Just enough to reach the BuildMacContentDirectory method and the NeedRelinkBeforeInstall methods. In the future, those methods can be moved to cmGeneratorTarget.
* cmTarget: Make custom command accessors API const.Stephen Kelly2013-11-191-1/+1
| | | | Add specific mutators instead of providing non-const refs.
* Ninja: use deps = gcc/msvc featurePeter Kümmel2013-10-241-3/+20
| | | | cmcldeps is now only used for .rc file processing
* OS X: Fix regression handling frameworks for NinjaClinton Stimpson2013-07-221-2/+4
| | | | | | | | | | Fix a regression created by commit 373faae5 (Refactor how bundles and frameworks are supported, 2013-05-05). Since the ninja file isn't aware of how framework symlinks work, we suppress symlink creation and let cmOSXBundleGenerator handle it. Also, use the real name of framework library in build rules as was done before, instead of the symlink.
* Revert "Use --sysroot when cross compiling."Stephen Kelly2013-07-121-21/+1
| | | | | | | This reverts commit de4da665d3205afa239749c41513a315c3831f51. This feature is not yet ready for release. It needs to be merged with the CMAKE_OSX_SYSROOT feature.
* Ninja: GlobalNinjaGenerator WriteBuild and WritePhonyBuild non staticRobert Maynard2013-07-011-36/+41
| | | | | | 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
* Merge topic 'set-sysroot'Brad King2013-06-241-1/+21
|\ | | | | | | | | de4da66 Use --sysroot when cross compiling.
| * Use --sysroot when cross compiling.Stephen Kelly2013-06-071-1/+21
| | | | | | | | | | | | | | | | | | | | As CMAKE_ROOT_FIND_PATH can be a list, a new CMAKE_SYSROOT is introduced, which is never a list. The contents of this variable is passed to supporting compilers as --sysroot. It is also accounted for when processing implicit link directories reported by the compiler, and when generating RPATH information.
* | Add whitespace after colons in error messages.Stephen Kelly2013-06-211-1/+2
|/
* Merge topic 'cfbundle-location'Brad King2013-06-041-2/+0
|\ | | | | | | | | 483e208 OS X: Fix getting of CFBundle LOCATION property.
| * OS X: Fix getting of CFBundle LOCATION property.Clinton Stimpson2013-06-031-2/+0
| | | | | | | | | | | | | | This fixes bug #13797. The kinds of changes applied in 373faae5 for frameworks are now applied to CFBundle. The prefix and suffix for CFBundles are now handled in cmTarget::GetFullNameInternal.
* | Merge topic 'framework-refactor'Brad King2013-06-031-6/+13
|\ \ | |/ | | | | | | 373faae Refactor how bundles and frameworks are supported.
| * Refactor how bundles and frameworks are supported.Clinton Stimpson2013-05-231-6/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make handling of directory separators consistent between non-bundle and bundle code. Remove xcode specific flag from cmTarget when getting install_name. Add (more) consistent convenience functions in cmTarget to get directories inside of bundles and frameworks to add files to. This refactor also fixes bug #12263 where frameworks had the wrong install name when SKIP_BUILD_RPATH. Also make install_name for frameworks consistent between Makefile and Xcode generator.
* | Fix spelling and typos (non-binary)Andreas Mohr2013-05-071-1/+1
|/
* Ninja: Avoid LNK1170 linker errorPatrick Gansterer2013-02-041-1/+1
| | | | | | | link.exe has problems with very very long lines in rsp files too. Use $in_newline instead of $in variable for rspcontent which separates the arguments with a newline instead of a simple space and was specially made for this purpose.
* Ninja: encode LINK_FLAGS to handle bash variablesPeter Kümmel2012-11-201-0/+3
| | | | Bug 13560
* Resolve warnings about unused variables.Stephen Kelly2012-11-071-0/+1
|
* Ninja: add option to enforce usage of response filesPeter Kümmel2012-10-011-4/+4
| | | | | If the cmake or environment variable CMAKE_NINJA_FORCE_RESPONSE_FILE is set then a response file is used regardless the command line length.
* Ninja: move <OBJECTS> in front of the first linker optionPeter Kümmel2012-10-011-11/+25
| | | | | | In the response file also linker options could be passed, and because <OBJECTS> is replaced by a response file, it is necessary that no compiler option follows <OBJECTS>.
* Ninja: move -LIBPATH behind -link optionPeter Kümmel2012-10-011-0/+5
| | | | Don' pass linker option to the compile
* Ninja: don't confuse ninja's rsp files with nmake'sPeter Kümmel2012-09-281-2/+7
| | | | Move response files into CMakeFiles/ which makes them different to nmake's.
* Port cmLocalGenerator::GetTargetFlags to cmGeneratorTarget.Stephen Kelly2012-09-191-1/+1
|
* Make cmLocalGenerator::AddArchitectureFlags take a cmGeneratorTarget.Stephen Kelly2012-09-191-1/+1
|
* Ninja:split out setting of msvc TARGET_PDBPeter Kümmel2012-08-221-10/+1
|
* Ninja: prepare msvc pdb cleanupPeter Kümmel2012-08-221-15/+15
|
* Merge topic 'ninja-fix-macosx'David Cole2012-07-241-11/+48
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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: Use same echo message as makefiles.Nicolas Despres2012-07-171-1/+4
| |
| * Re-factor CFBundle generation.Nicolas Despres2012-07-171-32/+3
| |
| * Ninja: Add support for CFBundle.Nicolas Despres2012-07-171-0/+37
| | | | | | | | 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-147/+10
| |
| * Ninja: Add support for OX X library framework.Nicolas Despres2012-07-171-0/+120
| | | | | | | | This patch fixes test ExportImport on Darwin.
| * Ninja: Add support for OS X app bundles.Nicolas Despres2012-07-171-10/+55
| | | | | | | | | | | | This patch fixes test Qt4Deploy on Darwin. Thanks to Jamie Kirkpatrick <jkp@kirkconsulting.co.uk>
* | Merge topic 'ninja-mingw-TARGET_PDB'David Cole2012-07-241-1/+21
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | 9e30289 Ninja: Cannot pass a reference to an anonymous object. 0a3d6a1 Ninja: make debug symbol suffix configurable by CMAKE_DEBUG_SYMBOL_SUFFIX 75bbffb Ninja: make TARGET_PDB a real .gdb file name e5a27a4 Ninja: line length ae8124a Ninja: also mingw needs TARGET_PDB
| * | Ninja: Cannot pass a reference to an anonymous object.Nicolas Despres2012-07-181-1/+2
| | |
| * | Ninja: make debug symbol suffix configurable by CMAKE_DEBUG_SYMBOL_SUFFIXPeter Kümmel2012-07-171-1/+5
| | |
| * | Ninja: make TARGET_PDB a real .gdb file namePeter Kümmel2012-07-171-5/+11
| | |
| * | Ninja: line lengthPeter Kümmel2012-07-161-1/+1
| | |
| * | Ninja: also mingw needs TARGET_PDBPeter Kümmel2012-07-161-0/+9
| |/
* | Ninja: fix sytlePeter Kümmel2012-07-131-1/+2
| |
* | Ninja: fix GCC 4.7 warning -WconversionPeter Kümmel2012-07-131-1/+1
|/
* Ninja: sysconf() is declared in unistd.hPeter Kümmel2012-07-111-0/+5
|
* Ninja: enable response file support on Mac (length 262144)Peter Kümmel2012-07-111-2/+2
|
* Ninja: disable work around when linking with mingwPeter Kümmel2012-07-111-2/+6
| | | | | | | The work around is only needed by older GCCs (only testet 4.4/4.7) Ninja is very new so chances are high that there is also a new mingw. Use slashes in link rsp file, because ar.exe can't handle \.
* Ninja: also write link libraries to rsp filePeter Kümmel2012-07-101-11/+16
| | | | and enable rspfile support on Linux, needed for commands longer than e.g. 2096152 characters on Ubuntu.
* Ninja: don't shadow 'outputs' variablePeter Kuemmel2012-07-091-4/+4
|
* Ninja: Clean all symlink created for libraries.Nicolas Despres2012-07-091-2/+11
| | | | | | 'ninja -t clean' only cleans built output and dep files so all file created as a side effect and not mentioned in the 'build' statement would be omitted.
* Ninja: also consider rule command length for rsp filePeter Kuemmel2012-07-021-1/+2
|
* Merge topic 'ninja-cldeps'David Cole2012-06-191-38/+34
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 ...