https://github.com/Kitware/CMake

sort by:
Revision Author Date Message Commit Date
e6897c7 CMake 3.14.0-rc2 15 February 2019, 12:46:43 UTC
113a395 Merge branch 'try_compile-expand-compile-defs' into release-3.14 Merge-request: !2965 15 February 2019, 11:47:59 UTC
dac6cf1 Merge branch 'FindLibXml2' into release-3.14 Merge-request: !2970 15 February 2019, 11:47:22 UTC
fd86a4d FindLibXml2: Document LibXml2_FOUND as preferred case Both `LIBXML2_FOUND` and `LibXml2_FOUND` are provided but the modern convention is to use the case that matches the module name. 15 February 2019, 11:41:32 UTC
cde2596 try_compile: Restore expansion of ;-list in COMPILE_DEFINITIONS The quoting added by commit 8c5221fb1f (try_compile: Preserve special characters in COMPILE_DEFINITIONS, 2019-01-21, v3.14.0-rc1~108^2~3) broke the case that the `COMPILE_DEFINITIONS` value contains a `;`. Without the quoting the `;` would be generated literally in an unquoted argument in the test `CMakeLists.txt` file and would then be expanded. With quoting the `;` is preserved, which is not the old behavior. Fix this by expanding the `;`-list ahead of time. Add test cases for behavior with both `#` and `;`. This was noticed with the PGI compiler where we set `CMAKE_CXX*_STANDARD_COMPILE_OPTION` to values like `--c++17;-A`. The symptom had also been observed while preparing commit ef8f237686 (ParseImplicitIncludeInfo: add SunPro Fortran and PGI compiler, Cray fix, 2019-01-29, v3.14.0-rc1~26^2~2) but was not recognized at the time as a regression. Revert the workaround added by that commit. Fixes: #18919 15 February 2019, 11:21:19 UTC
9d3710a Merge branch 'vs2017-sdk81' into release-3.14 Merge-request: !2962 14 February 2019, 16:24:16 UTC
2f51f28 Merge branch 'fortran-submodule-names' into release-3.14 Merge-request: !2958 14 February 2019, 15:24:43 UTC
d80ecba Fortran: Fix submodule file names across compilers The naming convention for submodule files varies across compilers. Add a table to the compiler information modules and thread the information through to the Fortran module dependency parser. Fill out the table for compiler ids known to support Fortran submodules. Fixes: #18746 14 February 2019, 15:23:02 UTC
72057d9 Fortran: Thread compiler id through to internal Fortran parser 14 February 2019, 15:23:02 UTC
7ae329e Fortran: Factor out .mod and .smod file name construction 14 February 2019, 15:23:02 UTC
5c26e3c VS: Fix validation of Windows 8.1 SDK The check added by commit 0a29a31161 (VS2017: Verify Windows 8.1 SDK before using it, 2017-04-25, v3.8.1~2^2) used the wrong path to `windows.h` within the SDK, leading to it never being detected. Fixes: #18923 14 February 2019, 13:25:26 UTC
9f351b9 Merge branch 'fix-pointer-truncation' into release-3.14 Merge-request: !2956 13 February 2019, 15:28:02 UTC
76a5ac2 cmListFileLexer: Add missing include to avoid possible pointer truncation The `cmsys/Enconding.h` include had a typo in its surrounding ifdef, possibly causing a missing function declaration (`cmsysEncoding_DupToWide`). As this is C code, this resulted in the code compiling, but with a truncated return value, possibly causing crashes. 13 February 2019, 15:22:59 UTC
30783ad Merge branch 'fix-legacy-implicit-includes' into release-3.14 Merge-request: !2957 13 February 2019, 15:05:48 UTC
6fc3382 Update logic for sysroot in detected implicit include directories Since commit 5990ecb741 (Compute implicit include directories from compiler output, 2018-12-07, v3.14.0-rc1~108^2) the values of the `CMAKE_<LANG>_IMPLICIT_INCLUDE_DIRECTORIES` variables are computed from a real compiler invocation. In this case the paths under the sysroot should already have the sysroot prefix so we should no longer have to add the sysroot prefix. However, it is also possible for project code to add its own paths to `CMAKE_<LANG>_IMPLICIT_INCLUDE_DIRECTORIES` without the sysroot prefix and expect the historical addition of the sysroot prefix to be preserved. Try to account for both cases by conditionally adding the sysroot prefix on implicit include directories that do not already have it. 13 February 2019, 15:03:56 UTC
2ad14ef cmAlgorithms: Add cmHasPrefix to match existing cmHasSuffix 13 February 2019, 14:52:20 UTC
557b2d6 Fix regression in -I/usr/include exclusion logic The change in commit 15ad830062 (Refactor exclusion of -I/usr/include to avoid per-language values, 2019-01-21, v3.14.0-rc1~108^2~4) caused the exclusion to apply to Fortran, but it was only meant for C, CXX, and CUDA. The purpose of the change was to prepare for the value of `CMAKE_<LANG>_IMPLICIT_INCLUDE_DIRECTORIES` to be computed from the actual compiler instead of hard-coded. We need to preserve exclusion of `-I/usr/include` if the compiler has any implicit include directory that looks intended to replace it, e.g. `<sdk>/usr/include` on macOS. Fixes: #18914 13 February 2019, 14:52:20 UTC
017598a macOS: Fix addition of <sdk>/usr/include to default implicit include dirs In commit 1293ed8507 (ParseImplicitIncludeInfo: keep implicit incl. consistent when rerunning cmake, 2019-01-30, v3.14.0-rc1~26^2) the `Platform/UnixPaths` module was updated to add `/usr/include` to `CMAKE_{C,CXX,CUDA}_IMPLICIT_INCLUDE_DIRECTORIES` through an initialization variable used by `CMakeDetermineCompilerABI` instead of directly. This approach makes it only a default that can be overridden by detection of the implicit include directories really used by the compiler. The addition of `<sdk>/usr/include` to default implicit include directories by the `Platform/Darwin` module needs the same update but was accidentally left out of the original commit. 13 February 2019, 14:52:19 UTC
1c4570e Merge branch 'genex-GENEX_EVAL-fix-recursion' into release-3.14 Merge-request: !2954 13 February 2019, 13:37:38 UTC
e429e9a genex: Fix erroneous handling of recursion for $<GENEX_EVAL:> Fixes: #18894 13 February 2019, 13:37:02 UTC
a251b61 Merge branch 'doc-if-legacy' into release-3.14 Merge-request: !2950 11 February 2019, 19:44:00 UTC
572b4fd Help: Fix elseif/endif typo In CMake 3.13.x, we had this evaluation for if() conditions: if(a) elseif(b) else(a) endif(a) The sensible intention of the change in commit c2efb3efcd (Help: Revise docs on Scripting Commands, 2018-10-16, v3.14.0-rc1~505^2) was: > "endif", "endfunction" etc: Explain that the argument is optional and > maintained for compatibility only Instead of "endif", it ended up being written to the documentation as "elseif" by the commit author (oops) to if()'s page. if(a) elseif(a!?) else() endif(a?) Truthfully, endif()'s parameter should be an optional verbatim repeat and not elseif()'s. If it wasn't, elseif() would be described to be the same as if(). The rightful intended description is: if(a) elseif(b) else() endif() Fix that typo. 11 February 2019, 19:41:51 UTC
3ff5a43 Merge branch 'FindMatlab-version-empty' into release-3.14 Merge-request: !2949 11 February 2019, 18:21:41 UTC
4017674 FindMatlab: Tolerate empty version log file 11 February 2019, 18:20:55 UTC
633b314 Merge branch 'FindOctave-interp-target' into release-3.14 Merge-request: !2931 11 February 2019, 13:06:38 UTC
9e309cd Merge branch 'ghs-relnotes' into release-3.14 Merge-request: !2934 11 February 2019, 12:50:00 UTC
2d701b7 Help: Update 3.14 release notes for GHS changes 11 February 2019, 12:49:08 UTC
6725975 FindOctave: Add target for octinterp This change adds the Octave::Octinterp target to make the octinterp library available without users having to resort to using the Octave_INTERP_LIBRARY variable. 08 February 2019, 20:34:30 UTC
88031dd Merge branch 'ghs-updates' into release-3.14 Merge-request: !2943 08 February 2019, 19:02:14 UTC
3b58b64 Merge branch 'fix-exclude-dir-with-iface' into release-3.14 Merge-request: !2937 08 February 2019, 19:02:03 UTC
3b87e7a Merge branch 'file_create_link_release_note' into release-3.14 Merge-request: !2942 08 February 2019, 18:47:35 UTC
e729f2b Help: Add notes for `file(CREATE_LINK)` subcommand 08 February 2019, 18:20:45 UTC
bcd99fa GHS: Document usage of GHS_NO_SOURCE_GROUP_FILE -- Also change variable name to CMAKE_GHS_NO_SOURCE_GROUP_FILE 08 February 2019, 18:07:00 UTC
f87e724 Fix EXCLUDE_FROM_ALL on directory with an interface library Since commit dc6888573d (Pass EXCLUDE_FROM_ALL from directory to targets, 2019-01-15, v3.14.0-rc1~83^2) we automatically forward the `EXCLUDE_FROM_ALL` to targets as they are created. This regressed support for interface libraries on which the property is not allowed. Skip forwarding the `EXCLUDE_FROM_ALL` property for interface libraries. It is not needed on them because they do not participate in the generated build system anyway. Fixes: #18896 08 February 2019, 13:17:48 UTC
12b8e41 Merge branch 'doc-object-library-link' into release-3.14 Merge-request: !2933 07 February 2019, 14:36:58 UTC
0f87bd1 Help: Clarify 3.14 release note about object library dependencies Revise the note from commit bab24e782c (target_link_libraries: Propagate dependencies of object libraries, 2018-12-10, v3.14.0-rc1~260^2). 07 February 2019, 14:34:17 UTC
1e2e128 Merge branch 'cpack-ifw-error-wording' into release-3.14 Merge-request: !2928 07 February 2019, 11:51:28 UTC
60a8d4c CPack/IFW: Correct wording in error message 07 February 2019, 11:51:15 UTC
6383dc3 Merge branch 'FindHDF5-cleanup' into release-3.14 Merge-request: !2916 07 February 2019, 11:48:52 UTC
d3d9e6b FindHDF5: Modernize formatting of variable documentation 07 February 2019, 11:47:07 UTC
acbd69c FindHDF5: Use execute_process instead of exec_program 07 February 2019, 11:47:07 UTC
f657bcb Merge branch 'xcode-stdlib-flags' into release-3.14 Merge-request: !2919 07 February 2019, 11:44:19 UTC
8af334f Xcode: Derive stdlib from CXX flags Closes: #18396 07 February 2019, 11:43:51 UTC
f835526 Merge branch 'vs-csharp-nowarn-numbers' into release-3.14 Merge-request: !2923 07 February 2019, 11:41:22 UTC
8226979 VS: Fix nowarn compiler option to accept warning numbers. Warning disables are transferred to the VS IDE `<NoWarn>` node. Fixes: #18878 07 February 2019, 11:39:45 UTC
bf1c2a2 CMake 3.14.0-rc1 version update 06 February 2019, 15:08:35 UTC
0b882e4 Help: Drop development topic notes to prepare release Release versions do not have the development topic section of the CMake Release Notes index page. 06 February 2019, 15:06:25 UTC
6f23321 Merge topic 'doc-3.14-relnotes' aa9161fd57 Help: Organize and revise 3.14 release notes 0d1a9282c4 Help: Consolidate 3.14 release notes Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2925 06 February 2019, 15:04:49 UTC
aa9161f Help: Organize and revise 3.14 release notes Add section headers similar to the 3.13 release notes and move each individual bullet into an appropriate section. Revise a few bullets. 06 February 2019, 14:52:35 UTC
0d1a928 Help: Consolidate 3.14 release notes Run the `Utilities/Release/consolidate-relnotes.bash` script to move notes from `Help/release/dev/*` into `Help/release/3.14.rst`. 06 February 2019, 14:16:59 UTC
d423192 Merge topic 'deprecate-xcode-4' 75a75d2754 Xcode: deprecate support for Xcode 4 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2922 06 February 2019, 11:54:52 UTC
75a75d2 Xcode: deprecate support for Xcode 4 06 February 2019, 11:53:42 UTC
d672950 Merge topic 'relax_CUDA_RESOLVE_DEVICE_SYMBOLS_constraints' 850ef90a66 CUDA: Honor CUDA_RESOLVE_DEVICE_SYMBOLS for more target types Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Robert Maynard <robert.maynard@kitware.com> Merge-request: !2900 06 February 2019, 11:51:30 UTC
4400ac0 Merge topic 'autogen_same_name_different_extension' a28caabf45 Autogen: AUTOMOC support for files with the same name but different extensions 1f802295f2 Autogen: Extend the SameName test with same name but different extension files Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2920 06 February 2019, 11:50:36 UTC
3a2387b CMake Nightly Date Stamp 06 February 2019, 05:01:07 UTC
850ef90 CUDA: Honor CUDA_RESOLVE_DEVICE_SYMBOLS for more target types `CUDA_RESOLVE_DEVICE_SYMBOLS` can be used with shared, module, and executable target types. This relaxation is to allow for better interoperability with linkers that automatically do CUDA device symbol resolution and have no way to disable it. 05 February 2019, 16:09:48 UTC
a28caab Autogen: AUTOMOC support for files with the same name but different extensions This adds support for AUTOMOC to moc header files with the same but different extensions (e.g `obj.h`, `obj.hpp`, `obj.hxx`). If a moc file would appear multiple times in `mocs_compilation.cpp`, a number suffix is appended to the name to make it unique. Closes #14489 05 February 2019, 14:51:53 UTC
1f80229 Autogen: Extend the SameName test with same name but different extension files 05 February 2019, 14:51:53 UTC
f47d980 Merge topic 'update-kwsys' 9ddbf4c6e6 Merge branch 'upstream-KWSys' into update-kwsys 8372c05472 KWSys 2019-02-05 (65802a20) Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2918 05 February 2019, 12:49:07 UTC
ab01ce9 Merge topic 'autogen_single_all_sources_iteration' b6cf086267 Autogen: Iterate over makefile sources only once ed0fa784eb cmSystemTools: Let `GetFileFormat` accept a `std::stding const&` Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2909 05 February 2019, 12:47:14 UTC
c6d679f Merge topic 'vs-fortran-target-check' d3d2c3cd49 VS: Fix Fortran target type selection when linking C++ targets Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2913 05 February 2019, 12:36:36 UTC
c03072f Merge topic '17870-iphone-friendly-cmake' e8ee8cab97 Xcode: Completely disable code signing for compiler id detection 11da882a12 Apple: Introduce separate system name for iOS, tvOS, and watchOS 36cf44a7a3 Tests: Isolate RunCMake.XcodeProject per-device cases from host arch Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2392 05 February 2019, 12:33:04 UTC
25e6168 Merge topic 'swift-xcode-10.2' 96dece6dc1 Xcode: Update default Swift language version for Xcode 10.2 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2912 05 February 2019, 12:29:59 UTC
9ddbf4c Merge branch 'upstream-KWSys' into update-kwsys * upstream-KWSys: KWSys 2019-02-05 (65802a20) 05 February 2019, 12:20:34 UTC
8372c05 KWSys 2019-02-05 (65802a20) Code extracted from: https://gitlab.kitware.com/utils/kwsys.git at commit 65802a20ec4b9a774518151c3f8772e082163601 (master). Upstream Shortlog ----------------- Nicolae Vartolomei (1): d1536b02 macOS: Better approximation for AvailablePhysicalMemory 05 February 2019, 12:20:29 UTC
762a41f CMake Nightly Date Stamp 05 February 2019, 05:01:05 UTC
d3d2c3c VS: Fix Fortran target type selection when linking C++ targets Since commit 2c9f35789d (VS: Decide project type by linker lang as fallback, 2017-03-30, v3.9.0-rc1~340^2) we consider the linker language when detecting whether to generate a `.vfproj` or `.vcxproj` file. However, this could cause C-only projects to become `.vfproj` files if they link to Fortran projects. Instead we should consider only the `LINKER_LANGUAGE` property on the target itself. This approach is already used for CSharp. It allows project code to specify the project file type for a target with no sources but does not allow linked targets to affect it. Fixes: #18687 04 February 2019, 19:13:46 UTC
96dece6 Xcode: Update default Swift language version for Xcode 10.2 Xcode 10.2 no longer supports Swift language versions before 4.0. Fixes: #18871 04 February 2019, 18:26:10 UTC
e8ee8ca Xcode: Completely disable code signing for compiler id detection Issue: #17870 04 February 2019, 14:03:35 UTC
11da882 Apple: Introduce separate system name for iOS, tvOS, and watchOS - Remove code signing requirements for non-macOS - Do not set deployment target for non-macOS - Build static library for compiler feature detection for non-macOS - Use framework to run CompilerId tests for watchOS - Port tests to new SDK handling - Add new Apple cross-compiling section to toolchain documentation Closes: #17870 04 February 2019, 14:03:35 UTC
36cf44a Tests: Isolate RunCMake.XcodeProject per-device cases from host arch Run all host cases before per-device cases. Do not expose the host `CMAKE_OSX_ARCHITECTURES` environment value to the per-device tests. 04 February 2019, 14:02:47 UTC
6e91f5d Merge topic 'cmSourceFile_refactor' 254b7260f4 cmSourceFile: Check if a file is GENERATED first in the full path computation cd8a930d61 cmSourceFile: Refactor FindFullPath method 6d407ae439 Use cmSourceFile::GetIsGenerated 2ddf3f4467 cmSourceFile: Add IsGenerated method b9d44fc350 cmSourceFile: Additional static property strings Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2908 04 February 2019, 13:04:31 UTC
a5ec7f8 Merge topic 'vs-wince-deployment' f5d72be57a VS: Fix deployment for WinCE projects Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2907 04 February 2019, 12:49:01 UTC
40e1288 Merge topic 'winrtrefs' cff026dbc0 VS: Fix WinRT component references 6c21722adb Tests: Fix VSWinStorePhone test with Windows 10 SDK 17763 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2906 04 February 2019, 12:47:15 UTC
dc4a274 Merge topic 'set-env-warning' cb01b8c8ba set: warn of extra arguments after ENV value. Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2903 04 February 2019, 12:46:29 UTC
d401c10 CMake Nightly Date Stamp 04 February 2019, 05:01:05 UTC
1494028 CMake Nightly Date Stamp 03 February 2019, 05:01:05 UTC
b6cf086 Autogen: Iterate over makefile sources only once In QtAutoGen we used to iterate over all makefile source two times to extract file parameters for moc and uic respectively. This patch merges both iterations into one loop. This makes the code easier to understand and likely faster to execute as well. 02 February 2019, 17:42:08 UTC
ed0fa78 cmSystemTools: Let `GetFileFormat` accept a `std::stding const&` The `const char*` used formerly was converted to a `std::string` internally anyway. 02 February 2019, 17:42:08 UTC
254b726 cmSourceFile: Check if a file is GENERATED first in the full path computation In `cmSourceFile::FindFullPath` check first if the file is GENERATED before aborting on `FindFullPathFailed`. This allows recomputation of the full path when the GENERATED property was set after the file path was computed with an error. 02 February 2019, 17:39:22 UTC
cd8a930 cmSourceFile: Refactor FindFullPath method Refactors the cmSourceFile::FindFullPath method to use lambdas. 02 February 2019, 17:39:22 UTC
dfec0f4 CMake Nightly Date Stamp 02 February 2019, 05:01:06 UTC
f5d72be VS: Fix deployment for WinCE projects Fixes: #18868 01 February 2019, 18:59:09 UTC
cff026d VS: Fix WinRT component references WinRT components need to be referenced in a similar way that managed code libraries are referenced. Validate that the library reference is a WinRT component and reference it through the project. Add test coverage for `VS_WINRT_COMPONENT`. While at it, fix the IOT reference failing on Win10 SDK 17763 which doesn't include it anymore. Fixes: #18846 01 February 2019, 18:04:52 UTC
6c21722 Tests: Fix VSWinStorePhone test with Windows 10 SDK 17763 The Windows 10 SDK no longer includes IOT. 01 February 2019, 18:02:16 UTC
6d407ae Use cmSourceFile::GetIsGenerated 01 February 2019, 16:02:53 UTC
2ddf3f4 cmSourceFile: Add IsGenerated method All cmSourceFiles are checked at least once whether they're `GENERATED` or not. This adds a convenience method `GetIsGenerated` that returns a private boolean cache variable `IsGenerated`. `IsGenerated` is updated every time the `GENERATED` property is written. 01 February 2019, 15:55:35 UTC
b9d44fc cmSourceFile: Additional static property strings 01 February 2019, 15:21:32 UTC
0c61b86 Merge branch 'release-3.13' 01 February 2019, 14:54:23 UTC
30c3eff CMake 3.13.4 01 February 2019, 13:23:58 UTC
13c550a Merge branch 'release-3.13' 01 February 2019, 13:23:21 UTC
0479ae4 Merge topic 'implicit-incs-cleanup' 1293ed8507 ParseImplicitIncludeInfo: keep implicit incl. consistent when rerunning cmake eaf53158f4 CrayPrgEnv/ParseImplicitIncludes: simplify for new implict include parser ef8f237686 ParseImplicitIncludeInfo: add SunPro Fortran and PGI compiler, Cray fix Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2894 01 February 2019, 13:12:42 UTC
a906d7b Merge topic 'document-list' f45d8b2f23 Help: improve details on `CMAKE_LANG_CREATE_SHARED_*` Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2899 01 February 2019, 13:12:09 UTC
cf3af44 Merge topic 'server-normalize-paths' 1c6c2bae28 cmake-server: Normalize build and source directories Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2898 01 February 2019, 13:11:19 UTC
cb01b8c set: warn of extra arguments after ENV value. Fixes: #18842 01 February 2019, 11:10:34 UTC
9512a58 CMake Nightly Date Stamp 01 February 2019, 05:01:07 UTC
f45d8b2 Help: improve details on `CMAKE_LANG_CREATE_SHARED_*` Add a note that the `CMAKE_<LANG>_CREATE_SHARED_*` rule variables are semicolon delimited lists that can run multiple commands. 31 January 2019, 17:55:52 UTC
1c6c2ba cmake-server: Normalize build and source directories Fixes: #18862 31 January 2019, 17:49:56 UTC
d526327 Merge topic 'ninja-intel-depfile' a624a3e1b3 Ninja: Use deps=gcc for Intel Compiler on Windows f4f3b6b9af Ninja: Detect when ninja is new enough to support a multi-line depfile 699cd03212 Ninja: Drop unnecessary deptype customization infrastructure Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2893 31 January 2019, 16:19:38 UTC
29368ab Merge topic 'install-strip-macos' 20291e8e72 install: Fix stripping on macOS Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2892 31 January 2019, 16:18:40 UTC
back to top