Stephen Kelly
effe874d25
Xcode: Prefer to get target state from cmGeneratorTarget.
2015-10-24 09:19:54 +02:00
Stephen Kelly
8616d12cfc
Xcode: Re-order conditions.
2015-10-24 09:19:54 +02:00
Stephen Kelly
ed4ea59a33
Xcode: Port ForceLinkerLanguage to cmGeneratorTarget.
2015-10-24 09:19:54 +02:00
Stephen Kelly
634155d695
Xcode: Port loops to cmGeneratorTarget.
2015-10-24 09:19:53 +02:00
Stephen Kelly
67b2f4312c
Port to GetGeneratorTargets.
2015-10-24 09:19:53 +02:00
Stephen Kelly
a8c0fbcc19
cmLocalGenerator: Store a vector of generator targets.
...
Not a map from cmTarget to cmGeneratorTarget.
2015-10-21 23:21:01 +02:00
Brad King
9206120e30
Merge topic 'use-generator-target'
...
c099e00f Access policy status from cmGeneratorTarget at generate time.
d74bca5a cmGeneratorTarget: Copy the policy map from the cmTarget.
c6e86955 cmTarget: Remove unused NameResolvesToFramework.
18046bd5 cmCommonTargetGenerator: Use NameResolvesToFramework without cmTarget.
91411641 Move ComputeLinkType out of cmTarget.
6d94078e cmGeneratorTarget: Move IsDLLPlatform from cmTarget.
3ebc6285 cmGeneratorTarget: Move HaveWellDefinedOutputFiles from cmTarget.
311018e5 cmGeneratorTarget: Move GetExportMacro from cmTarget.
215cd21a cmGeneratorTarget: Provide direct access to the backtrace.
1df8bd3a cmGlobalGenerator: Port IsRootOnlyTarget to cmGeneratorTarget.
83703bda cmGeneratorTarget: Copy IsExecutableWithExports from cmTarget.
2015-10-21 09:17:01 -04:00
Stephen Kelly
311018e5ad
cmGeneratorTarget: Move GetExportMacro from cmTarget.
2015-10-21 00:52:22 +02:00
Stephen Kelly
04b6bb1676
cmLocalGenerator: Simplify semantic of adding generator targets.
...
Don't store on the global generator as a side effect. Update clients to adapt.
2015-10-20 23:58:49 +02:00
Stephen Kelly
d8f8940bc6
cmGeneratorTarget: Move IsCFBundleOnApple from cmTarget.
2015-10-19 20:27:41 +02:00
Stephen Kelly
7550879f57
cmGeneratorTarget: Move IsXCTestOnApple from cmTarget.
2015-10-19 20:27:41 +02:00
Stephen Kelly
b5f5de70c0
cmGeneratorTarget: Copy IsFrameworkOnApple from cmTarget.
...
Leave the cmTarget method behind for now to implement cmInstallCommand.
2015-10-19 20:27:41 +02:00
Stephen Kelly
a527abf099
Xcode: Port internal API to cmGeneratorTarget.
2015-10-18 16:29:30 +02:00
Stephen Kelly
37ab74a607
cmLocalGenerator: Port PList handling to cmGeneratorTarget.
2015-10-18 16:29:29 +02:00
Stephen Kelly
3e8ef64273
cmLocalGenerator: Port some API to cmGeneratorTarget.
2015-10-17 17:30:38 +02:00
Stephen Kelly
12e4790a0b
cmGeneratorTarget: Move GetTargetVersion from cmTarget.
2015-10-16 20:24:44 +02:00
Stephen Kelly
eac15298a8
cmState: Move TargetType enum from cmTarget.
...
Mostly automated:
values=( "EXECUTABLE" "STATIC_LIBRARY" "SHARED_LIBRARY" "MODULE_LIBRARY" "OBJECT_LIBRARY" "UTILITY" "GLOBAL_TARGET" "INTERFACE_LIBRARY" "UNKNOWN_LIBRARY" "TargetType")
for i in "${values[@]}"; do git grep -l cmTarget::$i | xargs sed -i "s|cmTarget::$i|cmState::$i|g"; done
2015-10-15 00:41:39 +02:00
Stephen Kelly
2293d43d00
cmLocalGenerator: Store cmGeneratorTargets.
...
Relieve cmMakefile of this responsibility.
2015-10-14 13:32:09 -04:00
Stephen Kelly
11165525ba
cmGeneratorExpression: Port to cmLocalGenerator.
2015-10-12 23:07:46 +02:00
Brad King
aad0e62060
Merge topic 'use-generator-target'
...
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.
...
2015-10-12 10:26:20 -04:00
Stephen Kelly
a367416cec
cmLocalGenerator: Add current source directory accessor.
2015-10-10 11:04:39 +02:00
Stephen Kelly
bbef3c2da8
cmLocalGenerator: Add current binary directory accessor.
2015-10-10 11:04:39 +02:00
Stephen Kelly
1abc20d81d
cmGeneratorTarget: Move UsesDefaultOutputDir from cmTarget.
2015-10-09 01:04:38 +02:00
Stephen Kelly
8b0168863e
cmGeneratorTarget: Move GetDirectory from cmTarget.
2015-10-09 01:04:37 +02:00
Stephen Kelly
12cb3bdce4
cmLocalGenerator: Add Home directory accessors.
...
Reduce reasons for cmLocalGenerator to have a cmMakefile.
2015-10-09 00:00:19 +02:00
Stephen Kelly
4ab2750c54
cmLocalGenerator: Add GetProjectName method.
2015-10-09 00:00:18 +02:00
Stephen Kelly
af71c7b479
cmTarget: Remove Compute method.
2015-10-07 20:17:55 +02:00
Stephen Kelly
776ff8eb0b
cmTarget: Add Compute API for sources.
...
This method is a refactoring artifact. It will be removed in a
follow-up.
2015-10-07 08:37:57 +02:00
Stephen Kelly
c38e30f68c
cmGeneratorTarget: Add methods for generate-time source addition.
2015-10-07 08:37:57 +02:00
Stephen Kelly
156bd2c983
Xcode: Port away from unnecessary CMP0049 compatibility.
...
The input does not need the conversion.
2015-10-06 20:16:21 +02:00
Stephen Kelly
4407eee013
cmGlobalGenerator: Call AddExtraIDETargets as a hook of Compute().
...
Relieve the Xcode generator of having to reimplement Compute().
2015-10-05 18:43:17 +02:00
Stephen Kelly
a09c545d3a
Xcode: Extract a AddExtraIDETargets method.
2015-10-05 18:43:17 +02:00
Stephen Kelly
ff8ac8ee6a
cmLocalGenerator: Create from already-constructed cmMakefile.
...
Don't manage the lifetime of the cmMakefile with cmLocalGenerator.
2015-08-28 18:44:39 +02:00
Stephen Kelly
9b6a743b80
cmLocalGenerator: Remove Parent pointer.
2015-08-28 18:44:38 +02:00
Stephen Kelly
c2b7336ff3
cmGeneratorTarget: Move GetConfigCommonSourceFiles from cmTarget.
2015-08-26 19:46:33 +02:00
Stephen Kelly
69329fff70
cmGeneratorTarget: Move GetLanguages from cmTarget.
2015-08-26 19:46:32 +02:00
Stephen Kelly
d4a24c0e95
cmGeneratorTarget: Move GetLinkImplementation from cmTarget.
2015-08-26 19:46:32 +02:00
Stephen Kelly
3846ebcf2b
cmLinkItem: Add cmLinkImplementation type.
2015-08-26 19:46:31 +02:00
Stephen Kelly
a7f5d70dde
cmGeneratorTarget: Move compile defintions processing from cmTarget.
2015-08-26 19:46:30 +02:00
Stephen Kelly
44ffb9cdb4
Replace foo.size() pattern with !foo.empty().
2015-08-24 20:47:18 +02:00
Stephen Kelly
1f54bc1cf3
cmTarget: Split storage of include directories from genexes.
2015-08-07 17:06:15 +02:00
Stephen Kelly
7c809fa2a6
cmGeneratorTarget: Move GetLinkerLanguage from cmTarget.
2015-08-05 18:20:48 +02:00
Stephen Kelly
d6bb319b09
cmGeneratorTarget: Move GetFullName from cmTarget.
...
Bring GetFullNameInternal with it.
2015-08-05 18:20:48 +02:00
Stephen Kelly
d560bfd273
cmGeneratorTarget: Move GetInstallNameDir* from cmTarget.
2015-08-05 18:20:47 +02:00
Stephen Kelly
62720e44be
cmGeneratorTarget: Move GetFullNameComponents from cmTarget.
2015-08-05 18:20:47 +02:00
Stephen Kelly
f0aa660772
cmGeneratorTarget: Move HasSOName from cmTarget.
2015-08-05 18:20:46 +02:00
Stephen Kelly
803a7982b4
cmGeneratorTarget: Move GetLinkInformation from cmTarget
2015-08-05 18:20:44 +02:00
Stephen Kelly
41abdc17df
cmGeneratorTarget: Move GetSOName from cmTarget..
2015-08-05 18:20:43 +02:00
Stephen Kelly
5edb335485
cmGlobalGenerator: Virtualize the Compute step and override it.
2015-07-30 08:28:31 +02:00
Stephen Kelly
ff1019bfac
cmGlobalGenerator: Move generation object creation to Compute().
2015-07-30 08:28:30 +02:00