summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalGenerator.cxx
Commit message (Collapse)AuthorAgeFilesLines
* cmLocalGenerator: Port PList handling to cmGeneratorTarget.Stephen Kelly2015-10-181-3/+3
|
* cmLocalGenerator: Port policy handling to cmGeneratorTarget.Stephen Kelly2015-10-171-1/+1
|
* cmLocalGenerator: Port some API to cmGeneratorTarget.Stephen Kelly2015-10-171-34/+34
|
* Use GetName from cmGeneratorTarget.Stephen Kelly2015-10-171-1/+1
|
* Use IsImported from cmGeneratorTarget.Stephen Kelly2015-10-161-1/+1
|
* Merge topic 'clean-up-cmTarget'Brad King2015-10-161-32/+32
|\ | | | | | | | | | | | | | | | | | | | | | | | | 55474e61 cmState: Move GetTargetTypeName from cmTarget. 38df5c36 Remove now-obsolete casts. 4ee2b267 cmGeneratorTarget: Use enum for GetType. eac15298 cmState: Move TargetType enum from cmTarget. 482b3811 cmTarget: Move link type enum out. 2ee1cb85 cmTarget: Move ImportInfoMap out of internal class. a48bcabd cmTarget: Move backtrace member out of internal class. 6694d993 cmTarget: Remove unneeded constructors. 983c00f8 Generators: Use GetType from the cmGeneratorTarget.
| * cmState: Move GetTargetTypeName from cmTarget.Stephen Kelly2015-10-141-2/+2
| |
| * cmState: Move TargetType enum from cmTarget.Stephen Kelly2015-10-141-30/+30
| | | | | | | | | | | | | | 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
| * Generators: Use GetType from the cmGeneratorTarget.Stephen Kelly2015-10-141-2/+2
| |
* | cmLocalGenerator: Port GetTargetDirectory to cmGeneratorTarget.Stephen Kelly2015-10-141-1/+1
|/
* cmLocalGenerator: Store cmGeneratorTargets.Stephen Kelly2015-10-141-3/+21
| | | | Relieve cmMakefile of this responsibility.
* Merge topic 'use-generator-target'Brad King2015-10-121-2/+2
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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: Move link implementation from cmTarget.Stephen Kelly2015-10-081-2/+2
| |
* | cmLocalGenerator: Add current source directory accessor.Stephen Kelly2015-10-101-0/+5
| |
* | cmLocalGenerator: Add current binary directory accessor.Stephen Kelly2015-10-101-0/+5
| |
* | cmLocalGenerator: Add Home directory accessors.Stephen Kelly2015-10-081-0/+10
| | | | | | | | Reduce reasons for cmLocalGenerator to have a cmMakefile.
* | cmLocalGenerator: Add GetProjectName method.Stephen Kelly2015-10-081-0/+5
|/
* cmLocalGenerator: Add cmake instance accessor.Stephen Kelly2015-10-081-0/+5
|
* cmLocalGenerator: Constify target in API.Stephen Kelly2015-10-051-1/+1
|
* Drop executable symbol export if platform does not support shared libsChuck Atkins2015-09-301-1/+3
| | | | | | | | Instead of always adding CMAKE_SHARED_LIBRARY_LINK_<LANG>_FLAGS to executables, or just when the ENABLE_EXPORTS property is set (CMP0065), make sure that the target platform also actually supports shared libraries. If not, then the executable cannot possibly provide symbols to them anyway.
* cmLocalGenerator: Compute object max path on construction.Stephen Kelly2015-09-241-0/+2
|
* CMP0065: Restrict the use of CMAKE_SHARED_LIBRARY_LINK_<LANG>_FLAGSChuck Atkins2015-09-211-5/+39
| | | | | This new policy restricts the addition of the shared library link flags to executables only when the ENABLE_EXPORTS property is set to True.
* cmLocalGenerator: Simplify condition.Stephen Kelly2015-09-181-1/+1
| | | | This API is only called after configure-time.
* Add support for *.manifest source files with MSVC toolsBrad King2015-09-171-0/+7
| | | | | | | | 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>
* cmLocalGenerator: Always return the end snapshot state of a directory.Stephen Kelly2015-09-121-1/+1
| | | | | | | | This is needed for proper makefile progress tracking. The cmLocalGenerator is constructed at configure-time, but only used at generate time. The StateSnapshot member is currently populated before configuring, so use the Makefile to get the end snapshot.
* Merge topic 'refactor-compute'Brad King2015-08-311-2/+2
|\ | | | | | | | | | | | | 616d8f02 cmGeneratorTarget: Rename method to match operation. ec56d244 cmGlobalGenerator: Process evaluation files after target depends. 1e5349a5 cmGlobalGenerator: Access makefile from makefiles container.
| * cmGeneratorTarget: Rename method to match operation.Stephen Kelly2015-08-301-2/+2
| | | | | | | | | | The manifest is computed, not generated, according to current language used in cmake method naming.
* | cmLocalGenerator: Create from already-constructed cmMakefile.Stephen Kelly2015-08-281-5/+4
| | | | | | | | Don't manage the lifetime of the cmMakefile with cmLocalGenerator.
* | cmMakefile: Remove cmLocalGenerator member.Stephen Kelly2015-08-281-1/+1
| |
* | cmLocalGenerator: Remove Parent pointer.Stephen Kelly2015-08-281-2/+0
|/
* Merge topic 'use-generator-target'Brad King2015-08-271-4/+9
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 compile defintions processing from cmTarget.Stephen Kelly2015-08-261-1/+2
| |
| * cmGeneratorTarget: Move compile features processing from cmTarget.Stephen Kelly2015-08-261-1/+1
| |
| * cmGeneratorTarget: Move compile options processing from cmTarget.Stephen Kelly2015-08-261-2/+6
| |
* | Merge topic 'rm-cmLocalGenerator-Children'Brad King2015-08-271-20/+16
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | 867b5be8 cmLocalGenerator: Remove unused Children member. 6c832219 cmLocalGenerator: Implement child traversal in terms of cmState. 3fcf3837 Makefiles: Remove valueless cast. 223f4a66 cmLocalGenerator: Simplify condition. ae026f54 cmState: Store Children states in parent state.
| * | cmLocalGenerator: Remove unused Children member.Stephen Kelly2015-08-241-4/+0
| | |
| * | cmLocalGenerator: Implement child traversal in terms of cmState.Stephen Kelly2015-08-241-8/+11
| | |
| * | cmLocalGenerator: Simplify condition.Stephen Kelly2015-08-241-12/+9
| |/
* | cmLocalGenerator: Implement GetFeature in terms of cmState.Stephen Kelly2015-08-241-4/+4
| |
* | cmLocalGenerator: Convert GetFeature recursion to loop.Stephen Kelly2015-08-241-8/+8
| |
* | cmLocalGenerator: Simplify GetFeature implementation.Stephen Kelly2015-08-241-8/+4
| |
* | cmLocalGenerator: Make GetFeature tail-recursive.Stephen Kelly2015-08-241-3/+4
|/
* cmTestGenerator: Require cmLocalGenerator, not cmMakefile.Stephen Kelly2015-08-231-0/+1
|
* Merge topic 'use-generator-target'Brad King2015-08-061-3/+5
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a309409e cmOrderDirectories: Port to cmGeneratorTarget. f83e8402 cmGeneratorTarget: Move CompileInfoMap from cmTarget. b3f0e353 cmGeneratorTarget: Move GetCompilePDBDirectory from cmTarget. 34c43741 cmGeneratorTarget: Move GetOutputName from cmTarget. 4329a71c cmComputeLinkDepends: Port to cmGeneratorTarget. c93230ac cmComputeLinkInformation: Port to cmGeneratorTarget. ee26add4 cmGeneratorTarget: Move IsBundleOnApple from cmTarget. c8a5f5ae cmMakefileTargetGenerator: Add accessor for GeneratorTarget. f8076644 cmGeneratorTarget: Move GetLinkClosure from cmTarget. 7c809fa2 cmGeneratorTarget: Move GetLinkerLanguage from cmTarget. 6da99de3 cmGeneratorTarget: Move GetFrameworkDirectory from cmTarget. d6bb319b cmGeneratorTarget: Move GetFullName from cmTarget. 7a460852 cmGeneratorTarget: Move GetAppBundleDirectory from cmTarget. d560bfd2 cmGeneratorTarget: Move GetInstallNameDir* from cmTarget. 89e2a080 cmGeneratorTarget: Move GetMacContentDirectory from cmTarget. 62720e44 cmGeneratorTarget: Move GetFullNameComponents from cmTarget. ...
| * cmGeneratorTarget: Move GetLinkerLanguage from cmTarget.Stephen Kelly2015-08-051-1/+1
| |
| * cmGeneratorTarget: Move LinkInterfaceDependent methods from cmTarget.Stephen Kelly2015-08-051-1/+3
| |
| * cmGeneratorTarget: Move GetLinkInformation from cmTargetStephen Kelly2015-08-051-1/+1
| |
* | cmGeneratorExpressionEvaluationFile: Require generator context.Stephen Kelly2015-08-011-2/+2
| | | | | | | | | | Avoid storing a cmMakefile as a member, and evaluate in the context of a cmLocalGenerator instead.
* | cmMakefile: Store EvaluationFiles.Stephen Kelly2015-08-011-0/+48
|/ | | | | Relieve the cmGlobalGenerator of this responsibility. Evaluate the generator expressions in the context of the cmLocalGenerator.
* cmInstallCommand: Store only a targetName, not a cmTarget.Stephen Kelly2015-07-301-7/+11
| | | | Compute the cmTarget at Compute() time.