summaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* CMake Nightly Date StampKitware Robot2021-10-231-1/+1
|
* Merge topic 'lcc-policy'Brad King2021-10-222-1/+52
|\ | | | | | | | | | | | | | | 3958ed878f LCC: Add policy CMP0129 regarding interpreting LCC as GNU Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !6643
| * LCC: Add policy CMP0129 regarding interpreting LCC as GNUmakise-homura2021-10-212-1/+52
| | | | | | | | | | | | | | | | | | | | Due to MCST LCC compiler identification is now changed to LCC, there should be a way for old projects to still identify it as GNU, as it was before. This commits adds the policy: CMP0129: Compiler id for MCST LCC compilers is now LCC, not GNU. This policy controls such a behavior. OLD behaivior is to treat LCC as GNU, NEW is to treat is as LCC.
* | CMake Nightly Date StampKitware Robot2021-10-221-1/+1
| |
* | Merge topic 'vs-instance'Brad King2021-10-219-35/+43
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 46e9ff5729 Restore honoring CMAKE_GENERATOR_INSTANCE in toolchain file 42418b02f7 Android: Refactor sysroot detection under Visual Studio 44a86d0b38 cmake_host_system_information: Add undocumented VS_MSBUILD_COMMAND key 6999b87133 cmGlobalVisualStudio10Generator: Add method to find MSBuild early 7f730464be cmGlobalGenerator: Add method to check if generator is at least VS 10 8917b8512f cmGlobalVisualStudioVersionedGenerator: Allow repeating SetGeneratorInstance 6511654164 cmGlobalVisualStudio10Generator: Allow subclasses to reset MSBuild search Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !6646
| * | Restore honoring CMAKE_GENERATOR_INSTANCE in toolchain fileBrad King2021-10-204-33/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Revert the changes from commit d5b5c19278 (cmGlobalGenerator: FindMakeProgram() before CMakeDetermineSystem, 2020-06-15, v3.19.0-rc1~619^2~3) and commit ef91fb02f3 (cmGlobalGenerator: FindMakeProgram() at a generator-specific time, 2020-11-23, v3.19.1~2^2). We must delay selecting the location of MSBuild until after an instance of Visual Studio has been selected. It is now safe to revert the ordering because the motivating use case (sysroot detection in Platform/Android-Determine) has been implemented another way. Fixes: #22782
| * | cmake_host_system_information: Add undocumented VS_MSBUILD_COMMAND keyBrad King2021-10-201-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When using the Visual Studio generator for VS 10 or above, offer this key to get the location of the MSBuild command before the first `project()` or `enable_language()` command has finished running. This will be needed only by one of our own modules, so leave it undocumented for now.
| * | cmGlobalVisualStudio10Generator: Add method to find MSBuild earlyBrad King2021-10-204-0/+21
| | | | | | | | | | | | | | | Add a way to find MSBuild before the main `FindMakeProgram` code path has executed.
| * | cmGlobalGenerator: Add method to check if generator is at least VS 10Brad King2021-10-202-0/+4
| | |
| * | cmGlobalVisualStudioVersionedGenerator: Allow repeating SetGeneratorInstanceBrad King2021-10-202-0/+9
| | |
| * | cmGlobalVisualStudio10Generator: Allow subclasses to reset MSBuild searchBrad King2021-10-202-2/+1
| | | | | | | | | | | | While at it, convert to inline initialization.
| * | Merge topic 'fix-ifdef-windows' into release-3.22Brad King2021-10-184-4/+4
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | 40e73c5ac4 Source: Fix typo in _WIN32 preprocessor checks Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6631
| * | | CMake 3.22.0-rc1v3.22.0-rc1Brad King2021-10-141-1/+1
| | | |
* | | | Merge topic 'fix_reroot_paths'Brad King2021-10-211-2/+8
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 91ec6eee58 find_package: Don't reroot prefix that is equal to a root path Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !6644
| * | | | find_package: Don't reroot prefix that is equal to a root pathAlexandru Croitor2021-10-201-2/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When both CMAKE_FIND_ROOT_PATH and CMAKE_PREFIX_PATH are set to /opt/my_device_sysroot, cmFindCommon::RerootPaths would only look for packages in /opt/my_device_sysroot/opt/my_device_sysroot but would not try to look in /opt/my_device_sysroot. Make sure to not reroot the prefix path in such a case. Fixes: #21937
* | | | | Merge topic 'refactor_cuda_support_to_allow_rdc_ptx'Brad King2021-10-215-33/+47
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 61b9764b03 CUDA: Allow both CUDA_SEPARABLE_COMPILATION and CUDA_PTX_COMPILATION Acked-by: Kitware Robot <kwrobot@kitware.com> Reviewed-by: Raul Tambre <raul@tambre.ee> Merge-request: !6594
| * | | | | CUDA: Allow both CUDA_SEPARABLE_COMPILATION and CUDA_PTX_COMPILATIONRobert Maynard2021-10-205-33/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The target properties `CUDA_SEPARABLE_COMPILATION` and `CUDA_PTX_COMPILATION` now aren't mutually exclusive and can now be used together on the same target.
* | | | | | CMake Nightly Date StampKitware Robot2021-10-211-1/+1
|/ / / / /
* | | | | Merge topic 'vs-unity-individual-pch'Brad King2021-10-201-1/+2
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 71f15be957 VS: Fix compilation of single source with PCH in Unity Build 7fcc35c676 Tests: Clean RunCMake.UnityBuild cases Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6641
| * | | | VS: Fix compilation of single source with PCH in Unity BuildBrad King2021-10-191-1/+2
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Sources that are part of a unity build are normally not compiled individually. However, the VS IDE allows a single source to be compiled. This can also be achieved on the command line: msbuild my.vcxproj ... -t:ClCompile -p:SelectedFiles=<src> where `<src>` is the path in the vcxproj `ClCompile` entry. In a target with precompiled headers, the source needs PCH settings to support individual compilation even if the normal unity build does not.
* | | | CMake Nightly Date StampKitware Robot2021-10-201-1/+1
|/ / /
* | | Merge topic 'lcc-compiler'Brad King2021-10-196-4/+15
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 02b2607a5c Help: Add release note for MCST LCC compiler support e5d9fce03f LCC: Add dedicated support for MCST LCC compiler 2b9ef77944 CPack/DEB: deal with broken dpkg-shlibdeps on E2K architecture 0995c75301 Tests/RPM: skip tests tat rely on debugedit if it's not found ea55ac9a51 Tests/RunCMake/CommandLine: Deal with locales that are different from English Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6608
| * | | LCC: Add dedicated support for MCST LCC compilermakise-homura2021-10-156-4/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Divert LCC compiler as a new one, instead of treating it as GNU. Since old times, Elbrus C/C++/Fortran Compiler (LCC) by MCST has been passing checks for GNU compilers, so it has been identified as GNU. Now, with intent of seriously upstreaming its support, it has been added as a separate LCC compiler, and its version displays not a supported GCC version, but LCC version itself (e.g. LCC 1.25.19 instead of GNU 7.3.0). This commit adds its support for detection, and also converts basically every check like 'is this compiler GNU?' to 'is this compiler GNU or LCC?'. The only places where this check is untouched, is where it regards other platforms where LCC is unavailable (primarily non-Linux), and where it REALLY differs from GNU compiler. Note: this transition may break software that are already ported to Elbrus, but hardly relies that LCC will be detected as GNU; still such software is not known.
* | | | Merge topic 'ifw-run-program'Brad King2021-10-192-0/+44
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f2f4e66f64 CPackIFW: Add support for RunProgram* config variables Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Acked-by: Konstantin Podsvirov <konstantin@podsvirov.pro> Merge-request: !6610
| * | | | CPackIFW: Add support for RunProgram* config variablesErlend E. Aasland2021-10-172-0/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds support for specifying <RunProgram>, <RunProgramArguments>, and <RunProgramDescription> in the IFW configuration file.
* | | | | CMake Nightly Date StampKitware Robot2021-10-191-1/+1
| | | | |
* | | | | Merge topic 'imported-no-system'Brad King2021-10-182-0/+9
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 14d98bcfe6 export: Propagate IMPORTED_NO_SYSTEM target property to consumers 7df0541055 Add property to mark IMPORTED targets as not SYSTEM Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Acked-by: Allison Vacanti <alliepiper16@gmail.com> Merge-request: !6627
| * | | | | export: Propagate IMPORTED_NO_SYSTEM target property to consumersBrad King2021-10-151-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Enabling `IMPORTED_NO_SYSTEM` on a target built within the project has no effect on the build system, but it is still a useful way to set the property on imported targets generated by `install(EXPORT)` and `export()`. Issue: #17364
| * | | | | Add property to mark IMPORTED targets as not SYSTEMBrad King2021-10-141-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add an `IMPORTED_NO_SYSTEM` target property to specify this. When enabled, do not treat the `INTERFACE_INCLUDE_DIRECTORIES` of an imported target as `SYSTEM` include directories. This is similar to the existing `NO_SYSTEM_FROM_IMPORTED` property, but works from the consumed target rather than the consumer. Fixes: #17364
* | | | | | Merge topic 'fix-ifdef-windows'Brad King2021-10-184-4/+4
|\ \ \ \ \ \ | | |_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | 40e73c5ac4 Source: Fix typo in _WIN32 preprocessor checks Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6631
| * | | | | Source: Fix typo in _WIN32 preprocessor checksBrad King2021-10-154-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since CMake's default compiler flags with MSVC include `-DWIN32` for historical reasons, a few preprocessor conditions were accidentally checking for `WIN32` instead of `_WIN32`. The corresponding blocks were left out when compiling official binaries for `cmake.org` because we hard-code compiler flags without `-DWIN32`. Fixes: #22764
| * | | | | CMake 3.19.8v3.19.8Brad King2021-04-061-1/+1
| | | | | |
* | | | | | Merge topic 'ctest_submit-inactivity-timeout'Brad King2021-10-183-3/+34
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5d178fcc53 CTest: Add CTEST_SUBMIT_INACTIVITY_TIMEOUT variable Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !6584
| * | | | | | CTest: Add CTEST_SUBMIT_INACTIVITY_TIMEOUT variableNikhil Reddy Ramolla2021-10-143-3/+34
| | |/ / / / | |/| | | | | | | | | | | | | | | | Fixes: #22617
* | | | | | Merge topic 'clang-Wdeprecated'Brad King2021-10-186-14/+23
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | e2a4718d18 Source: Fix Clang -Wdeprecated warnings Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !6626
| * | | | | | Source: Fix Clang -Wdeprecated warningsSean McBride2021-10-156-14/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Applied C++ 'rule of three'.
* | | | | | | CMake Nightly Date StampKitware Robot2021-10-181-1/+1
| |_|_|/ / / |/| | | | |
* | | | | | CMake Nightly Date StampKitware Robot2021-10-171-1/+1
| | | | | |
* | | | | | CMake Nightly Date StampKitware Robot2021-10-161-1/+1
| | | | | |
* | | | | | Merge topic 'ifw-installer-icon-filenames'Craig Scott2021-10-151-4/+12
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 761b6e2466 CPackIFW: Avoid colliding names for icons / logos Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6613
| * | | | | | CPackIFW: Avoid colliding names for icons / logosErlend E. Aasland2021-10-141-4/+12
| |/ / / / / | | | | | | | | | | | | Fixes: #16515
* | | | | | Merge topic 'ifw-disable-cli'Brad King2021-10-152-0/+19
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6b12edfe82 CPackIFW: Add support for DisableCommandLineInterface config attribute Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6609
| * | | | | | CPackIFW: Add support for DisableCommandLineInterface config attributeKonstantin Podsvirov2021-10-142-0/+19
| | |/ / / / | |/| | | |
* | | | | | CMake Nightly Date StampKitware Robot2021-10-151-1/+1
|/ / / / /
* | | | | Merge topic 'clang-warnings'Brad King2021-10-141-1/+1
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 09f4edbcef Fix Clang -Wbitwise-instead-of-logical warnings Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !6623
| * | | | | Fix Clang -Wbitwise-instead-of-logical warningsBrad King2021-10-131-1/+1
| |/ / / /
* | | | | Merge topic 'wix_extension'Brad King2021-10-141-1/+3
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ed9dbe9218 CPack/WiX: Add option to skip the WixUIExtension Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !6619
| * | | | | CPack/WiX: Add option to skip the WixUIExtensionVasileios Anagnostopoulos2021-10-121-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | Fixes: #22747
* | | | | | CMake Nightly Date StampKitware Robot2021-10-141-1/+1
| |/ / / / |/| | | |
* | | | | Merge topic 'update-kwsys'Brad King2021-10-135-4/+46
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8d14ca3142 Merge branch 'upstream-KWSys' into update-kwsys 58f046ba26 KWSys 2021-10-08 (b8c734ba) Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !6618