summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalGenerator.cxx
Commit message (Collapse)AuthorAgeFilesLines
* cmGeneratorTarget: Move link implementation from cmTarget.Stephen Kelly2015-10-081-2/+2
|
* 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.
* Move GetLocation to cmGeneratorTarget.Stephen Kelly2015-07-271-2/+2
|
* Always access target location from a cmGeneratorTarget instance.Stephen Kelly2015-07-271-3/+4
|
* cmLocalGenerator: Remove unused AddCustomCommandToCreateObject method.Stephen Kelly2015-07-271-78/+0
|
* cmLocalGenerator: Remove unused AddBuildTargetRule method.Stephen Kelly2015-07-271-100/+0
|
* cmLocalGenerator: Remove CreateCustomTargetsAndCommands method.Stephen Kelly2015-07-271-42/+0
| | | | | It loops over cmGeneratorTargets, but at the point it is called, there are no cmGeneratorTargets. This must be dead code.
* cmState: Extract a Directory class.Stephen Kelly2015-07-181-19/+24
| | | | | Move Directory-scoped state accessors to it. This will be expanded with directory property state soon.
* Factor an <INCLUDES> placeholder out of <FLAGS> in rule variablesBrad King2015-07-131-0/+4
| | | | | | | | | | | Teach the Makefile and Ninja generators to substitute for an <INCLUDES> placeholder instead of putting -I in <FLAGS>. Update our values for CMAKE_<LANG>_COMPILE_OBJECT, CMAKE_<LANG>_CREATE_ASSEMBLY_SOURCE, and CMAKE_<LANG>_CREATE_PREPROCESSED_SOURCE to place <INCLUDES> just before <FLAGS>.
* cmLocalGenerator: Remove unused includeBrad King2015-07-081-2/+0
|
* cmLocalGenerator: Constify GetIncludeDirectories method.Stephen Kelly2015-06-211-1/+1
|
* cmMakefile: Move IsRoot API from cmLocalGenerator.Stephen Kelly2015-06-211-5/+0
|
* cmLocalGenerator: Add IssueMessage method.Stephen Kelly2015-06-211-7/+23
| | | | For use at generate-time instead of the cmMakefile method of the same name.
* cmLocalGenerator: Remove ConfigureFinalPass.Stephen Kelly2015-06-091-5/+0
| | | | | Call the cmMakefile implementation directly. This is a configure-time construct.
* Merge topic 'move-Feature-API'Brad King2015-06-081-0/+27
|\ | | | | | | | | | | f573bd22 cmLocalGenerator: Add Feature API from cmMakefile. ccbc2259 cmGeneratorTarget: Move Feature API from cmTarget.
| * cmLocalGenerator: Add Feature API from cmMakefile.Stephen Kelly2015-06-061-0/+27
| |
* | cmOutputConverter: Extract from cmLocalGenerator.Stephen Kelly2015-06-061-417/+1
| | | | | | | | | | | | | | | | | | | | | | The Convert methods never belonged to the local generator concept, so split them out now. The cmOutputConverter is cheap to construct and destroy, so it can be instantiated where needed to perform conversions. This will allow further decoupling of cmLocalGenerator from the configure step. Inherit cmLocalGenerator from cmOutputConverter for the purpose of source compatibility.
* | cmLocalGenerator: Remove some commented lines of code.Stephen Kelly2015-06-041-5/+0
|/ | | | They've been commented out for a decade, which seems long enough.