diff options
author | Brad King <brad.king@kitware.com> | 2019-09-26 13:47:41 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2019-09-26 13:47:51 (GMT) |
commit | df982c4e189c01896db487ec5edfe85d27911007 (patch) | |
tree | fa4cc82d4a051321e7b3b14c130c8d6d45f9f63d /Source/cmCheckCustomOutputs.h | |
parent | 5fa625d611414ac567fd7a6bb5b3b416ea93eca2 (diff) | |
parent | fd3a39461457540157ea9bee2f9ea7620dfd1c7f (diff) | |
download | CMake-df982c4e189c01896db487ec5edfe85d27911007.zip CMake-df982c4e189c01896db487ec5edfe85d27911007.tar.gz CMake-df982c4e189c01896db487ec5edfe85d27911007.tar.bz2 |
Merge topic 'add-custom-target-byproduct-checks'
fd3a394614 add_custom_command: Format files in error message in a single line
a1cc6b4447 add_custom_target: Add output checks for custom target byproducts
cbb861ade8 add_custom_command: Add tests for custom command output checks
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3850
Diffstat (limited to 'Source/cmCheckCustomOutputs.h')
-rw-r--r-- | Source/cmCheckCustomOutputs.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Source/cmCheckCustomOutputs.h b/Source/cmCheckCustomOutputs.h new file mode 100644 index 0000000..7c4b3fe --- /dev/null +++ b/Source/cmCheckCustomOutputs.h @@ -0,0 +1,18 @@ +/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying + file Copyright.txt or https://cmake.org/licensing for details. */ +#ifndef cmCheckCustomOutputs_h +#define cmCheckCustomOutputs_h + +#include "cmConfigure.h" // IWYU pragma: keep + +#include <cm/string_view> + +#include <string> +#include <vector> + +class cmExecutionStatus; + +bool cmCheckCustomOutputs(const std::vector<std::string>& outputs, + cm::string_view keyword, cmExecutionStatus& status); + +#endif |