summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
| * | | | | | cmVisualStudio10TargetGenerator: Use helpers for XML tagsVitaly Stakhovsky2018-03-072-312/+166
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make the XML generating code smaller, more structured, and less error-prone. This is a step towards future XML refactoring.
* | | | | | | Merge topic 'curl-target'Brad King2018-03-086-7/+78
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ee06f3c339 FindCURL: Revise documentation markup 83c0cb3f03 FindCURL: provide imported target CURL::CURL Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1822
| * | | | | | | FindCURL: Revise documentation markupBrad King2018-03-071-7/+15
| | | | | | | |
| * | | | | | | FindCURL: provide imported target CURL::CURLRolf Eike Beer2018-03-066-0/+63
| | |/ / / / / | |/| | | | |
* | | | | | | Merge topic 'avoid-LIB_DEPENDS'Brad King2018-03-0812-33/+77
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7723e9a058 Do not produce legacy _LIB_DEPENDS cache entries 2124a1364a cmTarget: Remove unnecessary RecordDependencies member 1c5bfab532 cmTarget: Simplify ClearDependencyInformation implementation 910a9d608e cmTarget: Simplify ClearDependencyInformation signature Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Pavel Solodovnikov <hellyeahdominate@gmail.com> Merge-request: !1828
| * | | | | | | Do not produce legacy _LIB_DEPENDS cache entriesBrad King2018-03-0710-2/+70
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Introduce policy `CMP0073` to avoid producing these cache entries. Fixes: #16364
| * | | | | | | cmTarget: Remove unnecessary RecordDependencies memberBrad King2018-03-062-11/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Inline the condition in the one remaining place it is checked.
| * | | | | | | cmTarget: Simplify ClearDependencyInformation implementationBrad King2018-03-061-16/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove the `<target>_LIB_DEPENDS` cache entry unconditionally. It will be populated again later if needed. There is no need to ask the user to remove the cache entry if the target type changes. Issue: #16364
| * | | | | | | cmTarget: Simplify ClearDependencyInformation signatureBrad King2018-03-063-6/+5
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | We don't need to pass an argument with the target's own name.
* | | | | | | Merge branch 'release-3.11'Brad King2018-03-080-0/+0
|\ \ \ \ \ \ \
| * \ \ \ \ \ \ Merge branch 'cuda-no-device-link-rsp' into release-3.11Brad King2018-03-071-0/+6
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge-request: !1831
| * \ \ \ \ \ \ \ Merge branch 'update-kwsys' into release-3.11Brad King2018-03-074-16/+25
| |\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge-request: !1830
* | \ \ \ \ \ \ \ \ Merge topic 'update-kwsys'Brad King2018-03-084-16/+25
|\ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2c5b4359f8 Merge branch 'upstream-KWSys' into update-kwsys 64d4308d83 KWSys 2018-03-07 (2ad561e7) Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1830
| * | | | | | | | | Merge branch 'upstream-KWSys' into update-kwsysBrad King2018-03-074-16/+25
| |\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * upstream-KWSys: KWSys 2018-03-07 (2ad561e7)
| | * | | | | | | | | KWSys 2018-03-07 (2ad561e7)KWSys Upstream2018-03-074-16/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Code extracted from: https://gitlab.kitware.com/utils/kwsys.git at commit 2ad561e78b0d99f083f1213e403d5a8a90e0e134 (master). Upstream Shortlog ----------------- Brad King (4): 6e190d9a Fix include directory usage requirement for build tree 6d4e9fde SystemInformation: Android has no getifaddrs prior to API 24 0a0974d0 SystemTools: Restore unconditional caching in GetActualCaseForPath a241fd13 SystemTools: Remove caching from public GetActualCaseForPath
* | | | | | | | | | | Merge topic 'cuda-no-device-link-rsp'Brad King2018-03-081-0/+6
|\ \ \ \ \ \ \ \ \ \ \ | | |_|_|/ / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f64732f59b CUDA: Do not pass unsupported @rspfile arguments to NVCC Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1831
| * | | | | | | | | | CUDA: Do not pass unsupported @rspfile arguments to NVCCBrad King2018-03-071-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The nvcc compiler does not support `@<rspfile>` arguments. It does offer a `--options-file` argument that can be investigated later. Fixes: #17797
* | | | | | | | | | | CMake Nightly Date StampKitware Robot2018-03-081-1/+1
| |_|_|_|_|_|_|_|_|/ |/| | | | | | | | |
* | | | | | | | | | Merge topic 'FindOpenMP-AppleClang'Brad King2018-03-071-3/+27
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | e3cd7c1e01 FindOpenMP: Add support for AppleClang compiler b4c539e651 FindOpenMP: Verify in test source that OMP library is linked 7dd8c7a680 FindOpenMP: Improve inclusion of helper modules Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1812
| * | | | | | | | | | FindOpenMP: Add support for AppleClang compilerHenry Fredrick Schreiner2018-03-071-0/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is possible using an external `omp` library and by passing the flag past the compiler driver via `-Xclang -fopenmp`. Fixes: #17775
| * | | | | | | | | | FindOpenMP: Verify in test source that OMP library is linkedHenry Fredrick Schreiner2018-03-071-0/+1
| | | | | | | | | | |
| * | | | | | | | | | FindOpenMP: Improve inclusion of helper modulesHenry Fredrick Schreiner2018-03-071-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use `CMAKE_CURRENT_LIST_DIR` instead of `CMAKE_ROOT`. Do not include modules inside a loop.
* | | | | | | | | | | Merge topic 'ctest-affinity'Brad King2018-03-0725-6/+345
|\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6be53c6695 CTest: Add options to control test process affinity to CPUs c5428d8db2 libuv: disable process affinity during CMake bootstrap 24de561a1a libuv: unix,win: add uv_spawn option to set child CPU affinity mask 43d6e5a71f libuv: misc: add function to get CPU affinity mask size Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1814
| * | | | | | | | | | | CTest: Add options to control test process affinity to CPUsBrad King2018-03-0520-6/+204
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In commit v2.8.0~170 (ENH: Added ctest test options PROCESSORS and RUN_SERIAL, 2009-09-07) CTest learned to track the number of processors allocated to running tests in order to balance it against the desired level of parallelism. Extend this idea by introducing a new `PROCESSOR_AFFINITY` test property to ask that CTest run a test with the CPU affinity mask set. This will allow a set of tests that are running concurrently to use disjoint CPU resources.
| * | | | | | | | | | | libuv: disable process affinity during CMake bootstrapBrad King2018-03-051-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Avoid depending on platform-specific pthread features during bootstrap.
| * | | | | | | | | | | libuv: unix,win: add uv_spawn option to set child CPU affinity maskBrad King2018-03-053-0/+114
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement it on Linux, FreeBSD, and Windows for now, and fail with UV_ENOTSUP on other platforms. Backported from upstream libuv PR 1527, scheduled for inclusion in libuv 2.0.
| * | | | | | | | | | | libuv: misc: add function to get CPU affinity mask sizeBrad King2018-03-053-0/+17
| | |_|_|_|_|_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement it on Linux, FreeBSD, and Windows for now, and return UV_ENOTSUP on other platforms. Backported from upstream libuv PR 1527, scheduled for inclusion in libuv 2.0.
* | | | | | | | | | | Merge branch 'release-3.11'Brad King2018-03-070-0/+0
|\ \ \ \ \ \ \ \ \ \ \ | | |_|_|_|_|/ / / / / | |/| | | | | | | | |
| * | | | | | | | | | Merge branch 'autogen-empty-source-file-fix' into release-3.11Brad King2018-03-061-11/+18
| |\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge-request: !1825
| * \ \ \ \ \ \ \ \ \ \ Merge branch 'xl-new-compiler-macros' into release-3.11Brad King2018-03-064-10/+26
| |\ \ \ \ \ \ \ \ \ \ \ | | |_|_|_|/ / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | Merge-request: !1820
* | | | | | | | | | | | Merge topic 'autogen-empty-source-file-fix'Brad King2018-03-071-11/+18
|\ \ \ \ \ \ \ \ \ \ \ \ | | |_|/ / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 50b7be6d1f Autogen: Check if a file is empty before reading it Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1825
| * | | | | | | | | | | Autogen: Check if a file is empty before reading itSebastian Holtermann2018-03-061-11/+18
| |/ / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Calling `std::string::front()` on an empty string results in an undefined behavior by the C++ standard. In gcc8 it causes an assertion to fail. This adds a check to `AUTOGEN` if a file to read is empty and in case avoids the use of an empty `std::string` buffer. Closes #17793
* | | | | | | | | | | Merge topic 'xl-new-compiler-macros'Brad King2018-03-074-10/+26
|\ \ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | eb1a9be4b6 XL: Recognize compilers identified by __ibmxl__ Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Chuck Atkins <chuck.atkins@kitware.com> Merge-request: !1820