Просмотр исходного кода

STYLE: use correct case for cmGlobalUnixMakefileGenerator3
make export() work with spaces in the path

Alex

Alexander Neundorf 18 лет назад
Родитель
Сommit
7b917000aa

+ 2 - 2
Source/cmExportCommand.cxx

@@ -179,7 +179,7 @@ bool cmExportCommand
 
       fout << "SET_TARGET_PROPERTIES(" << this->Prefix.GetString().c_str()
                                  << currentTarget->c_str() << " PROPERTIES \n"
-        << "                      LOCATION " << target->GetLocation(0) << "\n";
+        <<"                      LOCATION \""<< target->GetLocation(0)<<"\"\n";
       for(std::vector<std::string>::const_iterator
           currentConfig = configurationTypes.begin();
           currentConfig != configurationTypes.end();
@@ -191,7 +191,7 @@ bool cmExportCommand
           if (loc && *loc)
             {
             fout << "                      " << currentConfig->c_str()
-                                                << "_LOCATION " << loc << "\n";
+                                            << "_LOCATION \'" << loc << "\"\n";
             }
           }
         }

+ 1 - 1
Source/cmGlobalMSYSMakefileGenerator.h

@@ -17,7 +17,7 @@
 #ifndef cmGlobalMSYSMakefileGenerator_h
 #define cmGlobalMSYSMakefileGenerator_h
 
-#include "cmGlobalUNIXMakefileGenerator3.h"
+#include "cmGlobalUnixMakefileGenerator3.h"
 
 /** \class cmGlobalMSYSMakefileGenerator
  * \brief Write a NMake makefiles.

+ 1 - 1
Source/cmGlobalMinGWMakefileGenerator.h

@@ -17,7 +17,7 @@
 #ifndef cmGlobalMinGWMakefileGenerator_h
 #define cmGlobalMinGWMakefileGenerator_h
 
-#include "cmGlobalUNIXMakefileGenerator3.h"
+#include "cmGlobalUnixMakefileGenerator3.h"
 
 /** \class cmGlobalMinGWMakefileGenerator
  * \brief Write a NMake makefiles.

+ 1 - 1
Source/cmGlobalNMakeMakefileGenerator.h

@@ -17,7 +17,7 @@
 #ifndef cmGlobalNMakeMakefileGenerator_h
 #define cmGlobalNMakeMakefileGenerator_h
 
-#include "cmGlobalUNIXMakefileGenerator3.h"
+#include "cmGlobalUnixMakefileGenerator3.h"
 
 /** \class cmGlobalNMakeMakefileGenerator
  * \brief Write a NMake makefiles.

+ 1 - 1
Source/cmGlobalWatcomWMakeGenerator.h

@@ -17,7 +17,7 @@
 #ifndef cmGlobalWatcomWMakeGenerator_h
 #define cmGlobalWatcomWMakeGenerator_h
 
-#include "cmGlobalUNIXMakefileGenerator3.h"
+#include "cmGlobalUnixMakefileGenerator3.h"
 
 /** \class cmGlobalWatcomWMakeGenerator
  * \brief Write a NMake makefiles.