summaryrefslogtreecommitdiffstats
path: root/Source/cmGeneratorTarget.cxx
Commit message (Collapse)AuthorAgeFilesLines
* cmGeneratorTarget: Move GetSupportDirectory from cmTarget.Stephen Kelly2015-10-121-0/+15
|
* cmGeneratorTarget: Move HasImportLibrary from cmTarget.Stephen Kelly2015-10-121-1/+9
|
* cmGeneratorTarget: Move HasImplibGNUtoMS from cmTarget.Stephen Kelly2015-10-121-0/+21
|
* cmGeneratorTarget: Port processILibs to cmGeneratorTarget.Stephen Kelly2015-10-121-3/+3
|
* cmGeneratorTarget: Port getTypedProperty to cmGeneratorTarget.Stephen Kelly2015-10-121-5/+7
|
* cmGeneratorTarget: Port handleSystemIncludesDep to cmGeneratorTarget.Stephen Kelly2015-10-121-4/+5
|
* cmGeneratorTarget: Port LinkImplClosure to cmGeneratorTarget.Stephen Kelly2015-10-121-15/+15
|
* cmLinkItem: Port to cmGeneratorTarget.Stephen Kelly2015-10-121-11/+9
|
* cmGeneratorTarget: Move FindTargetToLink from cmTarget.Stephen Kelly2015-10-121-3/+39
|
* cmHeadToLinkInterfaceMap: Port to cmGeneratorTarget.Stephen Kelly2015-10-121-3/+3
|
* cmGeneratorTarget: Move GetUtilityItems from cmTarget.Stephen Kelly2015-10-121-2/+19
|
* cmComputeLinkInformation: Port data interface to cmGeneratorTarget.Stephen Kelly2015-10-121-2/+2
|
* Merge topic 'use-generator-target'Brad King2015-10-121-52/+657
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1c1c2a12 cmGeneratorTarget: Port ExpandLinkItems away from cmTarget. c66084f5 cmGeneratorTarget: Port GetImportLinkInterface away from cmTarget. 83c29e39 cmGeneratorTarget: Port ComputeLinkImplementationLibraries away from cmTarget. 19882554 cmGeneratorTarget: Port handleSystemIncludesDep away from cmTarget. c1f687b1 cmGeneratorTarget: Port GetLinkImplementationLibrariesInternal. a6e1f05c cmGeneratorTarget: Port ComputeLinkInterface away from cmTarget. 654002fe cmGeneratorTarget: Port ComputeLinkInterfaceLibraries away from cmTarget. 922c8901 cmGeneratorTarget: Port GetLinkInterface away from cmTarget. eaa5b9cb cmGeneratorTarget: Port cmTargetCollectLinkLanguages away from cmTarget. f539da12 cmGeneratorTarget: Port GetLinkInterfaceLibraries away from cmTarget. 1c5d70f9 cmGeneratorTarget: Port processILibs away from cmTarget. 064c2488 cmComputeLinkDepends: Port some API to cmGeneratorTarget. 3e428fdc cmGeneratorTarget: Move IsImportedSharedLibWithoutSOName from cmTarget. 110fd2fb cmGeneratorTarget: Move GetOutputTargetType from cmTarget. e7391699 cmGeneratorTarget: Move HasMacOSXRpathInstallNameDir from cmTarget. c5718217 cmGeneratorTarget: Move HaveInstallTreeRPATH from cmTarget. ...
| * cmGeneratorTarget: Port ExpandLinkItems away from cmTarget.Stephen Kelly2015-10-101-5/+5
| |
| * cmGeneratorTarget: Port GetImportLinkInterface away from cmTarget.Stephen Kelly2015-10-101-5/+5
| |
| * cmGeneratorTarget: Port ComputeLinkImplementationLibraries away from cmTarget.Stephen Kelly2015-10-101-4/+4
| |
| * cmGeneratorTarget: Port handleSystemIncludesDep away from cmTarget.Stephen Kelly2015-10-101-4/+4
| |
| * cmGeneratorTarget: Port GetLinkImplementationLibrariesInternal.Stephen Kelly2015-10-101-6/+6
| |
| * cmGeneratorTarget: Port ComputeLinkInterface away from cmTarget.Stephen Kelly2015-10-101-3/+4
| |
| * cmGeneratorTarget: Port ComputeLinkInterfaceLibraries away from cmTarget.Stephen Kelly2015-10-101-7/+8
| |
| * cmGeneratorTarget: Port GetLinkInterface away from cmTarget.Stephen Kelly2015-10-101-6/+6
| |
| * cmGeneratorTarget: Port cmTargetCollectLinkLanguages away from cmTarget.Stephen Kelly2015-10-101-4/+4
| |
| * cmGeneratorTarget: Port GetLinkInterfaceLibraries away from cmTarget.Stephen Kelly2015-10-101-5/+5
| |
| * cmGeneratorTarget: Port processILibs away from cmTarget.Stephen Kelly2015-10-101-3/+3
| |
| * cmGeneratorTarget: Move IsImportedSharedLibWithoutSOName from cmTarget.Stephen Kelly2015-10-101-0/+13
| |
| * cmGeneratorTarget: Move GetOutputTargetType from cmTarget.Stephen Kelly2015-10-101-2/+58
| |
| * cmGeneratorTarget: Move HasMacOSXRpathInstallNameDir from cmTarget.Stephen Kelly2015-10-101-2/+116
| |
| * cmGeneratorTarget: Move HaveInstallTreeRPATH from cmTarget.Stephen Kelly2015-10-081-1/+9
| |
| * cmGeneratorTarget: Move ComputePDBOutputDir from cmTarget.Stephen Kelly2015-10-081-3/+63
| |
| * cmGeneratorTarget: Move IsNullImpliedByLinkLibraries from cmTarget.Stephen Kelly2015-10-081-2/+10
| |
| * cmGeneratorTarget: Move output info from cmTarget.Stephen Kelly2015-10-081-4/+157
| |
| * cmGeneratorTarget: Move UsesDefaultOutputDir from cmTarget.Stephen Kelly2015-10-081-0/+8
| |
| * cmGeneratorTarget: Move GetPDBDirectory from cmTarget.Stephen Kelly2015-10-081-1/+13
| |
| * cmGeneratorTarget: Move GetDirectory from cmTarget.Stephen Kelly2015-10-081-6/+26
| |
| * cmGeneratorTarget: Move link implementation from cmTarget.Stephen Kelly2015-10-081-11/+161
| |
| * cmGeneratorTarget: Issue messages through the local generator.Stephen Kelly2015-10-081-6/+7
| |
* | cmGeneratorTarget: Use local GetProperty method.Stephen Kelly2015-10-081-14/+14
|/
* cmGeneratorTarget: Move computed sources from cmTarget.Stephen Kelly2015-10-071-10/+225
|
* cmGeneratorTarget: Inline GetSourceFiles from cmTarget.Stephen Kelly2015-10-071-1/+34
|
* cmGeneratorTarget: Move AddInterfaceEntries method.Stephen Kelly2015-10-071-28/+27
| | | | It will be needed here in a follow-up commit.
* cmTarget: Add API for generate-time source addition.Stephen Kelly2015-10-071-1/+1
| | | | | This method is a refactoring artifact. It will be removed in a follow-up.
* cmGeneratorTarget: Add methods for generate-time source addition.Stephen Kelly2015-10-071-1/+11
|
* Access sources through cmGeneratorTarget.Stephen Kelly2015-10-071-4/+4
|
* cmGeneratorTarget: Rename internal member.Stephen Kelly2015-10-061-3/+3
| | | | Leave the old name available for another use.
* cmGlobalGenerator: Initialize generator targets on construction (#15729)Stephen Kelly2015-09-291-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The Ninja generator and Visual Studio generators are special-cased for the QtAutogen feature. In order to reduce the number of custom targets, the Visual Studio generators prefer to create custom commands instead, and in order to create appropriate Ninja files, generated rcc files are listed as byproducts. This requires the use of the GetConfigCommonSourceFiles API of the cmGeneratorTarget for those generators when initializing the autogen target. The initializer method is called from Compute() after the cmGeneratorTarget objects are created, however the initialization of the object directory occurs later in the InitGeneratorTargets method. That means that the resulting object locations are computed incorrectly and cached before the object directory is determined, so the generated buildsystem can not find the object files. The initialization of the object directory was split from the creation of cmGeneratorTarget instances in commit 0e0258c8 (cmGlobalGenerator: Split creation of generator object from initialization., 2015-07-25). The motivation for the split was to do only what is essential to do early in cases where cmGeneratorTargets need to be created at configure-time. That is required for the purpose of implementing policies CMP0024 and CMP0026, and for try_compile(LINK_LIBRARIES). However, the split was not really necessary. Compute the object directory in the cmGeneratorTarget constructor instead. The QtAutogen unit test already tests the use of TARGET_OBJECTS with AUTOMOC, and that test already passes on Ninja. The reason it already passes is that the QtAutogen target also uses the AUTORCC feature, and specifies several qrc files in its SOURCES. Later in the Compute algorithm (after the InitGeneratorTargets call), the rcc files are determined and target->AddSource is called. The AddSource call clears the previously mentioned cache of source files, causing it to be regenerated when next queried, this time taking account of the object directory. Extend the test suite with a new target which does not make use of AUTORCC with qrc files so that the test added alone would break without the fix in this commit.
* CMP0026: Use compatibility codepath until configure is finished (#15748)Stephen Kelly2015-09-181-6/+6
| | | | | | | | | | Use it instead of the similar cmMakefile API. It is necessary to know that the Configure step is completely done, not just that one particular cmMakefile is finished configuring. Prior to commit 611220f7 (cmTarget: Use reliable test for CMP0024 and CMP0026 OLD., 2015-07-25), this was determined by checking whether cmGeneratorTargets exist yet, which happens after the Configure step.
* Add support for *.manifest source files with MSVC toolsBrad King2015-09-171-0/+14
| | | | | | | | Classify .manifest sources separately, add dependencies on them, and pass them to the MS manifest tool to merge with linker-generated manifest files. Inspired-by: Gilles Khouzam <gillesk@microsoft.com>
* cmGeneratorTarget: Rename method to match operation.Stephen Kelly2015-08-301-1/+1
| | | | | The manifest is computed, not generated, according to current language used in cmake method naming.
* Merge topic 'use-generator-target'Brad King2015-08-271-12/+1209
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | c2b7336f cmGeneratorTarget: Move GetConfigCommonSourceFiles from cmTarget. 69329fff cmGeneratorTarget: Move GetLanguages from cmTarget. 0431f2c4 cmGeneratorTarget: Move ComputeLinkImplementationLanguages from cmTarget. abe9505d cmGeneratorTarget: Move HaveBuildTreeRPath from cmTarget. d4a24c0e cmGeneratorTarget: Move GetLinkImplementation from cmTarget. 83981cf5 cmTarget: Add GetLinkImplMap method. 771e79a2 cmLinkItem: Add cmOptionalLinkImplementation type. 3846ebcf cmLinkItem: Add cmLinkImplementation type. a7f5d70d cmGeneratorTarget: Move compile defintions processing from cmTarget. d051086c cmGeneratorTarget: Move compile features processing from cmTarget. db4cb92b cmGeneratorTarget: Move compile options processing from cmTarget. e6ccbf6f cmGeneratorTarget: Move include directory processing from cmTarget. 8bfb0c53 cmGeneratorTarget: Move link iface helpers from cmTarget. 2cb3e574 cmGeneratorTarget: Move GetImportLinkInterface from cmTarget. 6d3d099b cmGeneratorTarget: Move ComputeLinkInterfaceLibraries from cmTarget. 0db9d927 cmGeneratorTarget: Move GetLinkInterfaceLibraries from cmTarget. ...
| * cmGeneratorTarget: Move GetConfigCommonSourceFiles from cmTarget.Stephen Kelly2015-08-261-1/+58
| |