cmMakefile: Extract utilities used for creation of custom commands

Decompose creation of custom commands further into logical steps.
This commit is contained in:
Daniel Eiband
2019-09-21 00:55:34 +02:00
committed by Brad King
parent 91abf9f3c4
commit ea1bed34b2
3 changed files with 192 additions and 130 deletions

View File

@@ -5,6 +5,8 @@
#include "cmConfigure.h" // IWYU pragma: keep
#include <string>
/** Target custom command type */
enum class cmCustomCommandType
{
@@ -27,4 +29,11 @@ enum class cmObjectLibraryCommands
Accept
};
/** Utility target output source file name. */
struct cmUtilityOutput
{
std::string Name;
std::string NameCMP0049;
};
#endif