From 7b917000aa6ac9e1b999cace4fad33fe5267feca Mon Sep 17 00:00:00 2001 From: Alexander Neundorf Date: Thu, 9 Aug 2007 15:57:30 -0400 Subject: STYLE: use correct case for cmGlobalUnixMakefileGenerator3 make export() work with spaces in the path Alex --- Source/cmExportCommand.cxx | 4 ++-- Source/cmGlobalMSYSMakefileGenerator.h | 2 +- Source/cmGlobalMinGWMakefileGenerator.h | 2 +- Source/cmGlobalNMakeMakefileGenerator.h | 2 +- Source/cmGlobalWatcomWMakeGenerator.h | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Source/cmExportCommand.cxx b/Source/cmExportCommand.cxx index 5d98547..a00dcf0 100644 --- a/Source/cmExportCommand.cxx +++ b/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::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"; } } } diff --git a/Source/cmGlobalMSYSMakefileGenerator.h b/Source/cmGlobalMSYSMakefileGenerator.h index cdedb3b..c69ed1e 100644 --- a/Source/cmGlobalMSYSMakefileGenerator.h +++ b/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. diff --git a/Source/cmGlobalMinGWMakefileGenerator.h b/Source/cmGlobalMinGWMakefileGenerator.h index 8af3d34..38fedfe 100644 --- a/Source/cmGlobalMinGWMakefileGenerator.h +++ b/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. diff --git a/Source/cmGlobalNMakeMakefileGenerator.h b/Source/cmGlobalNMakeMakefileGenerator.h index efdd3f6..0df87ee 100644 --- a/Source/cmGlobalNMakeMakefileGenerator.h +++ b/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. diff --git a/Source/cmGlobalWatcomWMakeGenerator.h b/Source/cmGlobalWatcomWMakeGenerator.h index 92dacb6..169b106 100644 --- a/Source/cmGlobalWatcomWMakeGenerator.h +++ b/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. -- cgit v0.12