summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 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
| * | | IAR: Add 8051 supportMicael Borgefeldt2019-10-116-2/+22
| | | | | | | | | | | | | | | | Issue: #17264
| * | | IAR: Fix v850 assembler support file extensionsMicael Borgefeldt2019-10-111-1/+1
| |/ / | | | | | | | | | | | | | | | | | | Fix the file extension added by commit 158f3795b8 (IAR: Add v850 assembler support, 2019-09-23, v3.16.0-rc1~70^2). Issue: #17264
* | | Merge branch 'objc-c++flags' into release-3.16Brad King2019-10-114-1/+29
|\ \ \ | | | | | | | | | | | | Merge-request: !3904
| * | | Objective-C: Do not treat Objective-C files as C++ filesCristian Adam2019-10-114-1/+29
| |/ / | | | | | | | | | | | | When both C and C++ langauges are enabled, the Objective-C files should be treated as C files and not as C++ files.
* | | Merge branch 'doc-unity-build' into release-3.16Brad King2019-10-114-17/+37
|\ \ \ | | | | | | | | | | | | Merge-request: !3905
| * | | Help: Document CMAKE_UNITY_BUILD/CMAKE_EXPORT_COMPILE_COMMANDS limitationBrad King2019-10-113-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | These two options currently do not work well together. Mention this limitation in the documentation. Issue: #19826
| * | | Help: Extend documentation of CMAKE_UNITY_BUILD variableBrad King2019-10-111-3/+5
| | | |
| * | | Help: Improve UNITY_BUILD documentation formattingBrad King2019-10-111-15/+15
| | | |
| * | | Help: Document CMAKE_UNITY_BUILD in 3.16 release notesBrad King2019-10-111-0/+4
| |/ /
* | | Merge branch 'intel-19-compile-features' into release-3.16Brad King2019-10-113-4/+30
|\ \ \ | |/ / |/| | | | | Merge-request: !3900
| * | Tests: Update CompileFeatures test for Intel 19 with VS 2015Brad King2019-10-101-0/+6
| | | | | | | | | | | | | | | Blacklist `cxx_relaxed_constexpr` for this case because the compiler does not advertise the support in this mode but compiles our example.
| * | Intel: Fix default C++ dialect detection on WindowsBrad King2019-10-102-4/+24
|/ / | | | | | | | | | | For the Intel Compiler for Windows we have some subtle preprocessor checks in compiler feature detection to detect C++11 and C++14 modes. Use these when detecting the default C++ dialect too.
* | CMake 3.16.0-rc1v3.16.0-rc1Brad King2019-10-101-1/+1
| |