summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Help: Revise target_link_libraries command documentationBrad King2015-04-031-84/+124
| | | | | | Organize the documentation into subsections to separate the signatures. Refactor the discussion of allowed link items into bullet points and expand into more detail on each.
* Help: Update discussion of relocable packages in cmake-packages(7)Brad King2015-04-031-20/+46
| | | | | | | | | | Explain at the beginning of the section the requirements for a package to be relocatable to justify the rest of the section content. Generalize example to use fictional package names instead of real ones, especially because FindBoost provides no alternative yet. Reword the discussion to represent the preferred approach as "ideal" but also suggest workarounds when find modules do not provide the imported targets.
* Help: Reorganize and refine discussion of relocatable packagesBrad King2015-04-034-114/+106
| | | | | | | | | | | | | | | | | | | | | | | Re-organize the content added to the cmake-packages(7) manual by * commit v3.0.0-rc1~184^2 (Help: Document export(EXPORT) in the cmake-packages manual, 2013-12-23), * commit v3.0.0-rc1~154^2~1 (Help: Add notes about relocatability of config-file packages, 2014-01-07), and * commit v3.2.0-rc1~345^2 (Help: Warn that paths should not be used in INTERFACE_ build properties, 2014-11-22). These commits broke the natural flow of the original manual and made wording after the new content make less sense. Move the content into new subsections to restore the flow of the original manual and to make explicitly the purpose of the new content. Shorten the relocatable usage requirement "warnings". Refer to the new cmake-packages(7) manual subsection to reduce duplication. Also clarify the distinction between paths to library dependencies and paths to their header files.
* Help: Place relocatable package notes in their own subsectionsBrad King2015-04-036-3/+21
| | | | | | | These notes apply only for the use case of creating a package for redistribution on machines other than that where it is built. Clarify this to readers by placing the discussion in dedicated sections titled accordingly.
* Help: Fix typo in cmake-packages(7) manualBrad King2015-04-031-1/+1
| | | | relevnt => relevant
* Help: Fix syntax in non-relocatable usage requirements exampleBrad King2015-04-031-4/+4
| | | | | The example in cmake-packages(7) is meant to be incorrect for use of absolute paths, not for its syntax.
* CMake Nightly Date StampKitware Robot2015-04-021-1/+1
|
* Merge topic 'cpack-deb-format-cast'Brad King2015-04-011-2/+4
|\ | | | | | | | | e86f44b7 cmCPackDebGenerator: Cast file mode to proper type for %o formatter
| * cmCPackDebGenerator: Cast file mode to proper type for %o formatterBrad King2015-03-311-2/+4
| |
* | Merge topic 'ctest-repeat-until-fail'Brad King2015-04-011-11/+11
|\ \ | | | | | | | | | | | | b687d672 Tests: Fix RunCMake.CTestCommandLine expected output time matching
| * | Tests: Fix RunCMake.CTestCommandLine expected output time matchingBrad King2015-03-311-11/+11
| | | | | | | | | | | | | | | | | | When matching ctest command-line output, we must account for the formatting of times that take 10 seconds or more. The values are right-justified, so use " +" to match any amount of space before them.
* | | Merge topic 'cpack-fix-preinstall-tool'Brad King2015-04-011-15/+8
|\ \ \ | | | | | | | | | | | | | | | | 93a3ec8b CPack: Fix make tool selection during preinstall (#15483)
| * | | CPack: Fix make tool selection during preinstall (#15483)Brad King2015-03-311-15/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The CMAKE_MAKE_PROGRAM selected by CMake while configuring the project should also be used to drive the "preinstall" target during packaging. Teach CPack to use "cmake --build" instead of constructing the build command line itself. The "cmake --build" command already knows how to select the proper make tool.
* | | | Merge topic 'jsoncpp-isfinite'Brad King2015-04-011-0/+14
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | 7b1cdb00 jsoncpp: Provide 'isfinite' implementation on older AIX and HP-UX
| * | | | jsoncpp: Provide 'isfinite' implementation on older AIX and HP-UXÅdne Hovda2015-03-311-0/+14
| | |_|/ | |/| | | | | | | | | | | | | | Newer AIX and HP-UX platforms provide 'isfinite' as a <math.h> macro. Older versions do not, so add the definition if it is not provided.
* | | | Merge topic 'makefile-DELETE_ON_ERROR'Brad King2015-04-015-0/+20
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | 44990732 Help: Add notes for topic 'makefile-DELETE_ON_ERROR' 4adf1dad Makefile: Tell GNU make to delete rule outputs on error (#15474)
| * | | | Help: Add notes for topic 'makefile-DELETE_ON_ERROR'Brad King2015-03-311-0/+7
| | | | |
| * | | | Makefile: Tell GNU make to delete rule outputs on error (#15474)Brad King2015-03-304-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add .DELETE_ON_ERROR to the "build.make" files that contain the actual build rules that generate files. This tells GNU make to delete the output of a rule if the recipe modifies the output but returns failure. This is particularly useful for custom commands that use shell redirection to produce a file. Do not add .DELETE_ON_ERROR for Borland or Watcom make tools because they may not tolerate it and would not honor it anyway. Other make tools that do not understand .DELETE_ON_ERROR will not be hurt. Suggested-by: Andrey Vihrov <andrey.vihrov@gmail.com>
* | | | | Merge topic 'suppress-osx-arch-linker-warning'Brad King2015-04-011-0/+1
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 3113d86d CTestCustom: Suppress OS X universal binary link arch warnings
| * | | | | CTestCustom: Suppress OS X universal binary link arch warningsBrad King2015-03-311-0/+1
| | |/ / / | |/| | |
* | | | | Merge topic 'solaris-fix-target_link_libraries-test'Brad King2015-04-011-1/+11
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 0778016a Tests: Do not try to use invalid "ld -v" flag on Solaris
| * | | | | Tests: Do not try to use invalid "ld -v" flag on SolarisBrad King2015-03-311-1/+11
| | |_|/ / | |/| | | | | | | | | | | | | | | | | | Fix the CMakeCommands.target_link_libraries test to use "-V" instead of "-v" on Solaris because the latter does not exist.
* | | | | CMake Nightly Date StampKitware Robot2015-04-011-1/+1
| |/ / / |/| | |
* | | | Merge topic 'UseSWIG-no-MAIN_DEPENDENCY'Brad King2015-03-311-0/+9
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | 1570a4df Help: Add notes for topic 'UseSWIG-no-MAIN_DEPENDENCY'
| * | | | Help: Add notes for topic 'UseSWIG-no-MAIN_DEPENDENCY'Brad King2015-03-311-0/+9
| | | | |
* | | | | Merge topic 'cpack-rpm-basic-symlink-handling'Brad King2015-03-316-26/+532
|\ \ \ \ \ | |_|/ / / |/| | | | | | | | | | | | | | | | | | | 68e13e98 Help: Add notes for topic 'cpack-rpm-basic-symlink-handling' 681f3a2f CPackRPM: Add basic symlink support (#15209)
| * | | | Help: Add notes for topic 'cpack-rpm-basic-symlink-handling'Brad King2015-03-311-0/+6
| | | | |
| * | | | CPackRPM: Add basic symlink support (#15209)Domen Vrankar2015-03-315-26/+526
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | RPM packages can contain symbolic links to relative paths - including support for multiple relocation paths through generation of post install relocation scripts. Add basic support with limitations described in documentation.
* | | | Merge topic 'UseSWIG-no-MAIN_DEPENDENCY'Brad King2015-03-311-2/+1
|\ \ \ \ | | |/ / | |/| | | | | | | | | | b372a99a UseSWIG: Do not use MAIN_DEPENDENCY on custom commands (#15480)
| * | | UseSWIG: Do not use MAIN_DEPENDENCY on custom commands (#15480)Felix Schwitzer2015-03-301-2/+1
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | Add the dependency on the main swig input source file as a normal DEPENDS option. We cannot use MAIN_DEPENDENCY because if there are multiple target languages then multiple custom commands would want to use the same MAIN_DEPENDENCY, but at most one custom command may specify a given source file as its MAIN_DEPENDENCY. Exposed by a CMP0057 warning.
* | | Merge topic 'doc-COMPILE_OPTIONS-cleanup'Brad King2015-03-313-8/+9
|\ \ \ | | | | | | | | | | | | | | | | | | | | c46125df Help: Refine COMPILE_OPTIONS property documentation d51c1f09 Help: Fix xref typos in target_compile_options docs
| * | | Help: Refine COMPILE_OPTIONS property documentationBrad King2015-03-312-6/+7
| | | | | | | | | | | | | | | | | | | | | | | | Make wording of the directory and target properties more consitent and complementary. Specify that the value is a ";-list" with a link to the cmake-language(7) manual section on lists.
| * | | Help: Fix xref typos in target_compile_options docsBrad King2015-03-311-2/+2
| | | | | | | | | | | | | | | | Fix links to the COMPILE_OPTIONS directory and target properties.
* | | | Merge topic 'doc-list-xref'Brad King2015-03-311-0/+2
|\ \ \ \ | |/ / / | | | | | | | | | | | | 845c8375 Help: Add link target to cmake-language.7 lists section
| * | | Help: Add link target to cmake-language.7 lists sectionBrad King2015-03-311-0/+2
| |/ /
* | | Merge topic 'clean-scanbuild-warnings'Brad King2015-03-311-0/+12
|\ \ \ | | | | | | | | | | | | | | | | d9420364 Move scanbuild exceptions out of dashboard script and into cmake.
| * | | Move scanbuild exceptions out of dashboard script and into cmake.Bill Hoffman2015-03-301-0/+12
| | | |
* | | | CMake Nightly Date StampKitware Robot2015-03-311-1/+1
| |/ / |/| |
* | | Merge topic 'cpack-archive-prefix'Brad King2015-03-305-0/+51
|\ \ \ | | | | | | | | | | | | | | | | e3f84fc5 cpack: Fix CPACK_PACKAGING_INSTALL_PREFIX handling for archives (#14677)
| * | | cpack: Fix CPACK_PACKAGING_INSTALL_PREFIX handling for archives (#14677)Clinton Stimpson2015-03-305-0/+51
| | | | | | | | | | | | | | | | | | | | Fix the case when the archive generator is used to package components with an install prefix.
* | | | Merge topic 'add_dependencies-INTERFACE-libraries'Brad King2015-03-3010-35/+32
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | ac14cbf0 Allow add_dependencies() on INTERFACE libraries (#15414) 817d31db Help: Format add_dependencies documentation
| * | | | Allow add_dependencies() on INTERFACE libraries (#15414)Brad King2015-03-2710-28/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Revert commit v3.0.0-rc1~175^2~20 (add_dependencies: Disallow use with INTERFACE_LIBRARY, 2013-12-25). Teach our dependency analysis to transitively follow INTERFACE target utility dependencies as was done or IMPORTED targets in commit v2.8.6~127^2~1 (Allow add_dependencies() on imported targets, 2010-11-19). Extend the InterfaceLibrary test with a case to cover header generation for a header-only INTERFACE library via a custom target.
| * | | | Help: Format add_dependencies documentationBrad King2015-03-271-9/+12
| | | | | | | | | | | | | | | | | | | | Add reStructuredText markup.
* | | | | Merge topic 'ninja-autogen'Brad King2015-03-301-3/+6
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 4d08e6b6 QtAutogen: Fix rcc rebuild with Ninja generator (#15459)
| * | | | | QtAutogen: Fix rcc rebuild with Ninja generator (#15459)Brad King2015-03-271-3/+6
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The rcc outputs are byproducts of the cmake_autogen rule, not outputs. We still must run cmake_autogen on every run even if the rcc outputs exist. Ninja requires explicit byproduct specification, which is now possible in CMake since commit v3.2.0-rc1~340^2~2 (Add an option for explicit BYPRODUCTS of custom commands, 2014-11-13). Revise the logic introduced by commit v3.2.0-rc1~480^2 (QtAutogen: Regenerate qrc files if their input changes, 2014-09-17) to specify byproducts explicitly.
* | | | | Merge topic 'ExternalData-recursive-match'Brad King2015-03-3023-7/+84
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 230f2d6e ExternalData: Add option to recursively match under directories 564c07f7 ExternalData: Parameterize internal file(GLOB) operation selection
| * | | | | ExternalData: Add option to recursively match under directoriesBrad King2015-03-2723-3/+76
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Extend the ``DATA{Dir/,...}`` syntax with a new ``RECURSE:`` option to enable recursive matching of associated files. This will allow an entire directory tree of data to be referenced at once.
| * | | | | ExternalData: Parameterize internal file(GLOB) operation selectionBrad King2015-03-271-6/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Extend the _ExternalData_arg_find_files signature with an option to specify the kind of file(GLOB) operation to be performed. Set CMP0009 to NEW so that GLOB_RECURSE does not follow symlinks.
* | | | | | Merge topic 'xcode-default-ARCHS'Brad King2015-03-302-41/+21
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b76b52c0 Xcode: Set ARCHS only when CMAKE_OSX_ARCHITECTURES is specified (#14736) 9e14a5de cmGlobalXCodeGenerator: Simplify ARCHS list with cmJoin
| * | | | | | Xcode: Set ARCHS only when CMAKE_OSX_ARCHITECTURES is specified (#14736)Brad King2015-03-272-32/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Teach the Xcode generator that ONLY_ACTIVE_ARCH=YES means to use ARCHS, and that the default of ONLY_ACTIVE_ARCH=NO means to use NATIVE_ARCH and ignore ARCHS. In the latter case there is no reason to generate ARCHS.