summaryrefslogtreecommitdiffstats
path: root/Help/policy
Commit message (Collapse)AuthorAgeFilesLines
* CMP0043: Document old and new interfaces for setting directory property.Stephen Kelly2014-03-031-1/+7
|
* add_custom_command: Disallow use of SOURCE signatures.Stephen Kelly2014-02-121-0/+18
| | | | Add CMP0050 to control this behavior.
* Add policy CMP0049 to avoid variable expansion in source listsStephen Kelly2014-02-121-0/+23
|
* Merge topic 'doc-policy-version-3.0'Brad King2014-02-1025-29/+29
|\ | | | | | | | | aab11bca Help: Change version 3.0.0 -> 3.0 in policy docs
| * Help: Change version 3.0.0 -> 3.0 in policy docsBrad King2014-02-1025-29/+29
| | | | | | | | | | | | Starting with 3.0 we will use only two components for the feature level, and policies are only ever introduced with a bump to the feature level version.
* | Help: Fix typo.Stephen Kelly2014-02-071-1/+1
|/ | | | 'to not to' -> 'not to'
* project: Manage VERSION variablesBrad King2014-01-291-0/+22
| | | | | | | | | | | | | | | | Teach the project() command to set variables {PROJECT,<PROJECT-NAME>}_VERSION{,_MAJOR,_MINOR,_PATCH,_TWEAK} holding the project version number and its components. Add project() command option "VERSION" to specify the version explicitly, and default to the empty string when it is not given. Since this clears variables when no VERSION is given, this may change behavior for existing projects that set the version variables themselves prior to calling project(). Add policy CMP0048 for compatibility. Suggested-by: Alex Neundorf <neundorf@kde.org>
* QNX: Introduce QCC compiler id for that QNX platform compiler.Stephen Kelly2014-01-221-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | Introduce policy CMP0047 to control resetting the id for compatibility. De-duplicate content in the QNX platform file by including the GNU one. QNX is a form of GNU platform. Do not clear CMAKE_SHARED_LIBRARY_${lang}_FLAGS variables. They are populated again later by the Compiler/GNU.cmake file anyway. Modify the CMAKE_CXX_COMPILE_OBJECT variable only when the QCC compiler id is in use, and the language is CXX. Use the QNX recommended flag for QCC instead of the gcc compatible -x flag. Populate new module files to handle system includes and depfiles when using the QCC compiler. Remove code which unsets the system include and depfiles related variables. When a GNU driver is used instead of the QCC one, the appropriate flags will be used. These variables were previously cleared for lowest-common-denominator compatibility with both drivers.
* AddDependencies: new policy requires dependencies to existNils Gladitz2014-01-121-0/+17
| | | | | Added new policy CMP0046 which requires dependencies added by add_dependencies() to actually exist.
* Merge topic 'policies'Brad King2014-01-093-0/+75
|\ | | | | | | | | | | | | | | | | 73e9340 get_target_property: Error on non-existent target. ab9f58f FindQt4: Ensure target exists before calling get_target_property. 37ebeb9 FindQt4: Fix use of get_target_property to use actual target name. 6aabb6a Genex: Use case-sensitive comparison for COMPILER_ID. 5bb53f6 cmTarget: Deprecate COMPILE_DEFINITIONS_ properties with a policy.
| * get_target_property: Error on non-existent target.Stephen Kelly2014-01-081-0/+17
| | | | | | | | Introduce policy CMP0045 to control this behavior.
| * Genex: Use case-sensitive comparison for COMPILER_ID.Stephen Kelly2014-01-081-0/+19
| |
| * cmTarget: Deprecate COMPILE_DEFINITIONS_ properties with a policy.Stephen Kelly2014-01-081-0/+39
| |
* | Note how to write CMP0022 compatible code with CMake 2.8.9.Stephen Kelly2014-01-081-0/+4
|/ | | | This has come up on the mailing list, and various other places.
* Merge topic 'rpath-default'Brad King2014-01-021-0/+19
|\ | | | | | | | | d25ad48 OS X: Add CMP0042 to enable MACOSX_RPATH by default
| * OS X: Add CMP0042 to enable MACOSX_RPATH by defaultClinton Stimpson2014-01-021-0/+19
| | | | | | | | | | Also adding documentation for CMAKE_MACOSX_RPATH, and improving documentation for MACOSX_RPATH.
* | 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.