summaryrefslogtreecommitdiffstats
path: root/Help/policy
Commit message (Collapse)AuthorAgeFilesLines
* Help: Fix CMP0037 docs.Stephen Kelly2013-12-191-1/+1
| | | | | INTERFACE libraries may not use double-colons, but IMPORTED targets may.
* Help: Add missing period.Stephen Kelly2013-12-191-1/+1
|
* Merge topic 'export-includes'Brad King2013-12-021-0/+25
|\ | | | | | | | | | | | | | | | | | | 5838aba Export: Report error on relative include with genex. 7a3e45b Export: Prefix relative items with genexes in INSTALL_INTERFACE. f088a32 Export: Process INSTALL_INTERFACE in INCLUDES DESTINATION. 9eedc85 Export: Process relative includes after genex evaluation. 80790f3 Export: Test existing behavior of exporting includes with genexes. 38afc82 target_include_directories: Allow relative path with genex
| * Export: Report error on relative include with genex.Stephen Kelly2013-11-261-0/+25
| | | | | | | | | | | | | | | | | | | | | | | | Diagnostics which check the sanity of exported include paths previously skipped over any path containing a generator expression. Introduce a policy to issue an error message in such cases. The export files created in the OLD behavior are not usable, because they contain relative paths or paths to the source or build location which are not suitable for use on installation. CMake will report an error on import.
* | Help: Fix typo in CMP0040 docs.Stephen Kelly2013-11-261-1/+1
|/ | | | 'report and error' -> 'report an error'
* Add policy CMP0040 to disallow custom commands on missing targetsNils Gladitz2013-11-211-0/+16
|
* CMP0037: Extend policy to reserved names and custom targetsNils Gladitz2013-11-191-6/+11
| | | | | | | | Teach add_custom_target to check the policy too. Extend the policy to disallow reserved target names that we use for builtin targets like "all". Extend the RunCMake.CMP0037 test to cover these cases.
* CMP0038: Add missing '.' to policy summary lineBrad King2013-11-121-1/+1
|
* CMP0039: Add missing '.' to policy summary lineDaniele E. Domenichelli2013-11-121-1/+1
|
* Disallow linking to utility targets (#13902).Stephen Kelly2013-11-071-0/+17
|
* Disallow link-to-self (#13947).Stephen Kelly2013-11-071-0/+16
|
* Disallow invalid target names (#13140)Stephen Kelly2013-11-071-0/+21
| | | | | Exclude Borland and NMake from the CMP0037 test. They do not accept the colon in a target name.
* Add policy CMP0036 to disallow build_nameBrad King2013-10-221-0/+12
|
* Add policy CMP0035 to disallow variable_requiresBrad King2013-10-221-0/+10
|
* Add policy CMP0034 to disallow utility_sourceBrad King2013-10-221-0/+11
|
* Add policy CMP0033 to disallow export_library_dependenciesBrad King2013-10-221-0/+14
|
* Add policy CMP0032 to disallow output_required_filesBrad King2013-10-221-0/+13
|
* Add policy CMP0031 to disallow load_commandBrad King2013-10-221-0/+13
|
* Add policy CMP0030 to disallow use_mangled_mesaBrad King2013-10-221-0/+11
|
* Add policy CMP0029 to disallow subdir_dependsBrad King2013-10-221-0/+10
|
* Add infrastructure for policies that disallow commandsBrad King2013-10-221-0/+9
| | | | | | | | Add cmCommand::Disallowed helper to check the setting of a policy that disallows the command. Add a RunCMake.DisallowedCommands test placeholder. Add a Help/policy/DISALLOWED_COMMAND.txt file for inclusion by each policy document to avoid duplication of the common text.
* Merge topic 'double-colon-is-imported'Brad King2013-10-221-0/+23
|\ | | | | | | | | f063c45 Consider targets with double colons to be IMPORTED or ALIAS targets.
| * Consider targets with double colons to be IMPORTED or ALIAS targets.Stephen Kelly2013-10-211-0/+23
| | | | | | | | | | | | | | | | Introduce a policy to control the behavior. The AliasTargets unit test already tests that using a double-semicolon in the name is not an error. Change the ExportImport test to use a namespace with a double-semicolon too.
* | cmPolicies: Fix typoStephen Kelly2013-10-181-1/+1
|/ | | | Use American spelling: behaviour -> behavior.
* Handle genexes when evaluating INTERFACE_INCLUDE_DIRECTORIES errors.Stephen Kelly2013-10-181-0/+25
|
* Update CMP0024/CMP0025/CMP0026 release versionBrad King2013-10-173-5/+5
| | | | | | These policies were introduced after 2.8.12 in anticipation of 2.8.13. However, we've now decided the next release will be 3.0.0, so update the version of introduction accordingly.
* Help: Fix reStructuredText syntax in auto-generated documentsBrad King2013-10-151-3/+3
|
* Convert builtin help to reStructuredText source filesKitware Robot2013-10-1527-0/+686
Run the convert-help.bash script to convert documentation: ./convert-help.bash "/path/to/CMake-build/bin" Then remove it.