summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuis Ibanez <luis.ibanez@kitware.com>2001-12-11 07:17:53 (GMT)
committerLuis Ibanez <luis.ibanez@kitware.com>2001-12-11 07:17:53 (GMT)
commitbf7470be7c454c9e3ee874a89b720e16beb38e8a (patch)
tree3d1372b5dde2c32e04ac4c15e16cc6723b0e0fd6
parente3fa722b44bcb24b415b3233bbac53bfde8ff4c8 (diff)
downloadCMake-bf7470be7c454c9e3ee874a89b720e16beb38e8a.zip
CMake-bf7470be7c454c9e3ee874a89b720e16beb38e8a.tar.gz
CMake-bf7470be7c454c9e3ee874a89b720e16beb38e8a.tar.bz2
FIX: GENERATED_CODE type is no longer needed: generated code is not a Target.
-rw-r--r--Source/cmTarget.h2
-rw-r--r--Source/cmUnixMakefileGenerator.cxx2
2 files changed, 1 insertions, 3 deletions
diff --git a/Source/cmTarget.h b/Source/cmTarget.h
index 2e5e216..4ee1447 100644
--- a/Source/cmTarget.h
+++ b/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.
diff --git a/Source/cmUnixMakefileGenerator.cxx b/Source/cmUnixMakefileGenerator.cxx
index e385b04..56c0aaf 100644
--- a/Source/cmUnixMakefileGenerator.cxx
+++ b/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;
}
}