https://github.com/Kitware/CMake

sort by:
Revision Author Date Message Commit Date
1f3f828 Add files via upload 04 April 2019, 11:42:09 UTC
3d6d7c1 CMake Nightly Date Stamp 04 April 2019, 04:01:07 UTC
6fdba8b Merge topic 'refactor-lang-flags' 707283981f VS: Use AddLanguageFlags to de-duplicate CMAKE_<LANG>_FLAGS* lookup 8ca1b26286 cmLocalGenerator: Factor IPO logic out of AddLanguageFlags Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3177 03 April 2019, 18:07:11 UTC
0582176 Merge topic 'find-dependency-fix-17583' 37da6af17d find_dependency: Always search dependencies Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3161 03 April 2019, 18:05:57 UTC
d724060 CMake Nightly Date Stamp 03 April 2019, 04:01:10 UTC
7072839 VS: Use AddLanguageFlags to de-duplicate CMAKE_<LANG>_FLAGS* lookup 02 April 2019, 18:23:46 UTC
8ca1b26 cmLocalGenerator: Factor IPO logic out of AddLanguageFlags The IPO flag logic was added to `AddLanguageFlags` based on my advice. However, this method should really only be about `CMAKE_<LANG>_FLAGS*` variables. Move the IPO logic out to its call sites. 02 April 2019, 18:23:32 UTC
81985b7 Merge topic 'nasm-fix' 9e4de543d0 Modules: Check nasm compile object variable Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3167 02 April 2019, 18:17:57 UTC
56ae290 CMake Nightly Date Stamp 02 April 2019, 04:01:09 UTC
3e129d7 Merge topic 'project-include' 7d19b3091d Release note for CMAKE_PROJECT_INCLUDE variable dda0190458 project: Add variable CMAKE_PROJECT_INCLUDE 390f14a244 Test ProjectInclude: Add NONE to avoid enabling languages Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3155 01 April 2019, 14:49:02 UTC
29802ed Merge topic 'refactor-cmcmd' f13aef4de5 cmcmd: Modernize for loops with cmMakeRange e9bbfdd9a1 cmcmd: Pass args vector by const& Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3168 01 April 2019, 14:47:13 UTC
fa2dbbb Merge topic 'utilize-substr' 2d66567dca Modernize: Prefer .substr in place of .c_str() + int Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Sebastian Holtermann <sebholt@xwmw.org> Merge-request: !3169 01 April 2019, 14:46:24 UTC
6b5fb23 Merge topic 'fix_doxygen_comments' 735c6f39d9 Fix invalid ///! doxygen comment line starts Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3170 01 April 2019, 14:43:48 UTC
249fb7f Merge topic 'cmDepends_tweaks' 87341d8328 cmDepends: Define DependencyMap instead of DependencyVector 5a15c9e7cb cmDepends: Refactor cmDepends::CheckDependencies method 5f6c236481 cmFiletimeCache: Add cmFiletimeCache::Remove method 18c30786a9 cmFileTime: Make cmFileTime::Compare method const Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3156 01 April 2019, 14:42:58 UTC
afa2614 Merge topic 'memorize_c_compilers_with_full_standard_support' 983533a4b8 Record when C compilers have gained full support for 90,99,11 f92ccbc306 CompileFeatures: memoize C compilers with full language level support Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3146 01 April 2019, 14:41:49 UTC
922480e Merge topic 'allow_aliasing_unkown_targets' 6d5872a396 add_library: Now support aliasing unknown import targets Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3148 01 April 2019, 14:31:11 UTC
c5eb01d Merge topic 'bug/missed-return-on-cli-errors' 99698ee351 cmake: Fix missed `return` statement when CLI errors found Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3171 01 April 2019, 12:57:13 UTC
5ad73b6 CMake Nightly Date Stamp 01 April 2019, 04:01:11 UTC
99698ee cmake: Fix missed `return` statement when CLI errors found 31 March 2019, 21:31:25 UTC
735c6f3 Fix invalid ///! doxygen comment line starts In various places `///!` was used to start a comment line. This is not valid Doygen syntax. This patch replaces `///!` comment starts with `//!`. 31 March 2019, 09:27:12 UTC
11475cc CMake Nightly Date Stamp 31 March 2019, 04:01:07 UTC
2d66567 Modernize: Prefer .substr in place of .c_str() + int A lot of temporary/local strings were created out of C-strings substr can utilize current string size, so in theory be a little more efficient. 30 March 2019, 15:15:05 UTC
f13aef4 cmcmd: Modernize for loops with cmMakeRange Also minor loop variable renaming 30 March 2019, 14:39:45 UTC
e9bbfdd cmcmd: Pass args vector by const& 30 March 2019, 14:34:59 UTC
5bdee37 CMake Nightly Date Stamp 30 March 2019, 04:01:09 UTC
9e4de54 Modules: Check nasm compile object variable Check if the CMAKE_ASM_NASM_COMPILE_OBJECT variable is set before modifying it. Only modify if not previously set. 30 March 2019, 03:57:28 UTC
37da6af find_dependency: Always search dependencies When a dependency was already found, find_dependency did not search it again. While this works in basic case, it does not when there are components as the check does not take components into account. Given the fact that there is no documentation about this optimization and that the correct implementation is not trivial as it would require changes in find_package to have the list of components already found we always search dependencies. Fix #17583. 29 March 2019, 21:03:21 UTC
7d19b30 Release note for CMAKE_PROJECT_INCLUDE variable 29 March 2019, 15:53:12 UTC
1177464 Merge branch 'release-3.14' 29 March 2019, 15:19:50 UTC
3c9dec0 CMake 3.14.1 29 March 2019, 13:22:46 UTC
50a5b7b Merge branch 'release-3.14' 29 March 2019, 13:19:33 UTC
c690e11 Merge topic 'implicit-includes' dad86f1873 ParseImplicitIncludeInfo: Canonicalize implicit include dirs Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Michel Zou <xantares09@hotmail.com> Merge-request: !3157 29 March 2019, 13:11:41 UTC
5674018 Merge topic 'implicit-includes-autogen' a8b7cbb787 Autogen: Do not treat hard-coded -I/usr/include exclusion as implicit include Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3159 29 March 2019, 13:11:04 UTC
ce0e402 Merge topic 'ifw_group_option_parsing' 6f6e0966a7 CPackIFW: Add missing cpack_ifw_configure_component_group option processing Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3160 29 March 2019, 13:10:22 UTC
e2d439a Merge topic 'backport-kwsys-SystemTools-copy-self' ce180cf810 cmake: Fix '-E copy foo .' to avoid clobbering file Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3145 29 March 2019, 13:09:26 UTC
e532052 Merge topic 'update-kwsys' 15be06a5ec Tests: Fix Plugin test for international characters on Windows 24da7da686 Merge branch 'upstream-KWSys' into update-kwsys 8166634958 KWSys 2019-03-28 (e92bdbe8) Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3158 29 March 2019, 13:08:07 UTC
30159fe Merge branch 'implicit-includes' into release-3.14 Merge-request: !3157 29 March 2019, 12:49:34 UTC
dad86f1 ParseImplicitIncludeInfo: Canonicalize implicit include dirs The implicit include directory extraction added by commit 5990ecb741 (Compute implicit include directories from compiler output, 2018-12-07, v3.14.0-rc1~108^2) leaves paths like `/usr/lib/../include` unchanged. Fix the logic to canonicalize such paths (e.g. to `/usr/include`) as we do for implicit link directories already. This is important to ensure the set of implicit directories is represented in the same form as the include directories that will be compared to them. Issue: #19095 29 March 2019, 12:48:56 UTC
04c0efd Merge branch 'implicit-includes-autogen' into release-3.14 Merge-request: !3159 29 March 2019, 12:48:39 UTC
bd00090 Merge branch 'ifw_group_option_parsing' into release-3.14 Merge-request: !3160 29 March 2019, 12:48:28 UTC
15be06a Tests: Fix Plugin test for international characters on Windows Build KWSys with `CP_UTF8` internal encoding so that we can dynamically load modules by absolute paths that contain international characters. This is needed now that KWSys DynamicLoader uses KWSys Encoding instead of hard-coding `CP_UTF8` itself. 29 March 2019, 12:19:20 UTC
45ec5a2 CMake Nightly Date Stamp 29 March 2019, 04:01:05 UTC
6f6e096 CPackIFW: Add missing cpack_ifw_configure_component_group option processing Both commit 88ecfd8ba1 (CPackIFW: Add some options, 2016-11-11, v3.8.0-rc1~248^2) and commit e5089c562c (CPackIFW: Add some options, 2017-01-24, v3.8.0-rc1~53^2) added some options to this macro's documentation and implementation, but the actual processing of the parsed options was never added. Add it now. Reviewed-by: Konstantin Podsvirov <konstantin@podsvirov.pro> 28 March 2019, 18:59:08 UTC
a8b7cbb Autogen: Do not treat hard-coded -I/usr/include exclusion as implicit include The `cmLocalGenerator::GetIncludeDirectoriesImplicit` method is called by `cmQtAutoGenInitializer` to get the compiler's list of implicit include directories. Since commit 557b2d6e65 (Fix regression in -I/usr/include exclusion logic, 2019-02-13, v3.14.0-rc2~6^2~2) the method hard-codes exclusion of `/usr/include` for historical reasons. However, it should not be reported as a real implicit include directory unless the compiler really has it. Refactor the logic to distinguish the hard-coded exclusion of `/usr/include` from the real list of implicit include directories. Fixes: #19100 28 March 2019, 18:07:24 UTC
24da7da Merge branch 'upstream-KWSys' into update-kwsys * upstream-KWSys: KWSys 2019-03-28 (e92bdbe8) 28 March 2019, 15:06:43 UTC
8166634 KWSys 2019-03-28 (e92bdbe8) Code extracted from: https://gitlab.kitware.com/utils/kwsys.git at commit e92bdbe8e6eca2a8b6dcf14920e5e25308504206 (master). Upstream Shortlog ----------------- Ben Boeckel (7): 30198dbc DynamicLoader: fix error reporting on Windows cf6b5f69 DynamicLoader: use Encoding::ToWindowsExtendedPath for the libname d17291ad DynamicLoader: support loading libraries using flags 40d9e482 DynamicLoader: support loading sibling libraries on Windows 971809c5 DynamicLoader: test the SearchBesideLibrary flag efb006b9 DynamicLoader: include stdio.h for _snprintf 9e8e9ba0 DynamicLoader: avoid the min/max macros from windows.h Brad King (1): 92334e76 SystemTools: CopyFileAlways: avoid copying file over self 28 March 2019, 15:06:33 UTC
14b6cd4 CMake Nightly Date Stamp 28 March 2019, 04:01:07 UTC
983533a Record when C compilers have gained full support for 90,99,11 27 March 2019, 19:45:11 UTC
f92ccbc CompileFeatures: memoize C compilers with full language level support Previously compilers that had full support for a language standard level was forced to verify this every time a new build directory was created. Now we record this information and insert the correct granular compile features instead of doing a try_compile. 27 March 2019, 19:45:11 UTC
dda0190 project: Add variable CMAKE_PROJECT_INCLUDE 27 March 2019, 19:39:02 UTC
390f14a Test ProjectInclude: Add NONE to avoid enabling languages 27 March 2019, 19:33:37 UTC
52bb176 Merge branch 'backport-kwsys-SystemTools-copy-self' into release-3.14 Merge-request: !3145 27 March 2019, 18:22:52 UTC
07dd1d2 Merge branch 'release-3.14' 27 March 2019, 18:21:51 UTC
97c163f Merge branch 'FindFontconfig-var-case' into release-3.14 Merge-request: !3153 27 March 2019, 18:20:53 UTC
9cf64bb Merge branch 'jacoco_parser_crash' into release-3.14 Merge-request: !3147 27 March 2019, 18:20:45 UTC
a60f1c4 Merge topic 'jacoco_parser_crash' 1d16eae868 ctest_coverage: fix out-of-bounds index in Jacoco parser Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3147 27 March 2019, 18:11:57 UTC
c03ee3c Merge topic 'FindFontconfig-var-case' a3a1e69f8a FindFontconfig: Convert module variables to camel case Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3153 27 March 2019, 18:11:08 UTC
c126e80 Merge topic 'cuda-bracket-output' b127e0c561 CUDA: Tolerate square brackets in PROMPT environment variable Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3151 27 March 2019, 17:59:26 UTC
3843d05 Merge topic 'find_dependency-cleanup' 82dec5191c find_dependency: Remove clearing of unused cmake_fd_exact_arg variable Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3149 27 March 2019, 17:58:38 UTC
fcfbc01 Merge topic 'cmTarget_pimpl' de0d57c97a cmTarget: Use std::unique_ptr instead of custom smart pointer ecc782c75d cmTarget: Single line comment clanups be2764a657 cmTarget: Make private `SetPropertyDefault` an in code lambda `InitProperty` 2bfee8a58b cmTarget: Remove obsolete `friend` definitions a65a404186 cmTarget: Inline private HasImportLibrary method ff91071a14 cmTarget: Move member method `CheckImportedLibName` to impl afc4612fa5 cmTarget: Move member method `ProcessSourceItemCMP0049()` to impl 72b0eeeb21 cmTarget: Move member booleans to impl ... Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Daniel Pfeifer <daniel@pfeifer-mail.de> Merge-request: !3142 27 March 2019, 17:25:35 UTC
87341d8 cmDepends: Define DependencyMap instead of DependencyVector In `cmDepends` use `typedef std::map<std::string, std::vector<std::string>> DependencyMap` instead of defining a `class DependencyVector : public std::vector<std::string>` and using it in `std::map<std::string, DependencyVector>`. Since `std::map<std::string, std::vector<std::string>>` is used in various other places, we now reuse all of it's auto generated methods. This doesn't happen when we use `DependencyVector` in a `std::map`, because it is a different class than `std::vector<std::string>`. 27 March 2019, 17:12:43 UTC
5a15c9e cmDepends: Refactor cmDepends::CheckDependencies method This patch changes the following issues in `cmDepends::CheckDependencies`: - Use the `std::string` based `std::getline` interface to read lines from a file instead of using raw reads into raw buffers. - To reduce the file system access, we load file times only once from `cmFileTimeCache` and keep them on the stack for later comparison. - When a file is removed from the file system we remove it from the `cmFileTimeCache` as well. 27 March 2019, 17:11:36 UTC
5f6c236 cmFiletimeCache: Add cmFiletimeCache::Remove method 27 March 2019, 17:09:53 UTC
18c3078 cmFileTime: Make cmFileTime::Compare method const 27 March 2019, 17:09:53 UTC
c518f30 Merge topic 'update-policy-documentation' 5e958ccd79 Help: Improve Cache documentation 07f3082d3b Help: Improve documentation links and formatting Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3152 27 March 2019, 16:07:58 UTC
5e958cc Help: Improve Cache documentation 27 March 2019, 15:01:29 UTC
07f3082 Help: Improve documentation links and formatting 27 March 2019, 15:01:20 UTC
d2c0350 CMake Nightly Date Stamp 27 March 2019, 04:01:08 UTC
6d5872a add_library: Now support aliasing unknown import targets Fixes #18327 26 March 2019, 19:54:48 UTC
a3a1e69 FindFontconfig: Convert module variables to camel case Our documented standard for find module variable names is to match the case of the find module package name. This was overlooked when the module was added by commit 84e7920b3a (FindFontconfig: Add module to find Fontconfig, 2018-09-27, v3.14.0-rc1~523^2). The module was released with the upper case names in CMake 3.14.0, so fix it to have camel case names in 3.14.1. This is incompatible but anyone using a given release series should be using the latest patch on it and we've made breaking fixups on newly released features like this before. Reported-by: Christophe Giboudeaux <christophe@krop.fr> Fixes: #19094 26 March 2019, 18:14:09 UTC
82dec51 find_dependency: Remove clearing of unused cmake_fd_exact_arg variable The variable is unused since commit ab358d6a85 (Improve find_dependency argument handling, 2017-05-22, v3.9.0-rc1~57^2) where handling of EXACT keyword in find_dependency was reworked. 26 March 2019, 15:56:02 UTC
1d16eae ctest_coverage: fix out-of-bounds index in Jacoco parser When the current source file is not found the FilePath variable was left with the previous path content. In case the previous file had less lines than the current one and there are 'line' entries for the current one with higher number we ended up in a buffer overflow while indexing the previous file entry with a line number higher. By clearing the FilePath, the empty() guard triggers correctly on an empty path and it avoid modifying the wrong data. 26 March 2019, 15:50:30 UTC
3661141 Merge topic 'cmGlobalGenerator_code_maintenance' b289243d99 cmGlobalGenerator: Inline `aRange` acquisition in `for(x:aRange)` invocations bf9afa1e15 cmGlobalGenerator: Use auto for long iterator types Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Daniel Pfeifer <daniel@pfeifer-mail.de> Merge-request: !3144 26 March 2019, 15:00:44 UTC
f288383 Merge topic 'fix_autogen_deadlock' e7a760fe7d Autogen: Fix deadlock when uv_spawn() fails while trying to run moc Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: Sebastian Holtermann <sebholt@xwmw.org> Merge-request: !3139 26 March 2019, 14:59:57 UTC
505bdd3 Merge branch 'cuda-bracket-output' into release-3.14 Merge-request: !3151 26 March 2019, 14:58:08 UTC
ba55fc2 Merge branch 'release-3.14' 26 March 2019, 14:57:26 UTC
8494bc2 Merge topic 'toolchain-include_directories' 588fa1bb9e Restore support for include_directories() in toolchain files Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3140 26 March 2019, 14:56:34 UTC
ce180cf cmake: Fix '-E copy foo .' to avoid clobbering file Backport KWSys commit 92334e7670 (SystemTools: CopyFileAlways: avoid copying file over self, 2019-03-25) to the CMake 3.14 release branch. Fixes: #19075 26 March 2019, 14:51:47 UTC
b127e0c CUDA: Tolerate square brackets in PROMPT environment variable The `PROMPT` environment variable affects nvcc's output. Fix our parsing of that output to tolerate square brackets. Fixes: #19089 26 March 2019, 14:43:51 UTC
db20cb2 CMake Nightly Date Stamp 26 March 2019, 04:01:07 UTC
9fbad8b Merge topic 'ctest_submit_get_buildid' ba7e44eb7a ctest_submit: Add option BUILD_ID Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Zack Galbreath <zack.galbreath@kitware.com> Merge-request: !3120 25 March 2019, 15:52:25 UTC
28ef639 Merge topic 'pkg-get-variable-prefix-path' f401a57160 pkg_get_variable now sets PKG_CONFIG_PATH like pkg_check_modules 4d76941924 FindPkgConfig: hoist PKG_CONFIG_PATH ops out into _pkg_set_path_internal 78f23de70c More tests for pkg_get_variable Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3131 25 March 2019, 15:51:29 UTC
c22a2b4 Merge branch 'toolchain-include_directories' into release-3.14 Merge-request: !3140 25 March 2019, 15:50:06 UTC
588fa1b Restore support for include_directories() in toolchain files Any `include_directories()` calls in toolchain files are used during our ABI detection step even though it does not include any system headers. Since commit 5990ecb741 (Compute implicit include directories from compiler output, 2018-12-07, v3.14.0-rc1~108^2), that check is also used to detect implicit include directories. Any `include_directories()` in a toolchain file are detected as implicit and later excluded from explicit specification on compiler command lines, thus breaking the purpose of the calls in the first place. Fix the implicit include directory detection step to avoid using paths from `include_directories()` calls in the toolchain file. Fixes: #19079 25 March 2019, 15:48:17 UTC
b289243 cmGlobalGenerator: Inline `aRange` acquisition in `for(x:aRange)` invocations Changes the following code snippets in `cmGlobalGenerator` ``` AType aRange = object.getRange(); for ( auto & item: aRange) { ``` to ``` for ( auto & item: object.getRange()) { ``` 25 March 2019, 12:51:22 UTC
bf9afa1 cmGlobalGenerator: Use auto for long iterator types 25 March 2019, 12:51:22 UTC
e7a760f Autogen: Fix deadlock when uv_spawn() fails while trying to run moc If by some chance the moc executable does not exist while running AUTOMOC, instead of showing an error, the CMake Autogen invocation hangs indefinitely. This happens because UVProcessFinished() is not called if the process does not launch correctly. Make sure to call UVProcessFinished() even if the process launch fails, and also report the error returned by libuv. 25 March 2019, 10:43:14 UTC
e7fb007 CMake Nightly Date Stamp 25 March 2019, 04:01:08 UTC
c85f23a CMake Nightly Date Stamp 24 March 2019, 04:01:07 UTC
de0d57c cmTarget: Use std::unique_ptr instead of custom smart pointer To manage the lifetime of `cmTargetInternals`, the private implementation of `cmTarget`, use `std::unique_ptr<cmTargetInternals>` instead of `cmTargetInternalPointer`, which is removed. `cmTarget` is made non-copyable but movable. 23 March 2019, 21:22:34 UTC
ecc782c cmTarget: Single line comment clanups 23 March 2019, 21:22:34 UTC
be2764a cmTarget: Make private `SetPropertyDefault` an in code lambda `InitProperty` 23 March 2019, 21:22:34 UTC
2bfee8a cmTarget: Remove obsolete `friend` definitions 23 March 2019, 21:22:34 UTC
a65a404 cmTarget: Inline private HasImportLibrary method 23 March 2019, 21:22:34 UTC
ff91071 cmTarget: Move member method `CheckImportedLibName` to impl 23 March 2019, 21:22:34 UTC
afc4612 cmTarget: Move member method `ProcessSourceItemCMP0049()` to impl 23 March 2019, 21:22:34 UTC
72b0eee cmTarget: Move member booleans to impl 23 March 2019, 21:22:34 UTC
db182eb cmTarget: Move member `*Commands` to impl 23 March 2019, 21:22:34 UTC
30495bb cmTarget: Move member `RuntimeInstallPath` to impl 23 March 2019, 20:45:10 UTC
0dcef68 cmTarget: Move member `InstallPath` to impl 23 March 2019, 20:45:10 UTC
back to top