From bf7470be7c454c9e3ee874a89b720e16beb38e8a Mon Sep 17 00:00:00 2001 From: Luis Ibanez Date: Tue, 11 Dec 2001 02:17:53 -0500 Subject: FIX: GENERATED_CODE type is no longer needed: generated code is not a Target. --- Source/cmTarget.h | 2 +- Source/cmUnixMakefileGenerator.cxx | 2 -- 2 files changed, 1 insertion(+), 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; } } -- cgit v0.12