| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Combine iteration with `cmLocalVisualStudio10Generator` and dispatch
generation of each target with a virtual `GenerateTarget` method.
|
|
|
|
|
| |
Replace our own depth-first traversal with use of the global generator's
computed target order that respects dependencies.
|
|
|
|
|
| |
Use the globally computed target ordering so that we generate all
of a target's dependencies before generating the target itself.
|
|
|
|
|
| |
Use the globally computed target ordering so that we generate all
of a target's dependencies before generating the target itself.
|
|
|
|
|
| |
Use the globally computed target ordering so that we generate all
of a target's dependencies before generating the target itself.
|
|
|
|
|
| |
Move this up from `cmGlobalXCodeGenerator`. It will be useful for all
generators.
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
5585e8575b Help: Add note about #pragma once
407afc0f91 Bootstrap: Use #pragma once in cmThirdParty.h
aa7bce8495 Utilities/Scripts: Remove temporary #pragma once conversion script
bdca8b01d2 Modernize: Use #pragma once in all header files
093ba4061d Utilities/Scripts: Add temporary #pragma once conversion script
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Raul Tambre <raul@tambre.ee>
Merge-request: !5171
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
#pragma once is a widely supported compiler pragma, even though it is
not part of the C++ standard. Many of the issues keeping #pragma once
from being standardized (distributed filesystems, build farms, hard
links, etc.) do not apply to CMake - it is easy to build CMake on a
single machine. CMake also does not install any header files which can
be consumed by other projects (though cmCPluginAPI.h has been
deliberately omitted from this conversion in case anyone is still using
it.) Finally, #pragma once has been required to build CMake since at
least August 2017 (7f29bbe6 enabled server mode unconditionally, which
had been using #pragma once since September 2016 (b13d3e0d)). The fact
that we now require C++11 filters out old compilers, and it is unlikely
that there is a compiler which supports C++11 but does not support
#pragma once.
|
| | |
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
bbfdbe25a1 Improve the stability of the ExternalProject download tests
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5183
|
| | | |
|
| |/
|/| |
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
11425041f0 cmMakefile::GetDefinition: return cmProp
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5179
|
| | | |
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
76cc687e98 Fortran: Initialize Fortran_VISIBILITY_PRESET property from variable
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5182
|
| | |/
| |/|
| | |
| | |
| | | |
The `CMAKE_Fortran_VISIBILITY_PRESET` variable is documented to
initialize the property. Fix it.
|
|\ \ \ |
|
| |\ \ \
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
a9fd3a107d Ninja Multi-Config: Fix dependencies of utility targets
f1199bdc96 Ninja Multi-Config: Fix cleaning of utility targets with commands
657047cd24 Ninja Multi-Config: Fix clean:all target
c35d1927a5 Tests: Pass additional Qt information to Ninja and NMC tests
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5177
|
|\ \ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
2a6471dd7b Merge branch 'master' into ninja-multi-automoc-regression
a9fd3a107d Ninja Multi-Config: Fix dependencies of utility targets
f1199bdc96 Ninja Multi-Config: Fix cleaning of utility targets with commands
657047cd24 Ninja Multi-Config: Fix clean:all target
c35d1927a5 Tests: Pass additional Qt information to Ninja and NMC tests
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5177
|
| |\ \ \ \ \
| | |_|/ / /
| |/| | / /
| | | |/ /
| | |/| | |
|
| | | | |
| | | | |
| | | | |
| | | | | |
Fixes: #21118
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
|\ \ \ \ \
| | |_|/ /
| |/| | | |
|
| |\ \ \ \
| | |/ / /
| |/| | |
| | | | |
| | | | |
| | | | |
| | | | | |
6fdfe2428d FindPython: enhance ABI checks against include directory
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5181
|
|\ \ \ \ \
| | |/ / /
| |/| | |
| | | | |
| | | | |
| | | | |
| | | | | |
6fdfe2428d FindPython: enhance ABI checks against include directory
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5181
|
| |/ / /
| | | |
| | | |
| | | | |
Fixes: #21149
|
| |/ /
|/| | |
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
e33f8f078a Xcode: Avoid unnecessary duplication of custom commands across targets
8c60c49ae2 Xcode: Refactor custom command dependency expansion
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5176
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Do not attach a custom command to a target if it is already attached to one of
the target's dependencies. The command's output will be available by the time
the target needs it because the dependency containing the command will have
already been built.
Since commit fb45559e09 (Xcode: Process targets in depth-first order during
generation, 2018-07-19, v3.13.0-rc1~293^2) we generate a target only after
generating its dependencies. Therefore when visiting the custom commands in a
target, we can assume that custom commands in its dependencies have already
been visited.
|
| | | |
| | | |
| | | |
| | | | |
Compute and store the "real" dependencies earlier.
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
d1688ff300 Tests: Tell Xcode to disallow signing altogether in relevant cases
266f97315b Tests: Update RunCMake.CommandLine to avoid duplicate custom commands
7678fcd577 Tests: Remove workaround from RunCMake.ExternalProject MultiCommand case
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5174
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
The Xcode 'new build system' rejects empty signing identities unless
signing is explicitly marked as not allowed. Update test cases where we
turn off signing to explicitly disallow it too.
Also turn off signing in the XCTest test.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This test does not need to have the same custom command output generated
by multiple independent targets. Revise the test to avoid that.
|
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | | |
Since commit 7249ba9677 (ExternalProject: Enforce that patch depends on update,
2020-04-03, v3.18.0-rc1~403^2) we do not need the workaround in the
MultiCommand case.
|
|\ \ \ \
| |_|_|/
|/| | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
fa7ba5fbf5 ARMClang: Pass defines to assembler
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Osama Moharam <osama.moharam.uw@renesas.com>
Acked-by: Martin Kojtal <martin.kojtal@arm.com>
Merge-request: !5175
|
| |/ /
| | |
| | |
| | |
| | | |
This is useful when the assembly file(s) is passed to
the pre-processor.
|
|/ / |
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
f14b390198 GenEx: Remove unneeded dependencies from target info queries
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Raul Tambre <raul@tambre.ee>
Merge-request: !5127
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Only generate a graph dependency between a custom command and
a target when the custom command queries for the file path
of an artifact of the target.
This makes generator expressions such as `TARGET_FILE_DIR`
behave the same way as `TARGET_PROPERTY` which never generated
a graph dependency.
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
525464ed2a Xcode: Use "Link Binary With Libraries" build phase in some cases
dc0898205c Xcode: Add special case for file type extension map for .xcassets
7b3d8411a2 Xcode: Refactor build setting append code and attribute getter naming
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5036
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
OBJECT and STATIC libraries (framework or non-framework) do not use
this build phase. Not all items to be linked use this build phase either.
Co-Authored-By: Craig Scott <craig.scott@crascit.com>
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
Support both STRING and OBJECT_LIST types in build setting attributes and make it possible to mix them
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
01428c5560 CUDA: Fail fast if CMAKE_CUDA_ARCHITECTURES doesn't work during detection
9f81aa0f69 CUDA: Fail if compiler detection using the host compiler fails
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5155
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Also re-ordered the code to avoid testing flags for other compilers, since
we know the vendor before full detection.
|