summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'project-version-buffer-overflow' into release-3.16Craig Scott2019-10-284-2/+37
|\ | | | | Merge-request: !3948
| * project: Fix potential buffer write-past-end for version componentsCraig Scott2019-10-263-1/+35
| | | | | | | | This fixes two errors: not accounting for the trailing null and a misunderstanding of what std::numeric_limits::digits10 means.
| * Help: math() expressions must be representable as signed 64-bitCraig Scott2019-10-261-1/+2
| |
* | Merge branch 'docs-FindPython-minor-grammar' into release-3.16Craig Scott2019-10-283-6/+6
|\ \ | | | | | | Merge-request: !3953
| * | Help: Minor wording cleanup for Python modulesCraig Scott2019-10-273-6/+6
| |/
* | Merge branch 'cmp0097-doc-fix' into release-3.16Brad King2019-10-241-1/+1
|\ \ | | | | | | | | | Merge-request: !3941
| * | Help: Fix capitalization in CMP0097 documentationKyle Edwards2019-10-231-1/+1
|/ /
* | Merge branch 'ccmake-clear-help' into release-3.16Brad King2019-10-211-1/+1
|\ \ | | | | | | | | | Merge-request: !3937
| * | ccmake: Fully clear the 1st help line when processingSylvain Joubert2019-10-201-1/+1
| |/
* | Merge branch 'FindOpenMP-include-dir' into release-3.16Brad King2019-10-212-1/+43
|\ \ | | | | | | | | | Merge-request: !3916
| * | FindOpenMP: Allow try_compile() to find omp.h for AppleClangCraig Scott2019-10-172-1/+43
| | | | | | | | | Fixes: #18098 #18470 #18520
* | | Merge branch 'doc-genex-tweak' into release-3.16Brad King2019-10-211-1/+1
|\ \ \ | |_|/ |/| | | | | Merge-request: !3939
| * | Help: Fix COMPILE_LANG_AND_ID genex exampleAlan W. Irwin2019-10-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix the `COMPILE_LANGUAGE/CXX_COMPILER_ID` variant of the example to have the same meaning as the `COMPILE_LANG_AND_ID` variant. The inconsistency was introduced by commit 808b818063 (Genex: CompileLang and CompileLangAndId now match against a list of ids, 2019-05-30, v3.15.0-rc1~11^2~1). Fixes: #19862
* | | CMake 3.16.0-rc2v3.16.0-rc2Brad King2019-10-181-1/+1
| | |
* | | Merge branch 'pch-makefile-depends' into release-3.16Brad King2019-10-176-27/+38
|\ \ \ | | | | | | | | | | | | Merge-request: !3928
| * | | PCH: Fix Makefile dependencies to rebuild PCH on header changesBrad King2019-10-175-5/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Teach the Makefile generator to scan the implicit dependencies of PCH creation. When a header named by `target_precompile_headers` changes the corresponding PCH must be rebuilt and all consumers recompiled. Fixes: #19830
| * | | cmMakefileTargetGenerator: Inline WriteObjectBuildFile in only call siteBrad King2019-10-162-22/+4
| | |/ | |/|
* | | Merge branch 'export-target-lang-name' into release-3.16Brad King2019-10-173-14/+30
|\ \ \ | | | | | | | | | | | | Merge-request: !3927
| * | | install,export: Do not treat language names as target namesBrad King2019-10-163-14/+30
| |/ / | | | | | | | | | | | | | | | | | | When generating `IMPORTED_LINK_INTERFACE_LANGUAGES`, do not treat the entries as target names. Fixes: #19846
* | | Merge branch 'doc-pch-compile-language' into release-3.16Brad King2019-10-163-1/+22
|\ \ \ | | | | | | | | | | | | Merge-request: !3925
| * | | PCH: Document and test COMPILE_LANGUAGE genex for per-language headerBrad King2019-10-163-1/+22
| |/ / | | | | | | | | | Fixes: #19839
* | | Merge branch 'doc-add_link_options-typos' into release-3.16Brad King2019-10-162-11/+11
|\ \ \ | | | | | | | | | | | | Merge-request: !3922
| * | | Help: Fix typos and style in add_link_options documentationTom Lankhorst2019-10-162-11/+11
| |/ /
* | | Merge branch 'swift-cross-compile' into release-3.16Brad King2019-10-151-0/+3
|\ \ \ | | | | | | | | | | | | Merge-request: !3921
| * | | try_compile: support Swift for cross-compilationSaleem Abdulrasool2019-10-151-0/+3
| |/ / | | | | | | | | | | | | Ensure that we preserve the `CMAKE_Swift_COMPILER_TARGET` variable to use cross-compilation for testing the Swift compiler if appropriate.
* | | Merge branch 'CMakeFindBinUtils-cleanup' into release-3.16Brad King2019-10-151-12/+0
|\ \ \ | | | | | | | | | | | | Merge-request: !3920
| * | | CMakeFindBinUtils: Remove unnecessary variable unset callsBrad King2019-10-151-12/+0
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | Some unset calls were added by commit 079b8e2916 (Clang: prefer lld-link over link.exe, 2019-07-11, v3.16.0-rc1~161^2~2) but they are unnecessary since commit 3a82ef78eb (CMakeFindBinUtils: Rename and unset variables for additional names, 2019-07-23, v3.16.0-rc1~332^2~2). Suggested-by: Norbert Lange <nolange79@gmail.com>
* | | Merge branch 'FindCurses-tinfow' into release-3.16Brad King2019-10-151-2/+4
|\ \ \ | | | | | | | | | | | | Merge-request: !3915
| * | | FindCurses: use tinfow when wide support is requestedManuel Herrmann2019-10-151-2/+4
| |/ /
* | | Merge branch 'FindHDF5-cray' into release-3.16Brad King2019-10-151-2/+2
|\ \ \ | | | | | | | | | | | | Merge-request: !3918
| * | | FindHDF5: Append hdf5 to hdf5_hl to avoid undefined referencesWillem Deconinck2019-10-151-1/+1
| | | |
| * | | FindHDF5: Cray HDF5 Fortran module filename is usually capitalizedWillem Deconinck2019-10-151-1/+1
| |/ /
* | | Merge branch 'doc-static-lib-flags' into release-3.16Brad King2019-10-152-5/+17
|\ \ \ | | | | | | | | | | | | Merge-request: !3919
| * | | Help: Clarify documentation of CMAKE_STATIC_LINKER_FLAGSBrad King2019-10-152-5/+17
| |/ / | | | | | | | | | Issue: #19838
* | | Merge branch 'cmake-initial-cache-relative' into release-3.16Brad King2019-10-1413-10/+40
|\ \ \ | | | | | | | | | | | | Merge-request: !3912
| * | | cmake: Fix relative path regression in -CPeter Waller2019-10-1413-10/+40
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit 4ca0526f8a (cmake: Pass -S and -B into PreLoad.cmake and -C scripts, 2019-08-20, v3.16.0-rc1~195^2) the value of `CMAKE_SOURCE_DIR` is the source directory rather than the current working directory. This was correct on its own, but the place storing that value is also used as the base for relative paths specified on the command line. The latter should of course be relative to the current working directory. The fix is to switch to use a full path internally, unless a full path is already specified. Add tests for the behaviour of `-C` under these four circumstances: {with -S, without -S} x {full path, relative path} Fixes: #19827
* | | Merge branch 'FindOpenMP-clang-HIP-device' into release-3.16Brad King2019-10-141-0/+2
|\ \ \ | | | | | | | | | | | | Merge-request: !3911
| * | | FindOpenMP: Add support for HIP clang device passKonstantin Pyzhov2019-10-121-0/+2
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | The HIP clang makes 2 passes when compiling HIP programs: the DEVICE pass and the HOST pass. For openmp, the `-fopenmp` option is only passed to the HOST compilation pass. Therefore, the small test that CMake uses for OpenMP detection fails to compile, and CMake reports failure to detect OpenMP support in the compiler. The suggested solution is to add check for `__HIP_DEVICE_COMPILE__` macro defined by HIP clang for the DEVICE pass to the OpenMP detection test.
* | | Merge branch 'no-git-version' into release-3.16Brad King2019-10-111-44/+46
|\ \ \ | | | | | | | | | | | | Merge-request: !3910
| * | | CMakeVersion: Add option to disable Git suffixKyle Edwards2019-10-111-43/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Distro maintainers who are building from Git with patches added on may want to disable the automatic Git suffixing, as it does not provide any useful information and simply confuses the end user. Add an undocumented CMake_VERSION_NO_GIT variable to disable this.
| * | | CMakeVersion: Prefer Git information provided by 'git archive' exportsBrad King2019-10-111-11/+11
| |/ / | | | | | | | | | | | | | | | | | | | | | Update the approach from commit fe2c558ba6 (CMakeVersion: Preserve Git information during 'git archive', 2019-07-25, v3.16.0-rc1~337^2) to prefer `export-subst` information. This will allow exported source trees to be imported into unrelated Git repositories while still using the original upstream CMake commit information.
* | | Merge branch 'InstallRequiredSystemLibraries-redist' into release-3.16Brad King2019-10-111-0/+7
|\ \ \ | | | | | | | | | | | | Merge-request: !3909
| * | | IRSL: Install vcruntime140_1.dll if availableBrad King2019-10-111-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | VS 2019 now distributes this additional runtime DLL with its `14.2x` toolsets. Fixes: #19829
| * | | IRSL: Prefer MSVC runtime libraries from newest toolset firstBrad King2019-10-111-0/+1
| | |/ | |/|
* | | Merge branch 'vs-v142-csharp-flags' into release-3.16Brad King2019-10-112-2/+575
|\ \ \ | | | | | | | | | | | | Merge-request: !3908
| * | | VS: Add toolset v142 CSharp flag tableBrad King2019-10-112-2/+575
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | While the flag tables for C and C++ were generated from MSBuild `.xml` files, the CSharp flag tables were written by hand. Copy the `v141` flag table to use for the `v142` toolset. Remove the special case added by commit 626c51f47b (VS: Update for Visual Studio 2019 Preview 2, 2019-01-24, v3.14.0-rc1~74^2) that mapped the v142 flag table lookup to v141 since we now have the real v142 table. Fixes: #19828
* | | Merge branch 'FindPostgreSQL-macports-and-v12' into release-3.16Brad King2019-10-111-1/+4
|\ \ \ | | | | | | | | | | | | Merge-request: !3907
| * | | FindPostgreSQL: support macports installation schemeBen Boeckel2019-10-111-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | Macports installs into `include/postgresql${suffix}`. Add this to the list of supported suffixes. Also copy the non-server `postgresql/${suffix}` path.
| * | | FindPostgreSQL: support version 12Ben Boeckel2019-10-111-1/+1
| | |/ | |/|
* | | Merge branch 'iar-8051-support' into release-3.16Brad King2019-10-116-3/+23
|\ \ \ | | | | | | | | | | | | Merge-request: !3906