1
0
mirror of https://github.com/Kitware/CMake.git synced 2025-06-03 20:44:19 +08:00
CMake/Source/cmCustomCommandTypes.h
Daniel Eiband f151a57705 cmMakefile: Move enumerations into new header
The enumerations will also be used in cmLocalGenerator.
2019-09-26 10:02:06 -04:00

31 lines
590 B
C

/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
file Copyright.txt or https://cmake.org/licensing for details. */
#ifndef cmCustomCommandTypes_h
#define cmCustomCommandTypes_h
#include "cmConfigure.h" // IWYU pragma: keep
/** Target custom command type */
enum class cmCustomCommandType
{
PRE_BUILD,
PRE_LINK,
POST_BUILD
};
/** Where the command originated from. */
enum class cmCommandOrigin
{
Project,
Generator
};
/** How to handle custom commands for object libraries */
enum class cmObjectLibraryCommands
{
Reject,
Accept
};
#endif