summaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* VS: Add support for SYSTEM include directoriesJosiah Bills2022-05-181-6/+37
| | | | Fixes: #17904
* Merge topic 'find_item-query-windows-registry'Brad King2022-05-0312-72/+481
|\ | | | | | | | | | | | | | | | | 8d7e80cf3d find_* commands: add control over Windows registry views 08941a9a40 cmWindowsRegistry: Add helper for conversion between string and enum View 769f25aa3c cmWindowsRegistry: enhance unicode conversions Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7211
| * find_* commands: add control over Windows registry viewsMarc Chevrier2022-04-2910-48/+361
| | | | | | | | Fixes: #22775
| * cmWindowsRegistry: Add helper for conversion between string and enum ViewMarc Chevrier2022-04-293-13/+44
| |
| * cmWindowsRegistry: enhance unicode conversionsMarc Chevrier2022-04-292-14/+79
| |
* | Merge topic 'avoid-remove-empty-path'Brad King2022-05-031-1/+3
|\ \ | | | | | | | | | | | | | | | | | | | | | 71ded12a75 cmGeneratedFileStream: Do not remove empty path Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !7223
| * | cmGeneratedFileStream: Do not remove empty pathBrad King2022-04-291-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | If `Close()` is called when a file was never opened, we have no temporary file path. Do not try to remove it. Some implementations of `unlink()` crash on an empty path (though the documented behavior is to fail with `ENOENT`). Fixes: #23414
* | | Merge topic 'restore-CPACK_PACKAGEMAKER_CHOICES'Brad King2022-05-031-21/+37
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | d099136add productbuild: Restore CPACK_PACKAGEMAKER_CHOICES variable Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7220
| * | | productbuild: Restore CPACK_PACKAGEMAKER_CHOICES variableCraig Scott2022-04-291-21/+37
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In 2a8df7e7db (productbuild: Don't write rootVolumeOnly attribute if writing domains, 2022-03-21), the variable holding the main contents of the distribution.dist XML file was renamed from CPACK_PACKAGEMAKER_CHOICES to CPACK_APPLE_PKG_INSTALLER_CONTENT. This reflected the fact that the PackageMaker generator is deprecated. The new variable also includes more details than the old one held. Some projects were relying on the old variable name, so we need to still set that to the same contents as it would have previously provided. Neither of these variables were previously documented, but the older variable was mentioned in enough semi-official places that it essentially became semi-supported. Document both variables and highlight that the older one is deprecated. Fixes: #23467
* | | Merge topic 'cpp-modules-prep'Brad King2022-05-038-86/+145
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | c5b56b35c2 cmInstallExportGenerator: expose the temporary directory c107760417 cmNinjaTargetGenerator: support msvc-style deps discovery for scanning 64c15ec018 cmNinjaTargetGenerator: add flags for scanning based on the fileset type aaa18f15cf cmTarget: add support for querying all file set names cc4e19710d cmGlobalNinjaGenerator: use an extention based on the modmapfmt 97a68198c9 cmGlobalNinjaGenerator: escape `:` in module names 499009b79c cmTarget: avoid creating export entries if they don't exist 0513a1fe10 cmInstallGenerator: use CMake-private variables in generated code ... Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !7214
| * | | cmInstallExportGenerator: expose the temporary directoryBen Boeckel2022-04-282-59/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This needs to be known so that C++ module properties for the install can be staged beside the other files. Always perform the MD5 transformation (in non-bootstrap builds) so that the path can be computed prior to generation (where it used the longest configuration name to detect too-long paths). Update tests to expect the always-present MD5 value. Note that this improves robustness of the test suite as testing in a too-long path may have triggered the MD5 conversion anyways.
| * | | cmNinjaTargetGenerator: support msvc-style deps discovery for scanningBen Boeckel2022-04-271-10/+21
| | | |
| * | | cmNinjaTargetGenerator: add flags for scanning based on the fileset typeBen Boeckel2022-04-271-0/+52
| | | |
| * | | cmTarget: add support for querying all file set namesBen Boeckel2022-04-272-0/+12
| | | |
| * | | cmGlobalNinjaGenerator: use an extention based on the modmapfmtBen Boeckel2022-04-271-1/+6
| | | |
| * | | cmGlobalNinjaGenerator: escape `:` in module namesBen Boeckel2022-04-271-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | Not all filesystems support `:` in the name, so replace it with `-`. As `-` is not otherwise allowed in module names anyways, there is no risk of conflict.
| * | | cmTarget: avoid creating export entries if they don't existBen Boeckel2022-04-271-1/+6
| | | |
| * | | cmInstallGenerator: use CMake-private variables in generated codeBen Boeckel2022-04-271-8/+15
| | | |
| * | | cmInstallGenerator: fix default argument commentsBen Boeckel2022-04-271-4/+4
| | | |
| * | | cmFileSet: support makefile-less error reporting of visibilityBen Boeckel2022-04-271-3/+6
| | | |
* | | | CMake Nightly Date StampKitware Robot2022-05-031-1/+1
| | | |
* | | | CMake Nightly Date StampKitware Robot2022-05-021-1/+1
| | | |
* | | | CMake Nightly Date StampKitware Robot2022-05-011-1/+1
| | | |
* | | | CMake Nightly Date StampKitware Robot2022-04-301-1/+1
| |_|/ |/| |
* | | CMake Nightly Date StampKitware Robot2022-04-291-1/+1
| | |
* | | Merge topic 'ghs-file-type'Brad King2022-04-282-15/+8
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 158d6252cc GHS: Set LANGUAGE type for source files Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !7209
| * | | GHS: Set LANGUAGE type for source filesFred Baksik2022-04-272-15/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use gbuild project syntax for setting the language type for the file. gbuild will pick the correct compiler or tool to use. NOTE: Language names come from gbuild config files. Therefore to compile a file with the C++ compiler use "C++" not "CXX". The previous implementation was passing the C compiler a flag to compile as C++ if LANGUAGE was set to "CXX".
* | | | CMake Nightly Date StampKitware Robot2022-04-281-1/+1
| | | |
* | | | Merge topic 'automoc-rsp'Brad King2022-04-273-0/+63
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | 1c9cead051 AUTOMOC: Automatically use options file for moc compiler Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !7201
| * | | AUTOMOC: Automatically use options file for moc compilerDaniel Gehriger2022-04-263-0/+63
| | | |
* | | | Merge topic 'file-set-simplifications'Brad King2022-04-276-242/+338
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9916d4dd44 cmTarget: factor out fileset type handling 79d6b928a3 RunCMake/target_sources: test `HEADERS` file sets via generic props d74f9599f6 cmTarget: require filesets to be of the right type 5da4fe30a9 cmTarget: factor out fileset property manipulation c89580487b cmTarget: pass candidate strings by const-ref 64ea1a272c messages: remove screamake from comments and errors Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !7145
| * | | | cmTarget: factor out fileset type handlingBen Boeckel2022-04-251-132/+203
| | | | | | | | | | | | | | | | | | | | | | | | | This allows for new fileset types to be added more easily by factoring out the declarative information into a structure.
| * | | | cmTarget: require filesets to be of the right typeBen Boeckel2022-04-251-34/+61
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With new types being proposed for C++ modules, requiring filesets to be of the right type is now pertinent. No tests can be added yet as only `HEADERS` is supported right now.
| * | | | cmTarget: factor out fileset property manipulationBen Boeckel2022-04-251-116/+114
| | | | |
| * | | | cmTarget: pass candidate strings by const-refBen Boeckel2022-04-251-3/+3
| | | | | | | | | | | | | | | | | | | | This avoids having to copy the `std::string` overload.
| * | | | messages: remove screamake from comments and errorsBen Boeckel2022-04-255-15/+15
| | |/ / | |/| |
* | | | CMake Nightly Date StampKitware Robot2022-04-271-1/+1
| | | |
* | | | Merge topic 'target-bundle-dir-name-genex'Brad King2022-04-261-1/+39
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 997af2e1a6 Genex: Add TARGET_BUNDLE_DIR_NAME 627b2eba6c Help: Make TARGET_BUNDLE[_CONTENT]_DIR examples more precise Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7177
| * | | | Genex: Add TARGET_BUNDLE_DIR_NAMEBen Leadbetter2022-04-221-1/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Evaluate to the name of the bundle directory for a given bundle target. Fixes: #23409
* | | | | CMake Nightly Date StampKitware Robot2022-04-261-1/+1
| |/ / / |/| | |
* | | | CMake Nightly Date StampKitware Robot2022-04-251-1/+1
| |/ / |/| |
* | | CMake Nightly Date StampKitware Robot2022-04-241-1/+1
| | |
* | | CMake Nightly Date StampKitware Robot2022-04-231-1/+1
| | |
* | | Merge topic 'cmake-use-findpython'Brad King2022-04-221-5/+0
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 313ea361b0 CMake: Use FindPython instead of FindPythonInterp to build CMake itself b6a6190877 string(): Support hash functions in bootstrap Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !7197
| * | | string(): Support hash functions in bootstrapKyle Edwards2022-04-211-5/+0
| |/ / | | | | | | | | | | | | cmCryptoHash has been included in the bootstrap script since 596439b. Add hash support to string() in bootstrap to allow FindPython to work.
* | | Merge topic 'cmake-install-script-gen-style'Brad King2022-04-225-49/+59
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4085128586 generated-scripts: use CMAKE_CURRENT_LIST_DIR where possible a1a7f62918 generated-scripts: improve prose messages with CMake lists c2194176db generated-scripts: unset used variables 233997a914 generated-scripts: use `foreach(IN LISTS)` 2ec44be41e generated-scripts: quote variable expansions d74761b181 generated-scripts: simplify `if` conditions 59cc92085e generated-cmake: use `_cmake_` prefixes for local variables a2cb1754a5 cmExportFileGenerator: require CMake 2.8.3 Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !7194
| * | | generated-scripts: use CMAKE_CURRENT_LIST_DIR where possibleBen Boeckel2022-04-201-2/+1
| | | |
| * | | generated-scripts: improve prose messages with CMake listsBen Boeckel2022-04-202-3/+7
| | | | | | | | | | | | | | | | | | | | | | | | Instead of printing a CMake list, make it an English-style list. This also allows the line-break algorithm to make these messages much more readable.
| * | | generated-scripts: unset used variablesBen Boeckel2022-04-203-1/+8
| | | |
| * | | generated-scripts: use `foreach(IN LISTS)`Ben Boeckel2022-04-202-2/+2
| | | |