summaryrefslogtreecommitdiffstats
path: root/Source/cmTargetPropCommandBase.h
Commit message (Collapse)AuthorAgeFilesLines
* cmTargetPropCommandBase: Change the interface to return bool.Stephen Kelly2014-04-071-2/+2
| | | | | This is needed for the target_compile_features command, which may fail at configure time if an invalid feature is specified.
* stringapi: Use strings for property namesBen Boeckel2014-03-081-1/+2
| | | | Property names are always generated by CMake and should never be NULL.
* Drop builtin command documentationBrad King2013-10-161-1/+0
| | | | | Drop all GetTerseDocumentation and GetFullDocumentation methods from commands. The command documentation is now in Help/command/*.rst files.
* Add a SYSTEM parameter to target_include_directories (#14180)Stephen Kelly2013-07-021-5/+7
| | | | | | This is similar to the include_directories(SYSTEM) signature in that it allows telling the compiler to ignore warnings from such headers.
* Extend the cmTargetPropCommandBase interface property handling.Stephen Kelly2013-07-021-0/+3
| | | | | This can be used to handle INTERFACE SYSTEM include directories in particular.
* Fix use of cmTypeMacro in new command classesBrad King2013-01-311-0/+1
| | | | | | | | Both commit 8a37ebec (Add the target_include_directories command, 2013-01-01) and commit fc61a7a7 (Add the target_compile_definitions command, 2013-01-08) added command implementations deriving from the new cmTargetPropCommandBase class. Fix cmTypeMacro declarations of the inheritance relationship.
* Make subclasses responsible for joining content.Stephen Kelly2013-01-291-5/+5
| | | | | 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-291-5/+0
|
* Make the Property name protected so that subclasses can use it.Stephen Kelly2013-01-291-1/+3
| | | | Makes subclasses more dry in upcoming patches.
* Disallow porcelain to populate includes and defines of IMPORTED targets.Stephen Kelly2013-01-211-2/+1
| | | | | | | | | | | | | | | | 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.
* Document the use of generator expressions in new commands.Stephen Kelly2013-01-131-0/+1
|
* Add the target_include_directories command.Stephen Kelly2013-01-101-0/+57
This is a convenience API to populate the corresponding properties.