Преглед изворни кода

cmTargetLinkLibraryType: Extract from cmStandardIncludes.h

Daniel Pfeifer пре 9 година
родитељ
комит
1c2c629769
2 измењених фајлова са 23 додато и 7 уклоњено
  1. 1 7
      Source/cmStandardIncludes.h
  2. 22 0
      Source/cmTargetLinkLibraryType.h

+ 1 - 7
Source/cmStandardIncludes.h

@@ -57,13 +57,7 @@ extern void operator<<(std::ostream&, const std::ostringstream&);
 
 #include "cmCustomCommandLines.h"
 #include "cmDocumentationEntry.h"
+#include "cmTargetLinkLibraryType.h"
 #include "cmTypeMacro.h"
 
-enum cmTargetLinkLibraryType
-{
-  GENERAL_LibraryType,
-  DEBUG_LibraryType,
-  OPTIMIZED_LibraryType
-};
-
 #endif

+ 22 - 0
Source/cmTargetLinkLibraryType.h

@@ -0,0 +1,22 @@
+/*============================================================================
+  CMake - Cross Platform Makefile Generator
+  Copyright 2000-2009 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 cmTargetLinkLibraryType_h
+#define cmTargetLinkLibraryType_h
+
+enum cmTargetLinkLibraryType
+{
+  GENERAL_LibraryType,
+  DEBUG_LibraryType,
+  OPTIMIZED_LibraryType
+};
+
+#endif