| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| |
| |
| |
| |
| |
| |
| | |
9aa7831f05 Presets: add resolve packages setting to build presets.
b2f8f0bb87 cmGlobalVisualStudio10Generator: Auto restore NuGet packages.
193b8fca52 cmBuildOptions: Split build arguments into separate object.
6a10103493 Help: Update preset schema description for version 3 entries.
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !6761
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| | |
We can't make it an error as that would break existing behavior.
Fixes: #23110
|
|/
|
|
|
|
|
| |
When cmake parses `cmake -S <path> <path>` treat the second
path as the build directory. Likwise when invoked with
`<path> -S <path>` treat the first path as the build path
instead of using the current working directory.
|
|
|
|
| |
And change all references to "file" to say "graph" instead.
|
|
|
|
|
|
|
|
|
|
| |
Add a `--debug-find-pkg=` option to debug find calls for specific
packages.
Add a `--debug-find-var=` option to debug find calls for specific
return variables.
Fixes: #21880
|
|
|
|
|
| |
Move the decision to convert to call stacks to relative paths out to the
client. Avoid using `cmState` to make the decision ourselves.
|
|
|
|
|
|
| |
Move backtrace printing functions from `cmListFileBacktrace` over to
`cmMessenger`, their primary caller. Thread `cmMessenger` instances
through APIs needed to update other call sites.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Methods SetProperty of classes cmPropertyMap, cmStateDirectory
and cmMakefile accept now cmProp or std::string as argument.
|
| |
|
|
|
|
|
| |
Construct with the project kind instead of mutating state after
construction.
|
| |
|
|
|
|
| |
Fixes: #22389
|
|
|
|
| |
Fixes: #22339
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
de2b14a711 Merge branch 'backport-3.20-presets-build-fixes' into presets-build-fixes
534c40e6d8 presets: Fix buildPreset "targets" not allowing a single string
5d67632813 presets: Fix buildPreset "jobs"
93e396b402 presets: Fix buildPreset "jobs" field test case
efe7ac9022 presets: Fix buildPreset "targets" not allowing a single string
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Kyle Edwards <kyle.edwards@kitware.com>
Merge-request: !6190
|
| |\ |
|
| | |
| | |
| | |
| | | |
Fixes: #22273
|
| | | |
|
|/ /
| |
| |
| |
| | |
When no `CMAKE_TOOLCHAIN_FILE` is explicitly specified while creating
a new build tree, check for an environment variable of the same name.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
On subsequent runs of configure from cmake-gui the global generator is
swapped. So on runs other than the first it was setting CC and CXX to
empty when they were otherwise undefined.
Instead, restore them if non-empty and unset them if empty when changing
the global generator and a previous generator exists.
Fixes: #21449
|
| |
| |
| |
| |
| | |
Allows us to provide better error messages when commands such as
`--target` are passed invalid input.
|
| | |
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
ce97b7909b Source: Remove unnecessary comparisons to nullptr
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !6112
|
| | | |
|
|\ \ \
| |/ /
|/| |
| | |
| | |
| | |
| | | |
66be34853c cmake: add supported platforms to cmake -E capabilties report
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !6102
|
| | | |
|
|/ / |
|
| |
| |
| |
| |
| | |
In v3 of the presets, the `--toolchain` command line argument now
has a preset mapping.
|
| |
| |
| |
| |
| |
| | |
Include the underlying system error description.
Issue: #21571, #22086
|
|\ \
| |/
| |
| |
| |
| |
| | |
370bebd921 Add missing 'not' in error messages
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !6012
|
| | |
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
d5c3e4ac32 cmake: add support for --toolchain command argument
13838bbb36 CMAKE_TOOLCHAIN_FILE: Document relative path behavior
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5991
|
| | | |
|
|/ /
| |
| |
| |
| |
| |
| |
| | |
In v3 of the presets, generator and buildDir can be omitted to fall
back to regular cmake behavior when these values are not explicitly
provided by the user.
Fixes: #21987
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
8bc5c8961e CMakePresets.json: Add the ability to conditionally disable presets
ce6ea7c927 Refactor: Move some common code into separate file
ebbd475e54 Refactor: Move cmCMakePresetsFile::ReadJSON into a separate file
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5919
|
| | | |
|
|/ /
| |
| |
| |
| | |
These extensions are used by convention for C++ modules and interface
units with MSVC.
|
| | |
|
| |
| |
| |
| | |
Fixes: #21781
|
|/
|
|
|
|
|
|
|
|
|
|
|
| |
Make the `config` argument non-optional so all callers must be explicit.
Convert the path style argument to an enumeration to make its role clear
at call sites.
The path style argument is implemented by `ConvertToIncludeReference`,
which was introduced with the Ninja generator by commit 5b114c9bee
(Introduce a cmLocalGenerator::ConvertToIncludeReference function,
2011-09-07, v2.8.7~187^2~4). Its only purpose is to allow the Ninja
generator to use relative paths in `-I` flags. Add a comment explaining
this role.
|
|
|
|
| |
Fixes: #21391
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
39cbbb59a5 ninja: add experimental infrastructure to generate gcc-format modmap files
791b4d26d6 ninja: add experimental infrastructure to generate modmap files with dyndep
4b23359117 ninja: Add experimental infrastructure for C++20 module dependency scanning
f814d3b3c6 cmNinjaTargetGenerator: use $OBJ_FILE for the object
b0fc2993e1 Treat the '.mpp' file extension as C++ code
988f997100 cmScanDepFormat: Fix name of our internal tool in parse errors
dacd93a2db ninja: De-duplicate version numbers required for ninja features
533386ca29 cmStandardLevelResolver: Factor out helper to capture stoi exceptions
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Ben Boeckel <ben.boeckel@kitware.com>
Acked-by: Robert Maynard <robert.maynard@kitware.com>
Acked-by: Shannon Booth <shannon.ml.booth@gmail.com>
Merge-request: !5562
|
| |
| |
| |
| | |
This is the extension required in build2 for C++ module support.
|
|/ |
|
|\
| |
| |
| |
| |
| |
| | |
63db7ae9c4 cmake: Clear INSTALL file properties between runs
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5603
|