summaryrefslogtreecommitdiffstats
path: root/Source/cmFastbuildNormalTargetGenerator.cxx
Commit message (Collapse)AuthorAgeFilesLines
* FASTBuild: Fix default MSVC compiler PDB pathsBrad King2025-12-051-17/+30
| | | | | | | | When we pass a PDB output directory to the compiler in a path that requires quoting, the trailing backslash must be escaped to be parsed correctly by the compiler, e.g., `cl /Fd"path\with space\\"`. However, `fbuild` does not parse this correctly when extracting `/Fd`. Work around that bug by using a trailing forward slash in quotes instead.
* FASTBuild: Add internal helper for intermediate directory creationBrad King2025-12-051-0/+6
|
* FASTBuild: fix multi-language PCHsEduard Voronkin2025-11-131-3/+5
| | | | Fixes: #27371
* IWYU: Update for Debian 13 CI jobBrad King2025-11-121-1/+1
| | | | | | | | | | | | | | | `include-what-you-use` diagnostics, in practice, are specific to the environment's compiler and standard library. Update includes to satisfy IWYU for our CI job under Debian 13. Some patterns: * Types named in virtual `override` signatures no longer require includes since the overridden signature already names them. * A function argument's type needs to be included even if its constructor is called only by implicit conversion. For example, constructing a `std::function` from a lambda now requires `<functional>`. * Some prior mysterious `<type_traits>` inclusions are no longer required.
* Merge topic 'typos-1.39.0' into release-4.2Brad King2025-11-041-1/+1
|\ | | | | | | | | | | | | 1405dc49e8 pre-commit: version bump `typos` and `sphinx-lint` hooks + fix found typos Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !11380
| * pre-commit: version bump `typos` and `sphinx-lint` hooks + fix found typosAlex Turbov2025-11-031-1/+1
| |
* | FASTBuild: fix superfluous directory creationEduard Voronkin2025-11-031-3/+4
|/ | | | Fixes: #27356
* FASTBuild: support CUDA languageEduard Voronkin2025-10-251-31/+177
| | | | Fixes: #27318
* instrumentation: Move target data into content filesMartin Duffy2025-10-021-4/+0
| | | | | | | | | Create a single place to store target data to prevent duplication. This moves `targetType` and `targetLabels` out of the snippet files and into a target map in the `cmakeContent` file referenced by each snippet. Fixes: #27244
* FASTBuild: fix excessive std::to_stringEduard Voronkin2025-09-221-6/+4
| | | | | `cmStrCat` uses `cmAlphaNum` internally which does conversion from integer to string
* FASTBuild: don't write empty dependenciesEduard Voronkin2025-09-191-0/+12
| | | | | | We were writing "-deps" alias in the generated file even if we didn't have any dependencies, which is excessive and makes FASTBuild do more work then necessary.
* FASTBuild: add support for Unity buildsEduard Voronkin2025-09-181-10/+192
|
* FASTBuild: optimize generated file sizeEduard Voronkin2025-09-161-5/+3
| | | | | | | | Two optimizations here: 1. Remove non-mandatory aliases (I only used them for debugging). 2. Make objects lists' name shorter Both of those improvements contribute to the decrease of the FASTBuild DB file, since they are getting serialized.
* FASTBuild: optimize generated fileEduard Voronkin2025-09-151-4/+38
| | | | | | | | | | | List of changes: 1. Remove unneeded aliases 2. Don't write VS Solution on Apple 3. Use external script to perform clean 4. Fix small bug when empty environment was resulting in invalid file. It greatly reduces the size of .fdb file and makes FASTBuild run much faster in different cases.
* Merge topic 'object-name-properties'Brad King2025-09-101-1/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | b53837a1bd prop_sf/INSTALL_OBJECT_NAME: support custom install object names 08f1a0fbc6 cmLocalGenerator: get the configuration when building object paths 168e55be41 cmObjectLocation: support install-specific object locations 84372ce0b5 prop_sf/OBJECT_NAME: no-op for the FASTBuild and Xcode generators 9ef99353cb prop_sf/OBJECT_NAME: support custom object names 7aff0d37b5 cmSourceFile: add accessors for PCH source files bbdc2fd908 cmSourceFile: internally track CMake-managed source files 388923818d cmGeneratorTarget: return the source file added ... Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !11144
| * cmLocalGenerator: get the configuration when building object pathsBen Boeckel2025-09-091-1/+1
| | | | | | | | | | | | Install locations can be per-configuration, so this information is necessary for this call. Plumb it through; usage will follow in the next commit.
* | Merge topic 'target-SKIP_LINTING'Brad King2025-09-101-8/+12
|\ \ | |/ |/| | | | | | | | | | | | | f100769d72 Add `SKIP_LINTING` target property and `CMAKE_SKIP_LINTING` variable 0d6b5d54b2 Tests/RunCMake/MultiLint: Extract test preparation code into separate file 3a21092d75 Tests/RunCMake/MultiLint: Refactor test runs Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !11139
| * Add `SKIP_LINTING` target property and `CMAKE_SKIP_LINTING` variableAlex Turbov2025-09-091-8/+12
| | | | | | | | | | | | These offer target-wide settings to disable lints. Closes: #27191
* | Merge topic 'fbuild_additional_props'Brad King2025-09-041-0/+13
|\ \ | | | | | | | | | | | | | | | | | | a8e64742aa FASTBuild: allow disabling of caching / distribution Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !11125
| * | FASTBuild: allow disabling of caching / distributionEduard Voronkin2025-09-031-0/+13
| | | | | | | | | | | | | | | | | | | | | Compilation is complicated. Caching / distribution is even more complicated. Sometimes there are bugs (in compilers as well as in FASTBuild), so export the option to disable those features for CMake targets.
* | | FASTBuild: Expand TargetLabels and Config for Link CommandsMartin Duffy2025-09-031-0/+3
| |/ |/|
* | FASTBuild: fix inconsistencies in rules applicationEduard Voronkin2025-09-021-12/+1
|/ | | | | | Fix `ApplyLinkRuleLauncher()` to apply `RULE_LAUNCH_COMPILE`. Remove ApplyCompileRuleLauncher since it's not used and `RULE_LAUNCH_COMPILE` is handled in `AddCompilerLaunchersForLanguages()` Fixes: #27183
* FASTBuild: Add generatorEduard Voronkin2025-08-261-0/+1948
Fixes: #15294