summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalGenerator.cxx
Commit message (Collapse)AuthorAgeFilesLines
* Port CMake from cmIML to KWIMLBrad King2015-12-181-2/+2
| | | | KWIML no longer uses a configured prefix.
* Merge branch 'reduce-cmState-accumulation' into ↵Brad King2015-11-251-4/+2
|\ | | | | | | reduce-cmState-accumulation-for-master
| * cmLocalGenerator: Use ScopePushPop RAII class to manage local variable scopesBrad King2015-11-251-4/+2
| |
* | cmGlobalGenerator: Remove map from cmTarget to cmGeneratorTargetStephen Kelly2015-10-271-0/+7
| | | | | | | | | | | | | | The configure-time and generate-time types should be completely independent. Add ownership of cmGeneratorTarget instances to the cmLocalGenerator.
* | cmLocalGenerator: Port Find method away from GetGeneratorTargetStephen Kelly2015-10-271-3/+13
| | | | | | | | Mirror the cmMakefile::FindTarget method.
* | cmLocalGenerator: Store imported targets in a separate container.Stephen Kelly2015-10-271-0/+5
| |
* | cmLocalGenerator: Port FindGeneratorTarget away from GetGeneratorTargetStephen Kelly2015-10-271-2/+38
| |
* | cmLocalGenerator: Port internals to cmGeneratorTargetStephen Kelly2015-10-271-5/+4
| |
* | cmLocalGenerator: Add IsRootMakefile APIStephen Kelly2015-10-271-0/+5
| |
* | cmLocalGenerator: Add GetPolicyStatus APIStephen Kelly2015-10-271-2/+8
| |
* | Use cmLocalGenerator at generate-time.Stephen Kelly2015-10-241-1/+1
| |
* | Port to GetGeneratorTargets.Stephen Kelly2015-10-241-13/+14
| |
* | cmInstallTargetGenerator: Get a cmGeneratorTarget directly.Stephen Kelly2015-10-241-0/+7
| | | | | | | | Extend the cmGeneratorTarget API to make this possible.
* | cmLocalGenerator: Store a vector of generator targets.Stephen Kelly2015-10-211-11/+11
| | | | | | | | Not a map from cmTarget to cmGeneratorTarget.
* | Merge topic 'use-generator-target'Brad King2015-10-211-6/+6
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | Access policy status from cmGeneratorTarget at generate time.Stephen Kelly2015-10-201-2/+2
| | |
| * | cmGeneratorTarget: Provide direct access to the backtrace.Stephen Kelly2015-10-201-2/+2
| | |
| * | cmGeneratorTarget: Copy IsExecutableWithExports from cmTarget.Stephen Kelly2015-10-201-2/+2
| | |
* | | cmLocalGenerator: Simplify semantic of adding generator targets.Stephen Kelly2015-10-201-1/+0
| | | | | | | | | | | | Don't store on the global generator as a side effect. Update clients to adapt.
* | | cmLocalGenerator: Don't store imported generator targetsStephen Kelly2015-10-201-6/+1
|/ / | | | | | | | | No consumers need them. This makes GetGeneratorTargets more comparable to cmMakefile::GetTargets, which does not include imported targets.
* | 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
|/