Browse Source

Fix minor typos.

nothe -> note
than -> that
duplicat -> duplicate
directory -> directly
Wipe wipe -> Wipe
Stephen Kelly 13 years ago
parent
commit
50b1ea5bed
3 changed files with 5 additions and 5 deletions
  1. 1 1
      Source/cmGlobalGenerator.cxx
  2. 2 2
      Source/cmTarget.cxx
  3. 2 2
      Source/cmTargetLinkLibrariesCommand.cxx

+ 1 - 1
Source/cmGlobalGenerator.cxx

@@ -893,7 +893,7 @@ bool cmGlobalGenerator::CheckALLOW_DUPLICATE_CUSTOM_TARGETS()
     << "The \"" << this->GetName() << "\" generator does not support "
     << "duplicate custom targets.  "
     << "Consider using a Makefiles generator or fix the project to not "
-    << "use duplicat target names.";
+    << "use duplicate target names.";
   cmSystemTools::Error(e.str().c_str());
   return false;
 }

+ 2 - 2
Source/cmTarget.cxx

@@ -2301,7 +2301,7 @@ void cmTarget::Emit(const LibraryID lib,
       // be preserved.
 
       // This variable will keep track of the libraries that were
-      // emitted directory from the current node, and not from a
+      // emitted directly from the current node, and not from a
       // recursive call. This way, if we come across a library that
       // has already been emitted, we repeat it iff it has been
       // emitted here.
@@ -2419,7 +2419,7 @@ void cmTarget::AppendProperty(const char* prop, const char* value,
 //----------------------------------------------------------------------------
 void cmTarget::MaybeInvalidatePropertyCache(const char* prop)
 {
-  // Wipe wipe out maps caching information affected by this property.
+  // Wipe out maps caching information affected by this property.
   if(this->IsImported() && strncmp(prop, "IMPORTED", 8) == 0)
     {
     this->Internal->ImportInfoMap.clear();

+ 2 - 2
Source/cmTargetLinkLibrariesCommand.cxx

@@ -108,8 +108,8 @@ bool cmTargetLinkLibrariesCommand
   // specification if the keyword is encountered as the first argument.
   this->CurrentProcessingState = ProcessingLinkLibraries;
 
-  // add libraries, nothe that there is an optional prefix
-  // of debug and optimized than can be used
+  // add libraries, note that there is an optional prefix
+  // of debug and optimized that can be used
   for(unsigned int i=1; i < args.size(); ++i)
     {
     if(args[i] == "LINK_INTERFACE_LIBRARIES")