- May 20, 2021
-
-
Fixes: #16183
-
- May 19, 2021
-
-
-
-
364f6af1 NVHPC: Support Ninja dependency scanning 521cfc38 NVHPC: Support explicit language flags Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !6136
-
364f6af1 NVHPC: Support Ninja dependency scanning 521cfc38 NVHPC: Support explicit language flags Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !6136
-
Kitware Robot authored
-
- May 18, 2021
-
-
Robert Maynard authored
Fixes: #22168
-
cbeff308 .gitignore: Add CLion directories and VS build directory Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !6138
-
Robert Maynard authored
-
Viktor Wallner authored
-
8526756b cmOutputConverter: Adopt relative path conversion helpers 013ec595 cmLocalGenerator: De-duplicate StateSnapshot member 24bfdbcf cmLocalGenerator: Remove unused MaybeRelativeToCurSrcDir method d6fe1bdb cmLocalGenerator: Localize logic mapping source path to object file name 4cb6a53b cmListFileCache: Simplify relative path conversion in backtraces 5b3a71a8 cmSystemTools: Adopt RelativeIfUnder helper ea9b1d36 cmStateDirectory: Clarify relative path top selection logic 2d9109df cmStateDirectory: Remove network path logic from relative path top selection ... Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !6128
-
2eba7d75 Help: Add SHELL, LINKER and host/device discussions to property docs b20c1f48 Help: Make SHELL option examples more generic Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !6130
-
Kitware Robot authored
-
- May 17, 2021
-
-
Brad King authored
Move them up from cmLocalGenerator and out of cmStateDirectory.
-
Brad King authored
We have the member from the cmOutputConverter parent.
-
Brad King authored
With the recent update to `GetObjectFileNameWithoutTarget`, we no longer have any call sites for `MaybeRelativeToCurSrcDir`. It does not make sense for the generator to produce paths relative to the source tree in general, so remove the method.
-
Brad King authored
We select an object file name based on the path to its source file. Localize the logic for shortening this via relative paths. It does not need to use the generator-wide relative path conversion rules because we are not actually generating a relative path that needs to be consistent with anything else.
-
Brad King authored
Printing paths to CMake input files does not need to use the generator-wide relative path conversion rules because we are not actually generating a relative path for the build system that needs to be consistent with anything else. Instead, simply print a relative path if it does not need to start in `../`, and otherwise an absolute path.
-
Brad King authored
This returns a relative path if it does not start in `../`.
-
Brad King authored
Re-implement the same algorithm using direct iteration without collecting a vector first.
-
Brad King authored
The logic skipping relative paths for build trees on network paths came from commit b5035770 (BUG: On Windows network paths do not really work..., 2003-12-24, v2.4.0~3517). However, since commit ad4055f3 (ENH: Set RelativePathTopSource and RelativePathTopBinary independently ..., 2007-03-07, v2.6.0~2061) we effectively ignore this logic if the build tree is inside the source tree on a network path. Also, it is not clear that logic using `RelativePathTopBinary` is prepared for it to be empty. Remove the logic for now. If a problem comes up, we can choose a new approach.
-
Brad King authored
In CMake 3.6 and below, running cmake --build . --target "$(pwd)/SomeTarget" with a Makefiles generator automatically converted the target name and invoked `make SomeTarget`. This made the build command work even though make "$(pwd)/SomeTarget" would fail. This behavior was not implemented for any other generators, and does not make sense because `cmake --build` is supposed to be a thin wrapper around the native build tool. It has also been broken since commit 8d47a20f (cmOutputConverter: use new ConvertToRelativePath signature internally, 2016-06-16, v3.7.0-rc1~90^2~1) because cmState's relative path conversion logic is not initialized in `cmake --build`. Remove the non-functioning code.
-
cf3bc271 Help: Clarify details passed to ExternalProject configure and build Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !6135
-
b00a171b Help: Clarify calling cmake_minimum_required() inside a function Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !6129
-
929c8a78 INTERFACE_POSITION_INDEPENDENT_CODE must be transitive for OBJECT library Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !6127
-
caea48ee CMakeParseImplicitIncludeInfo: remove needless variable expansions Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !6125
-
Kitware Robot authored
-
- May 16, 2021
-
-
Craig Scott authored
Fixes: #22116
-
Kitware Robot authored
-
- May 15, 2021
-
-
Craig Scott authored
Section headings are also added for each common block to help guide the reader and improve navigation. Fixes: #21640
-
Craig Scott authored
Comments at the bottom of the docs for add_compile_options() and target_compile_options() recommend using other commands if setting compiler definitions. Change the examples we use for the SHELL: functionality to use -option instead of -D so that we don't violate our own recommendations. This also makes the examples more appropriate for use with link options as well. Tweak the wording to not specify the type of option being discussed. This will already be clear from the page the text is included into and it avoids naming unrelated option types for the given page.
-
Craig Scott authored
Fixes: #21519
-
Kitware Robot authored
-
- May 14, 2021
-
-
bb9c69ed Utilities/Sphinx: Update man page config for Sphinx 4 Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !6126
-
-
bb9c69ed Utilities/Sphinx: Update man page config for Sphinx 4 Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !6126
-
Marc Chevrier authored
Fixes: #22174
-
f6d4fa63 cmStateDirectory: Comment relative path top directory selection approach f0ffb1e2 cmGlobalGenerator: Simplify relative path conversion in AddRuleHash d346805e cmLocalCommonGenerator: Select work directory semantically 15fa3200 cmLocalGenerator: Factor out relative path conversion helpers 1879f1bc cmLocalCommonGenerator: Factor out relative path conversion helper 1d1d88d3 cmMakefileTargetGenerator: Clarify name of relative path conversion helper ec1ea130 cmDependsFortran: Simplify relative path conversion helper ba7b9398 cmStateDirectory: Rename ConvertToRelPathIf{Not => }Contained ... Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !6122
-