summaryrefslogtreecommitdiffstats
path: root/Source/cmCheckCustomOutputs.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-09-26 13:47:41 (GMT)
committerKitware Robot <kwrobot@kitware.com>2019-09-26 13:47:51 (GMT)
commitdf982c4e189c01896db487ec5edfe85d27911007 (patch)
treefa4cc82d4a051321e7b3b14c130c8d6d45f9f63d /Source/cmCheckCustomOutputs.h
parent5fa625d611414ac567fd7a6bb5b3b416ea93eca2 (diff)
parentfd3a39461457540157ea9bee2f9ea7620dfd1c7f (diff)
downloadCMake-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.h18
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