summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* CompileFeatures: memoize C++ compilers with full language level supportRobert Maynard2019-04-092-5/+34
| | | | | | | Previously compilers that had full support for a language standard level were still verified 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`.
* Tests: Remove outdated portion of CompileFeatures genex testBrad King2019-04-091-11/+0
| | | | | | The genex part of the test verifies that `$<COMPILE_FEATURES:...>` evaluates as expected. It does not need to actually try using code with the associated features, as that is tested separately.
* Merge topic 'project-include'Brad King2019-04-019-15/+58
|\ | | | | | | | | | | | | | | | | 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
| * Release note for CMAKE_PROJECT_INCLUDE variableRuslan Baratov2019-03-291-0/+5
| |
| * project: Add variable CMAKE_PROJECT_INCLUDERuslan Baratov2019-03-277-14/+52
| |
| * Test ProjectInclude: Add NONE to avoid enabling languagesRuslan Baratov2019-03-271-1/+1
| |
* | Merge topic 'refactor-cmcmd'Brad King2019-04-012-83/+76
|\ \ | | | | | | | | | | | | | | | | | | | | | f13aef4de5 cmcmd: Modernize for loops with cmMakeRange e9bbfdd9a1 cmcmd: Pass args vector by const& Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3168
| * | cmcmd: Modernize for loops with cmMakeRangeArtur Ryt2019-03-301-66/+58
| | | | | | | | | | | | Also minor loop variable renaming
| * | cmcmd: Pass args vector by const&Artur Ryt2019-03-302-17/+18
| | |
* | | Merge topic 'utilize-substr'Brad King2019-04-0112-22/+19
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | | Modernize: Prefer .substr in place of .c_str() + intArtur Ryt2019-03-3012-22/+19
| |/ / | | | | | | | | | | | | | | | 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.
* | | Merge topic 'fix_doxygen_comments'Brad King2019-04-0143-180/+180
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 735c6f39d9 Fix invalid ///! doxygen comment line starts Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3170
| * | | Fix invalid ///! doxygen comment line startsSebastian Holtermann2019-03-3143-180/+180
| | | | | | | | | | | | | | | | | | | | In various places `///!` was used to start a comment line. This is not valid Doygen syntax. This patch replaces `///!` comment starts with `//!`.
* | | | Merge topic 'cmDepends_tweaks'Brad King2019-04-0111-121/+116
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | | | cmDepends: Define DependencyMap instead of DependencyVectorSebastian Holtermann2019-03-278-36/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>`.
| * | | | cmDepends: Refactor cmDepends::CheckDependencies methodSebastian Holtermann2019-03-272-78/+71
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | | | cmFiletimeCache: Add cmFiletimeCache::Remove methodSebastian Holtermann2019-03-272-6/+16
| | | | |
| * | | | cmFileTime: Make cmFileTime::Compare method constSebastian Holtermann2019-03-271-1/+1
| | | | |
* | | | | Merge topic 'memorize_c_compilers_with_full_standard_support'Brad King2019-04-0111-3/+59
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | | | | Record when C compilers have gained full support for 90,99,11Robert Maynard2019-03-279-0/+30
| | | | | |
| * | | | | CompileFeatures: memoize C compilers with full language level supportRobert Maynard2019-03-272-3/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | | Merge topic 'allow_aliasing_unkown_targets'Brad King2019-04-014-5/+23
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6d5872a396 add_library: Now support aliasing unknown import targets Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3148
| * | | | | | add_library: Now support aliasing unknown import targetsRobert Maynard2019-03-264-5/+23
| |/ / / / / | | | | | | | | | | | | | | | | | | Fixes #18327
* | | | | | Merge topic 'bug/missed-return-on-cli-errors'Craig Scott2019-04-011-2/+3
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 99698ee351 cmake: Fix missed `return` statement when CLI errors found Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3171
| * | | | | | cmake: Fix missed `return` statement when CLI errors foundAlex Turbov2019-03-311-2/+3
| | |_|/ / / | |/| | | |
* | | | | | CMake Nightly Date StampKitware Robot2019-04-011-1/+1
|/ / / / /
* | | | | CMake Nightly Date StampKitware Robot2019-03-311-1/+1
| |_|/ / |/| | |
* | | | CMake Nightly Date StampKitware Robot2019-03-301-1/+1
| | | |
* | | | Merge branch 'release-3.14'Brad King2019-03-290-0/+0
|\ \ \ \
| * | | | CMake 3.14.1v3.14.1Brad King2019-03-291-1/+1
| | | | |
* | | | | Merge branch 'release-3.14'Brad King2019-03-290-0/+0
|\ \ \ \ \ | |/ / / /
| * | | | Merge branch 'implicit-includes' into release-3.14Brad King2019-03-2917-72/+92
| |\ \ \ \ | | | | | | | | | | | | | | | | | | Merge-request: !3157
| * \ \ \ \ Merge branch 'implicit-includes-autogen' into release-3.14Brad King2019-03-291-8/+13
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | Merge-request: !3159
| * \ \ \ \ \ Merge branch 'ifw_group_option_parsing' into release-3.14Brad King2019-03-291-0/+6
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Merge-request: !3160
| * \ \ \ \ \ \ Merge branch 'backport-kwsys-SystemTools-copy-self' into release-3.14Brad King2019-03-271-4/+4
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge-request: !3145
* | \ \ \ \ \ \ \ Merge topic 'implicit-includes'Brad King2019-03-2917-72/+92
|\ \ \ \ \ \ \ \ \ | | |_|_|_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | dad86f1873 ParseImplicitIncludeInfo: Canonicalize implicit include dirs Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Michel Zou <xantares09@hotmail.com> Merge-request: !3157
| * | | | | | | | ParseImplicitIncludeInfo: Canonicalize implicit include dirsBrad King2019-03-2917-72/+92
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | | | | | | Merge topic 'implicit-includes-autogen'Brad King2019-03-291-8/+13
|\ \ \ \ \ \ \ \ \ | | |_|_|_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a8b7cbb787 Autogen: Do not treat hard-coded -I/usr/include exclusion as implicit include Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3159
| * | | | | | | | Autogen: Do not treat hard-coded -I/usr/include exclusion as implicit includeSebastian Holtermann2019-03-281-8/+13
| | |/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | | | | | Merge topic 'ifw_group_option_parsing'Brad King2019-03-291-0/+6
|\ \ \ \ \ \ \ \ | | |_|_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6f6e0966a7 CPackIFW: Add missing cpack_ifw_configure_component_group option processing Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3160
| * | | | | | | CPackIFW: Add missing cpack_ifw_configure_component_group option processingClément Rezvoy2019-03-281-0/+6
| | |/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | | | | | Merge topic 'backport-kwsys-SystemTools-copy-self'Brad King2019-03-290-0/+0
|\ \ \ \ \ \ \ | | |_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ce180cf810 cmake: Fix '-E copy foo .' to avoid clobbering file Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3145
| * | | | | | cmake: Fix '-E copy foo .' to avoid clobbering fileBrad King2019-03-261-4/+4
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Backport KWSys commit 92334e7670 (SystemTools: CopyFileAlways: avoid copying file over self, 2019-03-25) to the CMake 3.14 release branch. Fixes: #19075
* | | | | | Merge topic 'update-kwsys'Brad King2019-03-299-39/+180
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | | | | | Tests: Fix Plugin test for international characters on WindowsBrad King2019-03-291-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | | | | | Merge branch 'upstream-KWSys' into update-kwsysBrad King2019-03-288-39/+179
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * upstream-KWSys: KWSys 2019-03-28 (e92bdbe8)
| | * | | | | | KWSys 2019-03-28 (e92bdbe8)KWSys Upstream2019-03-288-39/+179
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | | | | | CMake Nightly Date StampKitware Robot2019-03-291-1/+1
| | | | | | | |
* | | | | | | | CMake Nightly Date StampKitware Robot2019-03-281-1/+1
| | | | | | | |
* | | | | | | | Merge branch 'release-3.14'Brad King2019-03-270-0/+0
|\ \ \ \ \ \ \ \ | | |_|_|/ / / / | |/| | | | | |