summaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* 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
| * 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
| |
* | CMake 3.22.0-rc1v3.22.0-rc1Brad King2021-10-141-1/+1
| |
* | cmBinUtilsMacOSMachOLinker: improve performance by memoizing otool callsSeth R Johnson2021-10-122-9/+43
| | | | | | | | | | | | | | Libraries with many repeated transitive dependencies (e.g. Trilinos) can result in very long runtime dependency call times, especially if system calls are made more expensive by antivirus software. This change caches the results of the calls to otool for efficiency.
* | cmFileCommand: improve error messageSeth R Johnson2021-10-121-3/+6
| | | | | | | | | | Print full list of unresolved dependencies and a phrase that indicates what about the file is unresolved.
* | Begin 3.22 release versioningBrad King2021-10-081-3/+3
| |
* | CMake Nightly Date StampKitware Robot2021-10-081-1/+1
| |
* | CMake Nightly Date StampKitware Robot2021-10-071-1/+1
| |
* | Merge topic 'bootstrap-qt6'Brad King2021-10-061-2/+2
|\ \ | | | | | | | | | | | | | | | | | | | | | 6458a32242 bootstrap: Enable cmake_language command to support cmake-gui with Qt 6.2 Acked-by: Kitware Robot <kwrobot@kitware.com> Reviewed-by: Andrew Maclean <andrew.amaclean@gmail.com> Merge-request: !6593
| * | bootstrap: Enable cmake_language command to support cmake-gui with Qt 6.2Brad King2021-10-051-2/+2
| | | | | | | | | | | | Fixes: #22721
* | | Merge topic 'Wunused-but-set-variable'Brad King2021-10-061-1/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | f4387c197d CPack/OSXX11: Fix Clang 13 Wunused-but-set-variable Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6595
| * | | CPack/OSXX11: Fix Clang 13 Wunused-but-set-variableSean McBride2021-10-051-1/+1
| | | | | | | | | | | | | | | | Use the success/fail flag for the function return value.
* | | | Merge topic 'uic-options-merge-qt6'Craig Scott2021-10-063-9/+10
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2a31167955 AUTOUIC: Fix merging of --blah options not being detected for Qt6 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6588
| * | | | AUTOUIC: Fix merging of --blah options not being detected for Qt6Craig Scott2021-10-053-9/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When merging a new set of uic options with a base set of options, such as when a source file has a non-empty AUTOUIC_OPTIONS property, the test for whether to support options starting with two hyphens was only testing if the Qt major version was exactly 5 rather than at least 5. That had the effect of preventing such options from being merged correctly when using Qt6, so new and base options would both be present instead of the single merged option from the source file properties. Update the version check and rename function arguments to avoid misrepresenting what they mean. Note that uic accepts long option names with a single hyphen too. See Qt docs for QCommandLineParser::ParseAsLongOptions for confirmation.
* | | | | CMake Nightly Date StampKitware Robot2021-10-061-1/+1
| | | | |
* | | | | Merge topic 'runpath-install'Brad King2021-10-051-22/+43
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8f7e98ef09 cmInstallTargetGenerator: optimize rpath adjustments Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !6573
| * | | | cmInstallTargetGenerator: optimize rpath adjustmentsSeth R Johnson2021-09-301-22/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With builds that have many internal library directories or many external libraries, rpaths can be quite large. The cost of calling install_name_tool thousands of times can add up to minutes on a build, especially if virus scanning software is there to help you out. With this change, instead of deleting and then re-adding an rpath, we ignore it. Likewise we batch all the rpath adjustment calls into a single command. Before, installing SCALE (some libraries have 70+ build-time RPATHs that get deleted, plus up to a dozen external RPATHs from upstream dependencies that should remain in the binary) would take almost 9 minutes on my laptop, and after this change the installation takes only 30 second.
* | | | | CMake Nightly Date StampKitware Robot2021-10-051-1/+1
| | | | |
* | | | | Merge topic 'default_extensions'Brad King2021-10-042-16/+76
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4a0485be7f cmStandardLevelResolver: Avoid unnecessary flags, fix unset level logic 29e2b85171 Tests: Simplify RunCMake.CompileFeatures introspection fc3a1cbdd8 CompilerID: Compiler extensions default detection 2adfd95d79 CompilerID: Rename language_dialect to language_standard 00055d7779 Help: Document CMAKE_<LANG>_STANDARD_DEFAULT a65bee4cfc Help: Document HIP standard/extensions properties and variables a40ff1bb5a Help: Make language standard/extensions variable pages less wordy 3feff8379b Help: Generic language standard and extension variables documentation Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6177
| * | | | | cmStandardLevelResolver: Avoid unnecessary flags, fix unset level logicRaul Tambre2021-09-292-16/+76
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The changes are part of CMP0128. When the standard level is unset: * Flags are added if extension mode doesn't match the compiler's default. Previously logic only worked if LANG_EXTENSIONS was ON. Fixes #22224. * The full flag is used. Previously CMAKE_LANG_EXTENSION_COMPILE_OPTION was used. This was only supported for IAR. Otherwise: * Avoid adding flags if not necessary per the detected compiler defaults. * Fixed check for when the requested standard is older. It now matches the nearby comments. I reworded the fallback comment as its logic was a bit difficult to wrap my head around.
* | | | | | Merge topic 'e2k_support'Brad King2021-10-041-5/+4
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d6746fd05c cmMakefile: Fix compilation on EDG-based compilers such as LCC 77c237d219 zstd: Fix incorrect pragma error on LCC compiler Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Acked-by: Igor S. Gerasimov <i.s.ger@yandex.ru> Merge-request: !6579
| * | | | | | cmMakefile: Fix compilation on EDG-based compilers such as LCCmakise-homura2021-10-011-5/+4
| | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Compilers based on EDG frontend sometimes throw an internal error while using `this->` at some circumstances. While it is up to be fixed in future versions of front end, this bug still occurs in some modern compilers, such as LCC for Elbrus CPUs, and probably others (maybe ICC). It caused CMake to be unbuildable by these compilers. This patch fixes it.
* | | | | | CMake Nightly Date StampKitware Robot2021-10-041-1/+1
| | | | | |
* | | | | | CMake Nightly Date StampKitware Robot2021-10-031-1/+1
| | | | | |
* | | | | | CMake Nightly Date StampKitware Robot2021-10-021-1/+1
| | | | | |
* | | | | | CMake Nightly Date StampKitware Robot2021-10-011-1/+1
|/ / / / /
* | | | | CMake Nightly Date StampKitware Robot2021-09-301-1/+1
| | | | |
* | | | | Merge topic 'clang-warnings'Brad King2021-09-2939-41/+94
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 37859e3244 Source: Fix clang -Wimplicit-fallthrough warnings 907d098838 Source: Fix clang -Wextra-semi warnings Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !6561
| * | | | | Source: Fix clang -Wimplicit-fallthrough warningsSean McBride2021-09-2827-22/+67
| | | | | |
| * | | | | Source: Fix clang -Wextra-semi warningsSean McBride2021-09-2813-19/+27
| | |/ / / | |/| | |
* | | | | Merge topic 'xcode-dead-code'Brad King2021-09-291-3/+0
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b8a2ce0484 cmGlobalXCodeGenerator: Remove dead buildsystem version check Acked-by: Kitware Robot <kwrobot@kitware.com> Reviewed-by: Raul Tambre <raul@tambre.ee> Merge-request: !6568
| * | | | | cmGlobalXCodeGenerator: Remove dead buildsystem version checkBrad King2021-09-281-3/+0
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In commit 8d5f4c4db9 (Xcode: Switch to the "new build system" for Xcode 12 and above, 2020-09-14, v3.19.0-rc1~143^2~7) we accidentally added code in an `else` block that under the opposite condition by which the block can be entered. Remove it. Fixes: #22681
* | | | | Merge topic 'xcode-generation-support-inl-files'Brad King2021-09-291-1/+1
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 16ea0e57f7 Xcode: Treat .inl files as C++ header files Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6563
| * | | | | Xcode: Treat .inl files as C++ header filesJake Turner2021-09-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Generate the `explicitFileType` as `sourcecode.cpp.h` instead of just `sourcecode`. This enables syntax highlighting in Xcode.
* | | | | | CMake Nightly Date StampKitware Robot2021-09-291-1/+1
| |/ / / / |/| | | |
* | | | | CMake Nightly Date StampKitware Robot2021-09-281-1/+1
| | | | |
* | | | | Merge topic 'autogen-dep-on-imported-implib-only-target'Brad King2021-09-271-1/+10
|\ \ \ \ \ | | |_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 895fa3433f cmQtAutoGenInitializer: support IMPLIB-only imported targets 354c1f5628 Tests/RunCMake/Autogen: test CMP0111 behavior Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !6558
| * | | | cmQtAutoGenInitializer: support IMPLIB-only imported targetsBen Boeckel2021-09-241-1/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Instead of using the target name directly (which ends up in the `Ninja` generators querying for the `LOCATION` parameter), wrap up the target name in a `$<TARGET_LINKER_FILE:>` to avoid the query for the unset property.
| * | | | CMake 3.21.3v3.21.3Brad King2021-09-201-1/+1
| | | | |
* | | | | CMake Nightly Date StampKitware Robot2021-09-271-1/+1
| |/ / / |/| | |
* | | | CMake Nightly Date StampKitware Robot2021-09-261-1/+1
| | | |
* | | | CMake Nightly Date StampKitware Robot2021-09-251-1/+1
| |/ / |/| |
* | | CMake Nightly Date StampKitware Robot2021-09-241-1/+1
| | |
* | | Merge topic 'vs2008-no-pch-flag'Brad King2021-09-233-0/+3
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | a2b782bbc1 VS: Map /Y- flag to not use precompiled headers with VS 2008 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6548
| * | | VS: Map /Y- flag to not use precompiled headers with VS 2008Luigi Fiorentini2021-09-223-0/+3
| | | |
* | | | CMake Nightly Date StampKitware Robot2021-09-231-1/+1
|/ / /
* | | Merge topic 'rename-cmProp-in-cmValue'Brad King2021-09-22198-1816/+1869
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 59ad7a1c24 Move helpers functions from cmStringAlgorithms.h to cmValue.h edf67dd039 cmValue: add IsInternallyOn methods cc56dc7468 Rename cmProp in cmValue Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !6554