summaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* Make it an error for INSTALL_PREFIX to be evaluated.Stephen Kelly2013-01-311-3/+6
| | | | | | An empty string is not likely going to produce expected results in any evaluation context. It is replaced by preprocessing currently.
* Advance more when preprocessing exported strings.Stephen Kelly2013-01-311-1/+1
| | | | | | When evaluating TARGET_PROPERTY here, we can skip to the comma location. We need to calculate it though as the string may have just been changed.
* Handle reading empty properties defined by the link interface.Stephen Kelly2013-01-311-1/+3
| | | | This was segfaulting before.
* Merge topic 'fix-target-property-commands'Brad King2013-01-306-75/+70
|\ | | | | | | | | | | | | 7bf490e Make subclasses responsible for joining content. f6b16d4 Don't allow targets args in the new target commands. b3a7e19 Make the Property name protected so that subclasses can use it.
| * Make subclasses responsible for joining content.Stephen Kelly2013-01-296-18/+76
| | | | | | | | | | This way we can add handling of relative/absolute paths and of -D in compile definitions.
| * Don't allow targets args in the new target commands.Stephen Kelly2013-01-296-66/+1
| |
| * Make the Property name protected so that subclasses can use it.Stephen Kelly2013-01-291-1/+3
| | | | | | | | Makes subclasses more dry in upcoming patches.
* | CMake Nightly Date StampKitware Robot2013-01-301-1/+1
| |
* | Merge topic 'fix-TARGET_PROPERTY-extraction'Brad King2013-01-291-11/+3
|\ \ | | | | | | | | | | | | 5daaa5c Fix TARGET_PROPERTY target extractions.
| * | Fix TARGET_PROPERTY target extractions.Stephen Kelly2013-01-291-11/+3
| | | | | | | | | | | | | | | | | | | | | We need to make sure we can export targets which have content such as $<0:$<TARGET_PROPERTY:not_a_target,INTERFACE_INCLUDE_DIRECTORIES> That means making not finding a target non-fatal here.
* | | Merge topic 'DocumentRelativePathHandling'Brad King2013-01-292-6/+5
|\ \ \ | | | | | | | | | | | | | | | | a7d6ebb documentation: handling of relative paths by include- and link_directories()
| * | | documentation: handling of relative paths by include- and link_directories()Alex Neundorf2013-01-272-6/+5
| | | | | | | | | | | | | | | | Alex
* | | | Merge topic 'fix-relocatable-include-dirs'Brad King2013-01-296-29/+79
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | 34d1ade Add the INSTALL_PREFIX genex. 3a17197 Generate the _IMPORT_PREFIX in the non-config export file.
| * | | | Add the INSTALL_PREFIX genex.Stephen Kelly2013-01-276-0/+51
| | | | |
| * | | | Generate the _IMPORT_PREFIX in the non-config export file.Stephen Kelly2013-01-271-29/+28
| |/ / /
* | | | Merge topic 'fix-automoc-compile-defs'Brad King2013-01-2912-52/+52
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | | | | | 429e369 Process COMPILE_DEFINITIONS as generator expressions in QtAutomoc. 0e10782 Move GetCompileDefinitions to cmTarget.
| * | | Process COMPILE_DEFINITIONS as generator expressions in QtAutomoc.Stephen Kelly2013-01-291-1/+5
| | | | | | | | | | | | | | | | Fixes #13493.
| * | | Move GetCompileDefinitions to cmTarget.Stephen Kelly2013-01-2911-51/+47
| | | |
* | | | CMake Nightly Date StampKitware Robot2013-01-291-1/+1
| | | |
* | | | CMake Nightly Date StampKitware Robot2013-01-281-1/+1
| | | |
* | | | CMake Nightly Date StampKitware Robot2013-01-271-1/+1
| |/ / |/| |
* | | CMake Nightly Date StampKitware Robot2013-01-261-1/+1
| |/ |/|
* | Merge topic 'generator-expression-lf'Brad King2013-01-251-4/+5
|\ \ | | | | | | | | | | | | 6c57c31 doc: fix linebreaks in generator expression documentation
| * | doc: fix linebreaks in generator expression documentationRolf Eike Beer2013-01-241-4/+5
| |/
* | Merge topic 'doc-link-interface'Brad King2013-01-251-1/+3
|\ \ | | | | | | | | | | | | f032fb9 target_link_libraries: Document that new sigs privatize old (#13876)
| * | target_link_libraries: Document that new sigs privatize old (#13876)Brad King2013-01-241-1/+3
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | Explain in the documentation for the legacy signature target_link_libraries(foo bar) that the other signatures like target_link_libraries(foo LINK_INTERFACE_LIBRARIES ...) target_link_libraries(foo LINK_PRIVATE ...) will set the LINK_INTERFACE_LIBRARIES target property and therefore make libraries specified only by the legacy signature private.
* | Merge topic 'compatible-interface-strings'Brad King2013-01-254-47/+200
|\ \ | | | | | | | | | | | | | | | 2fb2c32 Add the COMPATIBLE_INTERFACE_STRING property. cd66b91 Make calculation of link-interface-dependent properties type-sensitive.
| * | Add the COMPATIBLE_INTERFACE_STRING property.Stephen Kelly2013-01-244-0/+83
| | |
| * | Make calculation of link-interface-dependent properties type-sensitive.Stephen Kelly2013-01-241-48/+118
| |/
* | CMake Nightly Date StampKitware Robot2013-01-251-1/+1
|/
* Merge topic 'fix-COMPATIBLE_INTERFACE-link-libraries'Brad King2013-01-241-2/+8
|\ | | | | | | | | 6fbe3ce Exclude the LINK_LIBRARIES related properties from INTERFACE evaluation.
| * Exclude the LINK_LIBRARIES related properties from INTERFACE evaluation.Stephen Kelly2013-01-241-2/+8
| | | | | | | | | | | | These interface-related link-libraries properties are used to determine the value of the other INTERFACE properties, so we were getting infinite recursion and segfaults otherwise.
* | Merge topic 'cmMakefile-comment-typos'Brad King2013-01-241-3/+3
|\ \ | | | | | | | | | | | | 3853a6c spell: fix a few typos in comments
| * | spell: fix a few typos in commentsYury G. Kudryashov2013-01-231-3/+3
| | |
* | | CMake Nightly Date StampKitware Robot2013-01-241-1/+1
| |/ |/|
* | Merge topic 'disallow-IMPORTED-interface-porcelain'Brad King2013-01-237-34/+13
|\ \ | | | | | | | | | | | | | | | b98d14d Disallow porcelain to populate includes and defines of IMPORTED targets. 48a4cf2 Revert "Allow target_link_libraries with IMPORTED targets."
| * | Disallow porcelain to populate includes and defines of IMPORTED targets.Stephen Kelly2013-01-216-20/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With similar reasoning to the parent commit, as downstreams, we can't determine what $<CONFIG> generator expressions would be appropriate. Upstream would have populated the INTERFACE_INCLUDE_DIRECTORIES with config-specific generator expressions, possibly appropriate for their DEBUG_CONFIGURATIONS. In theory, if we would add include directories for a DEBUG intent, we would have to match the upstream configurations for that. Rather than attempting to discover the appropriate configurations at this time, simplify the feature instead. The use of IMPORTED targets with these commands could still be added in the future if targets would export their DEBUG_CONFIGURATIONS somehow.
| * | Revert "Allow target_link_libraries with IMPORTED targets."Stephen Kelly2013-01-211-14/+0
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 9cfe4f1b769597bd9ba179eba46572a9df27f64c. It turns out that correctly adding the content to the IMPORTED_LINK_INTERFACE_LIBARIES_<CONFIG> of an upstream target from the buildsystem of a downstream project is not simple. If upstream had added the INTERFACE content, the config-specific properties would be determined by the DEBUG_CONFIGURATIONS of upstream. As downstream, we don't have any information about what the DEBUG_CONFIGURATIONS of upstream were, so we can't determine which configuration-specific properties to populate. The best we can do is add it to all of them or add it to the ones downstream considers to be DEBUG_CONFIGURATIONS, neither of which is a good solution. So, removing the porcelain API for that is the best approach. A human can still determine which properties to populate and use the set_property API to populate the desired properies. Another solution to this would be for upstream targets to publish what they consider DEBUG_CONFIGURATIONS, but that can be added in a future release.
* | Merge topic 'clean-include-dirs-debugging'Brad King2013-01-239-48/+114
|\ \ | | | | | | | | | | | | | | | | | | | | | 6063fef Output include directories as LOG messages, not warnings. aa66748 Specify the target whose includes are being listed. d70204a Only output includes once after the start of 'generate-time' when debugging. 0d46e9a Store includes from the same include_directories call together.
| * | Output include directories as LOG messages, not warnings.Stephen Kelly2013-01-211-0/+4
| | |
| * | Specify the target whose includes are being listed.Stephen Kelly2013-01-211-2/+2
| | |
| * | Only output includes once after the start of 'generate-time' when debugging.Stephen Kelly2013-01-215-1/+17
| | | | | | | | | | | | | | | | | | During configure-time, GetIncludeDirectories may be called too, for example if using the export() command. As the content can be different, it should be output each time then.
| * | Store includes from the same include_directories call together.Stephen Kelly2013-01-215-45/+91
| | | | | | | | | | | | | | | | | | Otherwise, we get a separate IncludeDirectoriesEntry for each include, and that causes unnecessary and confusing splitting in the output when debugging the INCLUDE_DIRECTORIES property.
* | | Merge topic 'export-new-style-files'Brad King2013-01-232-72/+72
|\ \ \ | | | | | | | | | | | | | | | | 02d4e53 Generate new-style cmake code during export.
| * | | Generate new-style cmake code during export.Stephen Kelly2013-01-202-72/+72
| | | | | | | | | | | | | | | | Use empty end*() commands and lowercase commands.
* | | | Merge topic 'fix-LINK_LIBRARIES-population'Brad King2013-01-231-2/+3
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | d7f1520 Don't wrap all targets in LINK_LIBRARIES in a TARGET_NAME genex.
| * | | | Don't wrap all targets in LINK_LIBRARIES in a TARGET_NAME genex.Stephen Kelly2013-01-201-2/+3
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It is not necessary and the current state is unintentional. Before this patch, target_link_libraries(foo bar) causes the LINK_LIBRARIES property of foo to contain $<TARGET_NAME:bar> instead of just bar
* | | | Merge topic 'qt4-autolink-qtmain'Brad King2013-01-236-0/+135
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | e3b5eb6 Automatically link to the qtmain library when linking to QtCore. 6c8d8af Add the $<TARGET_POLICY> expression
| * | | | Automatically link to the qtmain library when linking to QtCore.Stephen Kelly2013-01-235-2/+35
| | | | | | | | | | | | | | | | | | | | | | | | | When using QAxServer, ensure that the qtmain library is excluded by reporting an error at CMake time if it is not.
| * | | | Add the $<TARGET_POLICY> expressionStephen Kelly2013-01-172-0/+102
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This new expression allows checking how a policy was set when a target was created. That information is only recorded for a subset of policies, so a whitelist is used.