summaryrefslogtreecommitdiffstats
path: root/Source/cmNinjaTargetGenerator.cxx
Commit message (Collapse)AuthorAgeFilesLines
* VS: Restore header files marked as OS X Framework content (#13196)Brad King2012-05-071-1/+0
| | | | | | | | | | | | | | | Header files listed in a target's PUBLIC_HEADER or similar properties are marked as OS X Framework content. Refactoring performed by commit 11d9b211 (Add cmGeneratorTarget to represent a target during generation, 2012-03-07) commit 45c2f932 (Simplify cmMakefileTargetGenerator using cmGeneratorTarget, 2012-03-07) commit 328c0f65 (Simplify cmVisualStudio10TargetGenerator source classification, 2012-03-19) and related commits accidentally removed such files from treatment as normal header files by the VS generator (generators other than Makefiles and Xcode). Move handling of such files out of cmGeneratorTarget and back to cmMakefileTargetGenerator. The central cmGeneratorTarget classification will always treat them as header or extra sources.
* Merge topic 'ninja-generated-def'David Cole2012-04-031-4/+9
|\ | | | | | | | | | | 3fd0dde Merge branch 'test-generated-def' into ninja-generated-def d2c764a Ninja: Fix module .def file path conversion
| * Ninja: Fix module .def file path conversionBrad King2012-04-021-4/+9
| | | | | | | | | | | | | | | | | | | | | | | | Refactoring in commit a2514f15 (Simplify cmNinjaTargetGenerator using cmGeneratorTarget, 2012-03-13) accidentally removed mapping of .def file paths through ConvertToNinjaPath (via GetSourceFilePath). Take the ModuleDefinitionFile value from cmGeneratorTarget and map it correctly through ConvertToNinjaPath. In addition to generating cleaner paths in the ninja build files this correctly links up references to a generated .def file with the custom command output that produces it.
* | Merge topic 'ninja-generator'David Cole2012-03-271-0/+4
|\ \ | | | | | | | | | | | | 6b5614f Ninja: Substitute <OBJECT> and <CMAKE_C_COMPILER> in depfile flags
| * | Ninja: Substitute <OBJECT> and <CMAKE_C_COMPILER> in depfile flagsPeter Collingbourne2012-03-261-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | Patch by Amine Khaldi! Also, start using the -MT flag to set a target name for depfiles. This works around a bug observed in distcc, as explained in the comment. Based on a patch by Alexander Usov.
* | | Merge topic 'object-library'David Cole2012-03-201-42/+54
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 93d5509 Merge branch 'ninja-object-library' into object-library 821037c Merge branch 'xcode-object-library' into object-library eb24c99 Merge branch 'object-library' into xcode-object-library 63d1be8 Xcode: Honor $<TARGET_OBJECTS:...> source expressions 020ba38 Merge branch 'object-library' into xcode-object-library e8ea615 Build object library targets in Xcode 8045e17 Pre-compute object file names before Xcode generation 247a132 Allow txt files as ExtraSources in object library targets b063599 Add a default source group for object files. be01f3b Xcode: Re-factor some existing methods into "FromPath" variants 2693dbe Merge branch 'object-library' into ninja-object-library 51997cb Ninja: Honor $<TARGET_OBJECTS:...> source expressions 23ec258 Merge branch 'object-library' into ninja-object-library 61124de Build object library targets in Ninja f5b06cd Pre-compute object file names before Ninja generation a2514f1 Simplify cmNinjaTargetGenerator using cmGeneratorTarget ...
| * | Ninja: Honor $<TARGET_OBJECTS:...> source expressionsBrad King2012-03-161-0/+11
| | | | | | | | | | | | | | | Add objects from object libraries referenced using this syntax to the set of objects linked in a target.
| * | Build object library targets in NinjaBrad King2012-03-161-1/+3
| | | | | | | | | | | | | | | | | | 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-1/+4
| |/ | | | | | | | | | | 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.
| * Simplify cmNinjaTargetGenerator using cmGeneratorTargetBrad King2012-03-161-40/+36
| | | | | | | | | | Replace the classification of source files in this generator using that computed by cmGeneratorTarget.
* | Ninja: add support for OBJECT_OUTPUTS, fix PrecompiledHeader test casePeter Collingbourne2012-03-171-0/+11
|/
* Ninja: Fix for PDB files with spaces in the path.Bill Hoffman2012-03-161-1/+2
| | | | | This calls ConvertToOutputFormat on the PDB paths for pdb file paths used in both library creation and the building of object files.
* Ninja: add .def file supportPeter Kuemmel2012-03-071-0/+36
|
* Ninja: Use cmSystemTools::ExpandListArgument to split compile/link commandsPeter Collingbourne2012-02-271-2/+9
|
* Ninja: CMake: Adapt Ninja generator for per-target include dirsDavid Cole2012-02-221-1/+4
| | | | | | | | The confluence of the ninja-generator and target-include-directories branches conspired to produce a nice little compiler error when they were both merged into 'next'... Yay for Continuous dashboards!
* Ninja: windows msvc: create for each target a .pdb filePeter Kuemmel2012-02-211-0/+19
|
* Ninja: Import library support for WindowsPeter Collingbourne2012-02-191-13/+0
|
* Ninja: mark the Windows specific hacks with a comment onlyPeter Kuemmel2012-02-191-1/+4
|
* Ninja: add some hacks for WindowsPeter Kuemmel2012-02-191-0/+10
|
* Ninja: Backslash rules for WindowsPeter Collingbourne2012-02-191-7/+0
| | | | | | 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: Add the Ninja generatorPeter Collingbourne2012-02-021-0/+445