summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Link libraries by full path even in implicit directoriesBrad King2015-04-0928-6/+234
| | | | | | | | | | | | | | | | | | | | | | When CMP0003 was first introduced we wanted to link all libraries by full path. However, some projects had problems on platforms where find_library would find /usr/lib/libfoo.so when the project really wanted to link to /usr/lib/<arch>/libfoo.so and had been working by accident because pre-CMP0003 behavior used -lfoo to link. We first tried to address that in commit v2.6.0~440 (Teach find_library to avoid returning library paths in system directories, 2008-01-23) by returning just "foo" for libraries in implicit link directories. This caused problems for projects expecting find_library to always return a full path. We ended up using the solution in commit v2.6.0~366 (... switch library paths found in implicit link directories to use -l, 2008-01-31). However, the special case for libraries in implicit link directories has also proven problematic and confusing. Introduce policy CMP0060 to switch to linking all libraries by full path even if they are in implicit link directories. Explain in the policy documentation the factors that led to the original approach and now to this approach.
* Help: Add link target for Find Modules section of cmake-developer.7Brad King2015-04-071-0/+1
|
* Tests: Teach RunCMake to optionally merge command output to stdoutBrad King2015-04-071-2/+8
| | | | | | | Some tests may need to read "cmake --build" output passed through from native build tools and do not know if it will be on stdout or stderr. Optionally use the same variable for the execute_process output so that it merges them and we can always match using expected stdout.
* Merge topic 'minor-cleanups'Brad King2015-04-0610-81/+7
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | c37cf7fa cmCacheManager: Remove unused method 64556e3d cmCacheManager: Remove unused overloads. 23bb5d22 cmCacheManager: Remove use of intermediate overload. 510562e3 cmGlobalGenerator: Don't fetch the cache manager in a loop. 629e9489 cmake: Clear member rather than explicit erase. d280bae9 cmake: Be clear that there is no chaining after global properties. 364c7ea1 cmake: Remove unused method. 47acfe1d cmake: Remove unused member. a469bf7b cmMakefile: Remove one wrong and one insufficiently helpful comment. 257c1649 cmListFile: Remove unused member. fe17092c cmMakefile: Remove bogus comment. 199b28ac Remove duplicate tag name.
| * cmCacheManager: Remove unused methodStephen Kelly2015-04-054-27/+0
| |
| * cmCacheManager: Remove unused overloads.Stephen Kelly2015-04-052-24/+0
| |
| * cmCacheManager: Remove use of intermediate overload.Stephen Kelly2015-04-051-1/+2
| |
| * cmGlobalGenerator: Don't fetch the cache manager in a loop.Stephen Kelly2015-04-051-2/+1
| | | | | | | | It doesn't change from Makefile to Makefile.
| * cmake: Clear member rather than explicit erase.Stephen Kelly2015-04-051-1/+1
| |
| * cmake: Be clear that there is no chaining after global properties.Stephen Kelly2015-04-051-3/+2
| |
| * cmake: Remove unused method.Stephen Kelly2015-04-051-3/+0
| |
| * cmake: Remove unused member.Stephen Kelly2015-04-052-2/+0
| |
| * cmMakefile: Remove one wrong and one insufficiently helpful comment.Stephen Kelly2015-04-041-3/+2
| |
| * cmListFile: Remove unused member.Stephen Kelly2015-04-042-11/+0
| | | | | | | | | | It is written, but not read since commit v2.4.0~575 (ENH: Since list file cache does not make much sense any more ..., 2006-02-07).
| * cmMakefile: Remove bogus comment.Stephen Kelly2015-04-041-4/+0
| |
| * Remove duplicate tag name.Stephen Kelly2015-04-041-1/+0
| |
* | Merge topic 'cpack-one-component-only'Brad King2015-04-062-2/+4
|\ \ | | | | | | | | | | | | 0ffd3534 CPack single component packaging
| * | CPack single component packagingDomen Vrankar2015-04-052-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | RPM, DEB and archive packages were not created in cases when CPACK_<generator>_COMPONENT_INSTALL was set to ON and a single component existed. Patch also changes CPackRPM test to implicitly test for this case.
* | | Merge topic 'improve-properties-help'Brad King2015-04-066-39/+43
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6f82b5e8 Help: Link to properties in set_tests_properties. 66f5af29 Help: Link to properties in set_directory_properties docs. f7dd3f7c Help: Add link in set_source_files_properties command docs. 3b256173 Help: Shorten too-long title marker. 8fc3a2fb Help: Add references to cmake-property sections.
| * | | Help: Link to properties in set_tests_properties.Stephen Kelly2015-04-043-29/+22
| | | | | | | | | | | | | | | | Remove help for specific properties to their own help pages.
| * | | Help: Link to properties in set_directory_properties docs.Stephen Kelly2015-04-041-6/+3
| | | | | | | | | | | | | | | | Remove claim that CMake will report an error for unknown properties.
| * | | Help: Add link in set_source_files_properties command docs.Stephen Kelly2015-04-041-3/+3
| | | | | | | | | | | | | | | | | | | | Remove claim about unrecognized properties being ignored. Such properties can be retrieved later by the user.
| * | | Help: Shorten too-long title marker.Stephen Kelly2015-04-041-1/+1
| | | |
| * | | Help: Add references to cmake-property sections.Stephen Kelly2015-04-041-0/+14
| | |/ | |/|
* | | Merge topic 'gcov-module-coverage-exclude'Brad King2015-04-0610-18/+128
|\ \ \ | | | | | | | | | | | | | | | | 9a544f2d CTestCoverageCollectGCOV: Support CTEST_CUSTOM_COVERAGE_EXCLUDE
| * | | CTestCoverageCollectGCOV: Support CTEST_CUSTOM_COVERAGE_EXCLUDENils Gladitz2015-04-0410-18/+128
| | | |
* | | | Merge topic 'doc-target_link_libraries'Brad King2015-04-061-84/+124
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | 659896d3 Help: Revise target_link_libraries command documentation
| * | | | 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.
* | | | | Merge topic 'makefile-depscan-BOM'Brad King2015-04-067-6/+58
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | af924827 Makefile: Tolerate a BOM while scanning source dependencies (#15493)
| * | | | | Makefile: Tolerate a BOM while scanning source dependencies (#15493)Brad King2015-04-037-6/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Otherwise an #include directive on the first line of a source file is ignored if the file contains a Byte-Order-Mark. Suggested-by: Aleksey Konovalov <konovalov.aleks@gmail.com>
* | | | | | Merge topic 'test_cpack_symlinks'Brad King2015-04-065-0/+38
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5f686b8a Tests: Add case for CPack source package with symlinks aca1d93b cpack: Disable CMake Cygwin legacy warning while packaging
| * | | | | | Tests: Add case for CPack source package with symlinksBill Hoffman2015-04-064-0/+35
| | | | | | |
| * | | | | | cpack: Disable CMake Cygwin legacy warning while packagingBrad King2015-04-011-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In cpack we load the platform information modules to give the configuration scripts access to the host system information. CYGWIN.cmake warns unless we explicitly tell it not to warn since there is no chance for a cmake_minimum_required(VERSION) to be called.
* | | | | | | Merge topic 'doc-generator-names-ref'Brad King2015-04-061-1/+1
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | dc4f64ab Help: Clarify manual reference for generator names
| * | | | | | | Help: Clarify manual reference for generator namesNils Gladitz2015-04-041-1/+1
| | |_|_|_|/ / | |/| | | | |
* | | | | | | CMake Nightly Date StampKitware Robot2015-04-061-1/+1
| |_|_|_|_|/ |/| | | | |
* | | | | | CMake Nightly Date StampKitware Robot2015-04-051-1/+1
|/ / / / /
* | | | | CMake Nightly Date StampKitware Robot2015-04-041-1/+1
| | | | |
* | | | | Merge topic 'vs-xaml'Brad King2015-04-0324-4/+498
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 01a9ab0d VS: Add support for XAML source files
| * | | | | VS: Add support for XAML source filesGilles Khouzam2015-04-0324-4/+498
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | XAML files are by default of type Page in the vcxproj and can be overriden by setting the VS_XAML_TYPE property. The .cpp and .h file of the same name are automatically added as depending on the XAML file. New VSXaml test builds a basic XAML WindowsStore 8.1 app with VS2013.
* | | | | | Merge topic 'doc-relocatable-usage-requirements'Brad King2015-04-0310-117/+153
|\ \ \ \ \ \ | |/ / / / / |/| | | / / | | |_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | 3af13782 Help: Update discussion of relocable packages in cmake-packages(7) 227992c3 Help: Reorganize and refine discussion of relocatable packages 031d894f Help: Place relocatable package notes in their own subsections 6e331ce9 Help: Fix typo in cmake-packages(7) manual ba9b9d79 Help: Fix syntax in non-relocatable usage requirements example
| * | | | 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.
* | | | Merge topic 'doc-generator-groups'Brad King2015-04-031-1/+25
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | 6ed6ef62 Help: Split cmake-generators(7) into linkable subsections
| * | | Help: Split cmake-generators(7) into linkable subsectionsBrad King2015-04-031-1/+25
|/ / / | | | | | | | | | | | | | | | | | | Many places in our documentation refer to "Makefile Generators" or "Visual Studio" generators as a group of generators. Give such places a linkable document section to reference since they cannot cross-reference the individual generators in the groups.
* | | Merge topic 'FindCUDA.cmake/StaticRuntime'Brad King2015-04-032-4/+88
|\ \ \ | | | | | | | | | | | | | | | | 7fea2b77 FindCUDA: Use the static CUDA runtime library if available (#15482)
| * | | FindCUDA: Use the static CUDA runtime library if available (#15482)James Bigler2015-04-032-4/+88
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Beginning in CUDA 5.5 a static version of the cuda runtime library became available. Since nvcc defaults to using this library over the shared version, FindCUDA will also default to using this version. There are many advantages to using the static version (most importantly to avoid conflicts with multiple versions when building a CUDA based library). Offer a CUDA_USE_STATIC_CUDA_RUNTIME option to control this behavior.