diff options
author | Kyle Edwards <kyle.edwards@kitware.com> | 2020-10-02 18:25:30 (GMT) |
---|---|---|
committer | Kyle Edwards <kyle.edwards@kitware.com> | 2020-10-13 14:18:02 (GMT) |
commit | b2c14bc7749c21b8a994ce1d9f4e736f712481b9 (patch) | |
tree | f57dd0db191b09e773e0de91072d72a053ec639c /Source/cmTransformDepfile.h | |
parent | 946adadd404a160b708e96e668be9b84c949de69 (diff) | |
download | CMake-b2c14bc7749c21b8a994ce1d9f4e736f712481b9.zip CMake-b2c14bc7749c21b8a994ce1d9f4e736f712481b9.tar.gz CMake-b2c14bc7749c21b8a994ce1d9f4e736f712481b9.tar.bz2 |
cmake -E: Add cmake_transform_depfile internal command
Diffstat (limited to 'Source/cmTransformDepfile.h')
-rw-r--r-- | Source/cmTransformDepfile.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/Source/cmTransformDepfile.h b/Source/cmTransformDepfile.h new file mode 100644 index 0000000..792c1aa --- /dev/null +++ b/Source/cmTransformDepfile.h @@ -0,0 +1,14 @@ +/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying + file Copyright.txt or https://cmake.org/licensing for details. */ +#pragma once + +#include <string> + +enum class cmDepfileFormat +{ + GccDepfile, + VsTlog, +}; + +bool cmTransformDepfile(cmDepfileFormat format, const std::string& prefix, + const std::string& infile, const std::string& outfile); |