Browse Source

FIX: GENERATED_CODE type is no longer needed: generated code is not a Target.

Luis Ibanez 24 years ago
parent
commit
bf7470be7c
2 changed files with 1 additions and 3 deletions
  1. 1 1
      Source/cmTarget.h
  2. 0 2
      Source/cmUnixMakefileGenerator.cxx

+ 1 - 1
Source/cmTarget.h

@@ -56,7 +56,7 @@ class cmTarget
 public:
   enum TargetType { EXECUTABLE, WIN32_EXECUTABLE, STATIC_LIBRARY,
                     SHARED_LIBRARY, MODULE_LIBRARY, UTILITY, INSTALL_FILES, 
-                    INSTALL_PROGRAMS, GENERATED_CODE };
+                    INSTALL_PROGRAMS };
 
   /**
    * Return the type of target.

+ 0 - 2
Source/cmUnixMakefileGenerator.cxx

@@ -739,8 +739,6 @@ void cmUnixMakefileGenerator::OutputTargets(std::ostream& fout)
         // This is handled by the OutputInstallRules method
       case cmTarget::INSTALL_PROGRAMS:
         // This is handled by the OutputInstallRules method
-      case cmTarget::GENERATED_CODE:
-        // This is handled by the CustomCommands
 	break;
       }
     }