| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
c96f43b7 include_guard: add tests for the feature
80f1221f include_guard: add doc pages and a release note
85b52a04 include_guard: add vim syntax highlighting rules
d44bd1c2 include_guard: implement new command
Acked-by: Kitware Robot <kwrobot@kitware.com>
Reviewed-by: Craig Scott <craig.scott@crascit.com>
Merge-request: !928
|
| | |
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
ec409a11 Vs: fix CSharp custom command by introducing inline MSBuild <Targets>s
dcdab5cf Vs: factor out computation of <Link> tag for CSharp source files
0a8f469a Vs: refactor WriteCustomRule for preparation of CSharp support
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !970
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The custom command implementation is based on the Microsoft support article:
https://docs.microsoft.com/en-us/visualstudio/msbuild/how-to-extend-the-visual-studio-build-process
Fixes: #16960
|
|\ \ \
| |/ /
|/| |
| | |
| | |
| | |
| | |
| | | |
e03a1b3b target_compile_features: Do not crash on non-enabled language
86990427 Tests: Enable languages explicitly in RunCMake.target_compile_features
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1010
|
| | |
| | |
| | |
| | | |
Fixes: #17011
|
| | |
| | |
| | |
| | |
| | | |
Enable C or CXX (or nothing) as needed in each test case.
This will allow us to add test cases that do not enable CXX.
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
c90630c5 Vs: add support for VS_CSHARP_* target property for additional file extensions
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !961
|
| | |/
| |/|
| | |
| | | |
Fixes: #16726
|
|\ \ \
| | |/
| |/|
| | |
| | |
| | |
| | | |
ba247cca IPO: Consider support for each language separately
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !964
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
We only define `INTERPROCEDURAL_OPTIMIZATION` behavior for C, CXX, and
Fortran languages. Do not try to enable support for other languages.
Furthermore, each language builds with a different compiler, so check
for support by CMake and the compiler for each language independently.
Fixes: #16944
|
| |/
|/|
| |
| | |
Fixes: #16689
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
d6051ca3 execute_process: Add option to get results of every child
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !702
|
| |/
| |
| |
| |
| | |
Add a `RESULTS_VARIABLE` option to get the results of all children
in a pipeline of one or more `COMMAND`s.
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
414438b2 CUDA: Add option to run the compiler through launcher tools
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !949
|
| |/
| |
| |
| |
| |
| |
| |
| | |
Add a `CUDA_COMPILER_LAUNCHER` target property like those added for C
and CXX by commit v3.4.0-rc1~450^2 (Add options to launch the compiler
through tools like ccache or distcc, 2015-06-04).
Fixes: #16953
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Previously `file(GENERATE)` did not define any behavior for relative
paths given to the `OUTPUT` or `INPUT` arguments. Define behavior
consistent with CMake conventions and add a policy to provide
compatibility for projects that relied on the old accidental behavior.
Fixes: #16786
|
|/
|
|
|
| |
We don't define behavior for relative paths to the OUTPUT argument.
Fix our tests to use full paths.
|
|\
| |
| |
| |
| |
| |
| | |
913736f1 Tests: Fix RunCMake.GNUInstallDirs on BSD platforms
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !921
|
| |
| |
| |
| |
| |
| |
| | |
The `GNUInstallDirs` module has different defaults on BSD platforms.
Update the test expected output to account for the difference.
Fixes: #16887
|
|/ |
|
|\
| |
| |
| |
| |
| |
| | |
ab358d6a Improve find_dependency argument handling
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !872
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Remove highly specialized and totally positional argument handling in
find_dependency macro, and instead just pass arguments through to
find_package. This gives users access to the full suite of arguments
that find_package knows, and is backward compatible with the old
arguments.
Also, rewrite the unit tests for this, since the old tests are
exclusively focused on testing the old argument handling and are no
longer applicable, and add some success tests (the old tests did not
even set up the CMake state in a way that CMake had any hope of ever
finding the test package).
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
d0b9d1cc find_package: shorten output for missing package in config mode
d9df805f cmFindPackageCommand: Split condition to improve readability
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !851
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
If CONFIG or MODULE is given and the package is not REQUIRED,
output a one-liner instead of the full warning.
Update Tests/RunCMake/find_package expected output to match.
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
fe8f08d2 find_*: Add docs for PackageRoot search path group
57744ca9 find_*: Add tests for PackageRoot search path group
ef3d360a find_*: Add a new PackageRoot search path group
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !796
|
| | | | |
|
|\ \ \ \
| |_|_|/
|/| | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
87a37e64 cmComputeTargetDepends: Avoid nested loops over configurations
5a913794 cmComputeTargetDepends: Avoid computing with empty configuration
70c65572 Tests: Fix RunCMake.CMP0022 tll case for Debug configuration
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !865
|
| | |/
| |/|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The `CMP0022-WARN-tll` case overrides legacy properties set by
`target_link_libraries` so that we can verify that the policy
warning is emitted. When building in the Debug configuration,
the `_DEBUG` variant of the legacy property is set/checked too.
Fix the test case to override both variants. Previously it only
passed because `cmComputeTargetDepends::AddInterfaceDepends`
always evaluated dependencies with the "" configuration.
|
|/ /
| |
| |
| |
| |
| | |
Support for setting archive packager specific
per component filenames and monolithic package
filenames.
|
| | |
|
|/ |
|
|\
| |
| |
| |
| |
| |
| | |
5e0e03d9 Ninja: Fix command concatenation on Windows
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !801
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Put commands that contain `||` into brackets to avoid early abort of
execution by `cmd.exe` because `||` has higher precedence than `&&` in
`cmd.exe`.
Add test to check for command execution after `||` as part of a
parameter and as command separator.
Fixes: #16850
|
| |
| |
| |
| |
| | |
While at it, replace `\n` in with a real newline because such escape
sequences are not processed in this context.
|
|\ \
| |/
|/|
| |
| |
| |
| | |
1a7d00bd ctest_submit: Add HTTPHEADER option
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !793
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Allow CTest script writers to specify additional HTTP headers to be sent
to CDash during submission.
The motivating case for this feature is a corresponding change in CDash.
This will allow projects to refuse submissions from any site not bearing
a valid authentication token.
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
7e75568b Xcode: Support IPO (LTO)
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !785
|
| | | |
|
|\ \ \
| |/ /
|/| |
| | |
| | |
| | |
| | | |
c1b2b7c0 Add ctest options for limiting which tests fixtures add
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !778
|
| | |
| | |
| | |
| | |
| | | |
The new options allow the user to restrict the setup and cleanup tests
automatically added for fixtures.
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
28d83837 separgs: Use NATIVE_COMMAND where appropriate
2a207aac separgs: Add a NATIVE_COMMAND mode
81841426 separgs: Migrate tests to RunCMake tests
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !753
|
| | | | |
|
| | | | |
|
|\ \ \ \
| |_|/ /
|/| | |
| | | |
| | | |
| | | |
| | | | |
afb21342 bindexplib: fix constants symbols export
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !763
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
f4c23ee2 Tests: Add case for install(FILES) with TARGET_OBJECTS
d272c4d5 Tests: Generalize RunCMake.install internal infrastructure
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !769
|
| | | | | |
|
| | |/ /
| |/| |
| | | |
| | | | |
Allow `run_install_test` to be used for simpler cases.
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
434f5cef Tests: Add case for IMPLICIT_DEPENDS in custom target
6d1be6e3 Tests: Split RunCMake.BuildDepends make-only condition
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !766
|