summaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* 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
| | |
| * | generated-scripts: quote variable expansionsBen Boeckel2022-04-202-5/+5
| | |
| * | generated-scripts: simplify `if` conditionsBen Boeckel2022-04-203-14/+11
| | |
| * | generated-cmake: use `_cmake_` prefixes for local variablesBen Boeckel2022-04-203-37/+37
| | | | | | | | | | | | This avoids stomping on any user variables.
| * | cmExportFileGenerator: require CMake 2.8.3Ben Boeckel2022-04-201-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | This allows use of `CMAKE_CURRENT_LIST_DIR`, `foreach(IN LISTS)`, `if(VERSION_*)`, and more. Note that generated filesets code already uses `if(VERSION_*)` and requires CMake 2.8.3 in practice.
* | | Merge topic 'ghs-rerun-cmake-fix'Brad King2022-04-221-9/+8
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1de3382de5 GHS: Fix RERUN_CMAKE issue when generation step fails Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !7183
| * | | GHS: Fix RERUN_CMAKE issue when generation step failsFred Baksik2022-04-161-9/+8
| | | | | | | | | | | | | | | | Fixes: 23435
* | | | Merge topic 'NO_CMAKE_INSTALL_PREFIX'Brad King2022-04-224-5/+115
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 42f7e39789 Find: Support per call disabling of CMAKE_INSTALL_PREFIX Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !7163
| * | | | Find: Support per call disabling of CMAKE_INSTALL_PREFIXRobert Maynard2022-04-154-5/+115
| | | | | | | | | | | | | | | | | | | | Fixes #23359
* | | | | CMake Nightly Date StampKitware Robot2022-04-221-1/+1
| |_|_|/ |/| | |
* | | | Merge topic 'cpack-command-line-arguments'Brad King2022-04-211-108/+115
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 87c762d435 CPack: Use cmCommandLineArgument instead of cmsys::CommandLineArguments Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !7185
| * | | | CPack: Use cmCommandLineArgument instead of cmsys::CommandLineArgumentsKyle Edwards2022-04-201-108/+115
| | |_|/ | |/| |
* | | | Merge topic 'file-set-build-export'Brad King2022-04-212-11/+88
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9ee47188c0 cmExportBuildFileGenerator: handle genex-wrapped source paths 60fab8a6e0 cmInstallCommand: tweak error message Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7182
| * | | | cmExportBuildFileGenerator: handle genex-wrapped source pathsBen Boeckel2022-04-181-8/+85
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously a fileset with `$<$<CONFIG:Debug>:some_file>` would show up as-is (with escaping) in the build directory export. Instead, evaluate all fileset entries as generator expressions and list them as they are similar to the installation information.
| * | | | cmInstallCommand: tweak error messageBen Boeckel2022-04-161-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | Not all filesets need to be installed; just those that are visible on the target's interface. Clarify the error message.
| * | | | Merge topic 'CPackIFW-extra-dot' into release-3.23Brad King2022-04-151-3/+3
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 331c5d458e CPackIFW: Fix regression in icon file names Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Acked-by: Erlend E. Aasland <erlend.aasland@innova.no> Merge-request: !7174
* | | | | | CMake Nightly Date StampKitware Robot2022-04-211-1/+1
| |_|/ / / |/| | | |
* | | | | Merge topic 'cpack-dmg-sla'Brad King2022-04-201-1/+5
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b760828d3f CPack/DMG: Do not use CPACK_RESOURCE_FILE_LICENSE for SLA by default Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !7176
| * | | | | CPack/DMG: Do not use CPACK_RESOURCE_FILE_LICENSE for SLA by defaultBrad King2022-04-141-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since macOS 12.0 deprecated the tools needed to attach a SLA to a `.dmg`, we should no longer do this by default. Add a policy to change the default to off. Fixes: #22978
* | | | | | Merge topic 'vs-dotnet-startup-object'Brad King2022-04-201-0/+14
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d89af11f89 VS: Add StartupObject property for managed .NET projects Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7171
| * | | | | | VS: Add StartupObject property for managed .NET projectsFlorian Schweiger2022-04-121-0/+14
| | | | | | |
* | | | | | | Merge topic 'cmake-gui-font'Brad King2022-04-201-1/+2
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 072b318893 cmake-gui: avoid undefined font in recent macOS Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7178
| * | | | | | | cmake-gui: avoid undefined font in recent macOSCarlo Marcelo Arenas Belón2022-04-151-1/+2
| | |/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit 8fb74f97ef (ENH: Use fixed pitch font in output window, 2008-03-07), cmake-gui has been using a "Courier" font to print mono spaced text in the output window, but at least in macOS 12, Courier is no longer availablemand therefore will print the following warning in the invoking terminal: qt.qpa.fonts: Populating font family aliases took 175 ms. Replace uses of missing font family "Courier" with one that exists to avoid this cost. Change it to use "Courier New" instead, which has been provided as an automatically selected alternative in Windows and comes preinstalled in both systems, and add a hint to pull another monospaced font if not.
* | | | | | | Merge topic 'command-line-argument-bool'Brad King2022-04-203-76/+71
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 62f4a41647 Refactor: Use cmCommandLineArgument::setTo{True,Value}() 0645d08c98 cmCommandLineArgument: Add setToTrue() and setToValue() helpers Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Acked-by: Robert Maynard <robertjmaynard@gmail.com> Merge-request: !7181
| * | | | | | | Refactor: Use cmCommandLineArgument::setTo{True,Value}()Kyle Edwards2022-04-182-76/+21
| | | | | | | |
| * | | | | | | cmCommandLineArgument: Add setToTrue() and setToValue() helpersKyle Edwards2022-04-181-0/+50
| | | | | | | |