summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* FindMPI: Drop unnecessary and incorrect use of GetPrerequisitesBrad King2015-07-311-5/+3
| | | | | | | | | Since commit v2.8.5~121^2~2 (FindMPI: Handle multiple languages, 2010-12-29) we called the GetPrerequisites is_file_executable function but passed the name of a CMake variable instead of its value. Therefore the function has always failed and caused the search for the compiler name to run even with an absolute path. Switch to using if(IS_ABSOLUTE) instead and drop use of GetPrerequisites.
* Merge topic 'refactor-fortran-module-directory'Brad King2015-07-306-63/+70
|\ | | | | | | | | | | | | | | e90372a0 cmCommonTargetGenerator: Factor out Fortran module directory computation 70c21301 cmCommonTargetGenerator: Store working directory for relative paths 7371d8f3 cmCommonTargetGenerator: Return string from GetFortranModuleDirectory 613bc08a cmDependsFortran: Use string to store module directory
| * cmCommonTargetGenerator: Factor out Fortran module directory computationBrad King2015-07-292-24/+32
| | | | | | | | | | Move computation from GetFortranModuleDirectory to a virtual method so it can be customized for each type of generator.
| * cmCommonTargetGenerator: Store working directory for relative pathsBrad King2015-07-294-6/+12
| | | | | | | | | | | | | | | | The Makefile generators run tools with the current working directory set to the subdirectory of the build tree for the each target. The Ninja generator runs tools with the current working directory set to the top of the build tree. Tell cmCommonTargetGenerator where the working directory will be so it can compute proper relative paths.
| * cmCommonTargetGenerator: Return string from GetFortranModuleDirectoryBrad King2015-07-293-25/+20
| |
| * cmDependsFortran: Use string to store module directoryBrad King2015-07-292-9/+7
| |
* | Merge topic 'cmCommonTargetGenerator-GetLinkedTargetDirectories'Brad King2015-07-303-26/+40
|\ \ | |/ | | | | | | 6d79eda7 cmCommonTargetGenerator: Adopt linked target directory computation
| * cmCommonTargetGenerator: Adopt linked target directory computationBrad King2015-07-283-26/+40
| | | | | | | | | | | | Factor a GetLinkedTargetDirectories method out of cmMakefileTargetGenerator::WriteTargetDependRules to compute the list of directories associated with targets to which the current target links.
* | CMake Nightly Date StampKitware Robot2015-07-301-1/+1
| |
* | Merge topic 'minor-cleanups'Brad King2015-07-293-5/+2
|\ \ | | | | | | | | | | | | | | | | | | 3942ec32 cmMakefileTargetGenerator: Remove unused variable. a034dc0d cmGeneratorExpressionNode: Remove unused variable. aeb74ae9 Fix include guard.
| * | cmMakefileTargetGenerator: Remove unused variable.Stephen Kelly2015-07-281-1/+0
| | |
| * | cmGeneratorExpressionNode: Remove unused variable.Stephen Kelly2015-07-281-2/+0
| | |
| * | Fix include guard.Stephen Kelly2015-07-281-2/+2
| |/
* | Merge topic 'ninja-implib-byproduct'Brad King2015-07-291-2/+3
|\ \ | | | | | | | | | | | | 35fb0bb8 Ninja: Make import libraries BYPRODUCTs instead of regular OUTPUTs
| * | Ninja: Make import libraries BYPRODUCTs instead of regular OUTPUTsNils Gladitz2015-07-281-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | The MSVC linker may update a binary without touching the associated import library. Making the import library a BYPRODUCT prevents the linker from unnecessarily rerunning when the import library does not get regenerated as previously expected.
* | | CMake Nightly Date StampKitware Robot2015-07-291-1/+1
| |/ |/|
* | Merge topic 'use-generator-target'Brad King2015-07-2842-560/+478
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 57f03e59 Port some of the cmExportFileGenerator API to cmGeneratorTarget. 57ab0f70 Port cmExportBuildFileGenerator to cmGeneratorTarget. 570938cb cmExportTryCompileFileGenerator: Create cmGeneratorTargets. ec38e4c8 Move GetFullPath to cmGeneratorTarget dfb025bf Move GetLocationForBuild to cmGeneratorTarget. 9f2dca80 Move GetLocation to cmGeneratorTarget. c7a8e74b Always access target location from a cmGeneratorTarget instance. 5b60eaf6 cmTarget: Restore the ImportedGetLocation method. 50b17a61 cmIncludeCommand: Populate the cmGeneratorTargets in deprecated path. ba266858 cmTarget: Create cmGeneratorTargets before reading deprecated LOCATION. 5ab3a946 cmTarget: Inline GetLocation into deprecated callers. 496f4cd0 cmGlobalGenerator: Create cmGeneratorTargets before QtAutomoc. de80993a cmGlobalGenerator: Create cmGeneratorTargets earlier. 611220f7 cmTarget: Use reliable test for CMP0024 and CMP0026 OLD. bbad6ba5 cmLocalGenerator: Remove unused AddCustomCommandToCreateObject method. e4dc83ad cmLocalGenerator: Remove unused AddBuildTargetRule method. ...
| * | Port some of the cmExportFileGenerator API to cmGeneratorTarget.Stephen Kelly2015-07-274-23/+32
| | | | | | | | | | | | | | | Enough to make it more possible to move GetLinkInterface to cmGeneratorTarget.
| * | Port cmExportBuildFileGenerator to cmGeneratorTarget.Stephen Kelly2015-07-272-24/+26
| | |
| * | cmExportTryCompileFileGenerator: Create cmGeneratorTargets.Stephen Kelly2015-07-276-17/+36
| | | | | | | | | | | | | | | This is not a deprecated behavior, but only requires IMPORTED targets be made.
| * | Move GetFullPath to cmGeneratorTargetStephen Kelly2015-07-2712-128/+143
| | |
| * | Move GetLocationForBuild to cmGeneratorTarget.Stephen Kelly2015-07-274-41/+46
| | |
| * | Move GetLocation to cmGeneratorTarget.Stephen Kelly2015-07-278-25/+31
| | |
| * | Always access target location from a cmGeneratorTarget instance.Stephen Kelly2015-07-274-11/+15
| | |
| * | cmTarget: Restore the ImportedGetLocation method.Stephen Kelly2015-07-273-6/+20
| | | | | | | | | | | | | | | | | | It was removed in commit f154475b (cmTarget: Refactor GetLocation API, 2014-03-08), but it is more readable for targets we know are imported.
| * | cmIncludeCommand: Populate the cmGeneratorTargets in deprecated path.Stephen Kelly2015-07-271-0/+1
| | |
| * | cmTarget: Create cmGeneratorTargets before reading deprecated LOCATION.Stephen Kelly2015-07-271-2/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The intention is to move generation-semantic cmTarget API to cmGeneratorTarget and then use the latter for generator expressions. This means that each time we read a deprecated LOCATION property, we have to clear and re-populate the container. That must be done each time because the result can change through the configure process, which is why this is deprecated in the first place.
| * | cmTarget: Inline GetLocation into deprecated callers.Stephen Kelly2015-07-271-7/+36
| | |
| * | cmGlobalGenerator: Create cmGeneratorTargets before QtAutomoc.Stephen Kelly2015-07-275-4/+21
| | | | | | | | | | | | Add cmGeneratorTargets as needed in the QtAutomoc processing.
| * | cmGlobalGenerator: Create cmGeneratorTargets earlier.Stephen Kelly2015-07-271-1/+1
| | |
| * | cmTarget: Use reliable test for CMP0024 and CMP0026 OLD.Stephen Kelly2015-07-271-2/+2
| | | | | | | | | | | | | | | Check whether the Makefile is fully configured instead of checking whether generator targets exist.
| * | cmLocalGenerator: Remove unused AddCustomCommandToCreateObject method.Stephen Kelly2015-07-272-84/+0
| | |
| * | cmLocalGenerator: Remove unused AddBuildTargetRule method.Stephen Kelly2015-07-272-105/+0
| | |
| * | cmLocalGenerator: Remove CreateCustomTargetsAndCommands method.Stephen Kelly2015-07-275-66/+0
| | | | | | | | | | | | | | | It loops over cmGeneratorTargets, but at the point it is called, there are no cmGeneratorTargets. This must be dead code.
| * | cmGlobalGenerator: Add global targets at the end of Configure.Stephen Kelly2015-07-271-12/+27
| | | | | | | | | | | | Rather than at the start of Generate.
| * | cmGlobalGenerator: Extract method to create generator objects.Stephen Kelly2015-07-272-2/+10
| | |
| * | cmGlobalGenerator: Split creation of generator object from initialization.Stephen Kelly2015-07-272-1/+15
| | |
| * | cmCPackPropertiesGenerator: Require cmLocalGenerator in API.Stephen Kelly2015-07-273-8/+13
| | |
| * | cmCustomCommandGenerator: Require cmLocalGenerator in API.Stephen Kelly2015-07-2713-32/+36
| | |
* | | Merge topic 'cmConditionEvaluator-minor-cleanup'Brad King2015-07-281-8/+8
|\ \ \ | | | | | | | | | | | | | | | | e7d5c142 cmConditionEvaluator: Remove superfluous spaces in expressions
| * | | cmConditionEvaluator: Remove superfluous spaces in expressionsSebastian Schuberth2015-07-271-8/+8
| | | |
* | | | Merge topic 'ctest-add_subdirectory-crash'Brad King2015-07-281-1/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | 64821e8a ctest: fix add_subdirectory() crash
| * | | | ctest: fix add_subdirectory() crashBen Boeckel2015-07-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The directory is at args[0], not args[1]. Introduced in commit v2.6.0~489 (... 5889 ... tests are not found in some cases when using add_subdirectory ..., 2008-01-18).
* | | | | Merge topic 'cmake-install-dependencies-option'Brad King2015-07-283-3/+10
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 068e7962 CMake: Add CMake_INSTALL_DEPENDENCIES option
| * | | | | CMake: Add CMake_INSTALL_DEPENDENCIES optionKonstantin Podsvirov2015-07-273-3/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | By default this option is ON. Turn OFF to disable installing runtime 3rd-party dependencies.
* | | | | | Merge topic 'cmake-gui-install-plugin'Brad King2015-07-281-10/+24
|\ \ \ \ \ \ | |/ / / / / | | | | | | | | | | | | | | | | | | 42f0155b cmake-gui: Install Qt5 Windows platform plugin
| * | | | | cmake-gui: Install Qt5 Windows platform pluginKonstantin Podsvirov2015-07-271-10/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Qt5 requires a platform-specific runtime-loaded plugin. We already install it for OS X. Install it for Windows too.
* | | | | | Merge topic 'refactor-ninja-command-exporter'Brad King2015-07-282-65/+98
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | cd530df8 cmNinjaTargetGenerator: Factor out compile command exporter
| * | | | | | cmNinjaTargetGenerator: Factor out compile command exporterBrad King2015-07-272-65/+98
| | |_|/ / / | |/| | | |
* | | | | | Merge topic 'fortran-parser-updates'Brad King2015-07-2812-1634/+1461
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ecca8fd9 cmFortranParser: Port to bison 3 eebe732b cmFortranParser: Factor out of cmDependsFortran fd194458 cmDependsFortran: Simplify storage of preprocessor definitions 295480b9 cmDependsFortran: Move FindIncludeFile method into parser class 98b9645b Rename Fortran parser infrastructure to drop "Depends" prefix 096dd3c9 cmDependsFortranLexer: Remove trailing blank line