summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Export: allow exporting of additional propertiesWouter Klouwen2018-03-1620-0/+160
| | | | | | | | | This change introduces an additional property that may be set on a target to allow additional properties to be exported. Normally only a limited number of properties are exported. Additional properties may be exported by simply setting the `EXPORT_PROPERTIES` property on a target that is exported.
* CMake Nightly Date StampKitware Robot2018-03-131-1/+1
|
* Merge branch 'release-3.11'Brad King2018-03-120-0/+0
|\
| * Merge branch 'ep-support-passing-var-ending-with-notfound' into release-3.11Brad King2018-03-125-6/+36
| |\ | | | | | | | | | Merge-request: !1838
| * \ Merge branch 'update-buildsystem-docs' into release-3.11Brad King2018-03-121-6/+5
| |\ \ | | | | | | | | | | | | Merge-request: !1839
* | \ \ Merge topic 'update-buildsystem-docs'Brad King2018-03-121-6/+5
|\ \ \ \ | | |/ / | |/| | | | | | | | | | | | | | | | | | 78756429ab Help: Adapt cmake-buildsystem(7) to new IMPORTED targets features Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1839
| * | | Help: Adapt cmake-buildsystem(7) to new IMPORTED targets featuresKai Wolf2018-03-121-6/+5
| |/ / | | | | | | | | | | | | | | | | | | Since commit v3.11.0-rc1~433^2~2 (Teach target_* commands to set INTERFACE properties of IMPORTED targets, 2017-09-18) it is now possible to use the customary `target_*` commands for adjusting the settings of an IMPORTED target. Update documentation accordingly.
* | | Merge topic 'ep-support-passing-var-ending-with-notfound'Brad King2018-03-125-6/+36
|\ \ \ | | |/ | |/| | | | | | | | | | | | | 7ad981c8f7 ExternalProject: Fix cache generation when last args ends with "-NOTFOUND" Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1838
| * | ExternalProject: Fix cache generation when last args ends with "-NOTFOUND"Jean-Christophe Fillion-Robin2018-03-125-6/+36
| |/
* | Merge topic 'genex-TARGET_EXISTS'Brad King2018-03-1214-0/+83
|\ \ | | | | | | | | | | | | | | | | | | 7fec336bf7 genex: Add TARGET_EXISTS to check for target existence Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1829
| * | genex: Add TARGET_EXISTS to check for target existenceAlex Turbov2018-03-0914-0/+83
| | | | | | | | | | | | | | | Define `$<TARGET_EXISTS:a>` to `1` if `a` is an existed target name, else `0`.
* | | Merge topic 'xml-raii'Brad King2018-03-122-115/+130
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 90086767dd cmGlobalVisualStudio10Generator: Use cmXMLWriter RAII helpers 8401b6ac4e cmXMLWriter: Add RAII helpers to allow DOM-like syntax Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1818
| * | | cmGlobalVisualStudio10Generator: Use cmXMLWriter RAII helpersVitaly Stakhovsky2018-03-092-117/+80
| | | | | | | | | | | | | | | | | | | | This simplifies our XML generation code and avoids the need to disable clang-format.
| * | | cmXMLWriter: Add RAII helpers to allow DOM-like syntaxVitaly Stakhovsky2018-03-091-0/+52
| | | | | | | | | | | | | | | | | | | | Use RAII for cmXMLWriter::StartElement/EndElement to make nesting automatic.
* | | | Merge topic 'update-dllplatform'Brad King2018-03-123-6/+7
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2dc2a3eb15 Identify DLL platforms via CMAKE_IMPORT_LIBRARY_SUFFIX Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1832
| * | | | Identify DLL platforms via CMAKE_IMPORT_LIBRARY_SUFFIXStephan Szabo2018-03-093-6/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use `CMAKE_IMPORT_LIBRARY_SUFFIX` to identify platforms that have DLL import libraries rather than memorizing a list of platform names. Fixes: #16801
* | | | | Merge topic 'cmake-rc-version-decimal'Brad King2018-03-121-1/+6
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 588a1afe76 CMakeVersion.rc: Avoid leading zeros in integer version components Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1835
| * | | | | CMakeVersion.rc: Avoid leading zeros in integer version componentsBrad King2018-03-091-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The split in commit v3.11.0-rc1~232^2 (CMakeVersion RC file: Split patch into 2 components, 2017-12-01) can leave components "2018,0309", but the latter is an octal constant with digit "9" out of range. Strip the leading zero to express the components as "2018,309" so the resource compiler treats them as decimal.
* | | | | | CMake Nightly Date StampKitware Robot2018-03-121-1/+1
| | | | | |
* | | | | | CMake Nightly Date StampKitware Robot2018-03-111-1/+1
| | | | | |
* | | | | | CMake Nightly Date StampKitware Robot2018-03-101-1/+1
|/ / / / /
* | | | | Merge branch 'release-3.11'Brad King2018-03-090-0/+0
|\ \ \ \ \ | | |_|_|/ | |/| | |
| * | | | CMake 3.11.0-rc3v3.11.0-rc3Brad King2018-03-091-1/+1
| | | | |
* | | | | Merge branch 'release-3.10'Brad King2018-03-090-0/+0
|\ \ \ \ \
| * \ \ \ \ Merge branch 'autogen-empty-source-file-fix' into release-3.10Brad King2018-03-091-7/+13
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | There is no corresponding merge request because this fix was cherry-picked specifically for CMake 3.10.
| | * | | | | Autogen: Fix for the empty source file crash in 3.10.2Sebastian Holtermann2018-03-091-7/+13
| |/ / / / / | | | | | | | | | | | | | | | | | | Issue: #17793
* | | | | | Merge topic 'libxml2-target'Brad King2018-03-096-0/+65
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9ef3abd3f3 FindLibXml2: provide imported target LibXml2::LibXml2 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1823
| * | | | | | FindLibXml2: provide imported target LibXml2::LibXml2Rolf Eike Beer2018-03-086-0/+65
| | | | | | |
* | | | | | | Merge topic 'cmWorkingDirectory_success_checking'Brad King2018-03-0930-31/+285
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5901699672 cmDepends: Remove attempt to change directory that always fails e60e4dfc88 cmWorkingDirectory: Check success of current dir changes e654622aee Tests: Add --build-and-test test case a865f0beb2 Tests: Confirm test working dir set successfully Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1817
| * | | | | | | cmDepends: Remove attempt to change directory that always failsCraig Scott2018-03-082-12/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Nothing ever set `CompileDirectory` except `SetDirectory()`, but nothing ever called that function. Therefore, `CompileDirectory` was always empty for the attempt to change directory in `Check()`, which therefore would always fail. Nothing was checking the result and the code was always going to have no effect.
| * | | | | | | cmWorkingDirectory: Check success of current dir changesCraig Scott2018-03-0817-19/+227
| | | | | | | |
| * | | | | | | Tests: Add --build-and-test test caseCraig Scott2018-03-044-0/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Checks that giving an invalid build directory to ctest --build-and-test will fail.
| * | | | | | | Tests: Confirm test working dir set successfullyCraig Scott2018-03-048-0/+40
| | |_|_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | Specifically, this tests that setting WORKING_DIRECTORY to an invalid directory results in the test failing.
* | | | | | | Merge topic 'cmoutpconv-static'Brad King2018-03-091-6/+4
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ff5823f512 cmOutputConverter: mark helper functions static Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1827
| * | | | | | | cmOutputConverter: mark helper functions staticRolf Eike Beer2018-03-061-6/+4
| | |_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | This allows the linker to entirely drop any symbols of the functions.
* | | | | | | Merge topic 'GenerateExportHeader-C'Brad King2018-03-091-10/+37
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | de348a9638 GenerateExportHeader: Add support for C projects Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1799
| * | | | | | | GenerateExportHeader: Add support for C projectsArnaud Gelas2018-03-081-10/+37
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously only C++ projects were supported. Fixes: #16967
* | | | | | | Merge topic 'make-clean-no-targets'Brad King2018-03-091-0/+4
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 81bc7610ab Makefile: Fix "make clean" when there are no targets Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1833
| * | | | | | | Makefile: Fix "make clean" when there are no targetsBrad King2018-03-081-0/+4
| | |_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | The empty `clean` target was missing from `Makefile2`. Add one like we already have for `all` and `preinstall`.
* | | | | | | Merge topic 'sort_glob_output'Brad King2018-03-094-12/+31
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 87a6816baf Add test for sorting and deduping of file(GLOB) result b688d4fd22 file(GLOB): Ensure entire file list is sorted Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1821
| * | | | | | | Add test for sorting and deduping of file(GLOB) resultShane Parris2018-03-073-0/+24
| | | | | | | |
| * | | | | | | file(GLOB): Ensure entire file list is sortedShane Parris2018-03-071-12/+7
| | | | | | | |
* | | | | | | | CMake Nightly Date StampKitware Robot2018-03-091-1/+1
| | | | | | | |
* | | | | | | | Merge topic 'project-warn-missing-metadata-values'Craig Scott2018-03-0810-3/+64
|\ \ \ \ \ \ \ \ | |_|_|_|_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 587bad7ba2 project: warn on metadata arguments missing values Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1815
| * | | | | | | project: warn on metadata arguments missing valuesAlex Turbov2018-03-0710-3/+64
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Warn if `DESCRIPTION` or `VERSION` is given without a following value.
* | | | | | | | Merge topic 'FindGDAL-absolute-path'Brad King2018-03-081-4/+42
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 694fce19b6 FindGDAL: Handle gdal-config printing absolute path to library Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1808
| * | | | | | | | FindGDAL: Handle gdal-config printing absolute path to libraryAdam Thompson2018-03-071-4/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | FindGDAL uses GDAL's 'gdal-config' utility to obtain the path to GDAL's library (on systems identified by CMake's UNIX variable). Older versions formatted this information like that of dependent libraries: -L/path/to/gdal/lib -lgdal[suffix] Newer versions instead provide the full path to the library: /path/to/gdal/lib/[prefix]gdal[suffix] FindGDAL now supports both formats. Entries that don't start with '-L' or '-l' are only considered if they are absolute paths that exist on disk. Furthermore, libraries are only considered if the name contains 'gdal' (checked case-insensitively).
* | | | | | | | | Merge topic 'misc-typos'Brad King2018-03-083-3/+3
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 32f6b7a43b Fix misc typos in documentation and comments Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1826
| * | | | | | | | | Fix misc typos in documentation and commentsluz.paz2018-03-073-3/+3
| | |_|_|_|/ / / / | |/| | | | | | |
* | | | | | | | | Merge topic 'vs10-xmlmacros'Brad King2018-03-082-312/+166
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 59d8cfb85e cmVisualStudio10TargetGenerator: Use helpers for XML tags Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1813