diff options
author | Daniel Eiband <daniel.eiband@brainlab.com> | 2019-09-23 22:18:36 +0200 |
---|---|---|
committer | Daniel Eiband <daniel.eiband@brainlab.com> | 2019-09-23 22:18:36 +0200 |
commit | a1cc6b4447787b84777fdf9a860e8c39f0f4a090 (patch) | |
tree | 2c6bda9df6651b5732f6eef005333c15a3d07d65 /Source/cmCheckCustomOutputs.h | |
parent | cbb861ade85e3b7e550bb1f150513b237efc1f02 (diff) | |
download | cmake-a1cc6b4447787b84777fdf9a860e8c39f0f4a090.tar.gz |
add_custom_target: Add output checks for custom target byproducts
Use the output checks for byproducts of add_custom_command also for byproducts
of add_custom_target.
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 0000000000..7c4b3fecc2 --- /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 |