summaryrefslogtreecommitdiffstats
path: root/Source/cmInstallType.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2012-02-27 16:26:38 (GMT)
committerBrad King <brad.king@kitware.com>2012-02-27 18:19:57 (GMT)
commit573fa3bf136e5c780d3dd7e2dc692d52b3eba96d (patch)
tree532b26ed0e999b0c6a061d970abf37139a161588 /Source/cmInstallType.h
parentcffebe643c9002ee3411c8f293abdf7c23fc622c (diff)
downloadCMake-573fa3bf136e5c780d3dd7e2dc692d52b3eba96d.zip
CMake-573fa3bf136e5c780d3dd7e2dc692d52b3eba96d.tar.gz
CMake-573fa3bf136e5c780d3dd7e2dc692d52b3eba96d.tar.bz2
Factor cmInstallType out of cmTarget::TargetType
The purpose of the TargetType enumeration was overloaded for install type because install rules were once recorded as targets. Factor the install types out into their own enumeration.
Diffstat (limited to 'Source/cmInstallType.h')
-rw-r--r--Source/cmInstallType.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/Source/cmInstallType.h b/Source/cmInstallType.h
new file mode 100644
index 0000000..a837368
--- /dev/null
+++ b/Source/cmInstallType.h
@@ -0,0 +1,29 @@
+/*============================================================================
+ CMake - Cross Platform Makefile Generator
+ Copyright 2000-2012 Kitware, Inc., Insight Software Consortium
+
+ Distributed under the OSI-approved BSD License (the "License");
+ see accompanying file Copyright.txt for details.
+
+ This software is distributed WITHOUT ANY WARRANTY; without even the
+ implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ See the License for more information.
+============================================================================*/
+#ifndef cmInstallType_h
+#define cmInstallType_h
+
+/**
+ * Enumerate types known to file(INSTALL).
+ */
+enum cmInstallType
+{
+ cmInstallType_EXECUTABLE,
+ cmInstallType_STATIC_LIBRARY,
+ cmInstallType_SHARED_LIBRARY,
+ cmInstallType_MODULE_LIBRARY,
+ cmInstallType_FILES,
+ cmInstallType_PROGRAMS,
+ cmInstallType_DIRECTORY
+};
+
+#endif