diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2002-02-22 18:38:33 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2002-02-22 18:38:33 (GMT) |
commit | 8c3400dc6b61cc8bd524ca4f53dc0ef2d6eb6ef1 (patch) | |
tree | baae2486eb444d3d7667aca67ff499a22f27e6f6 /Source/cmUnixMakefileGenerator.h | |
parent | bfcf4b02bfa344c335f86ee6734b1d6c651a93ad (diff) | |
download | CMake-8c3400dc6b61cc8bd524ca4f53dc0ef2d6eb6ef1.zip CMake-8c3400dc6b61cc8bd524ca4f53dc0ef2d6eb6ef1.tar.gz CMake-8c3400dc6b61cc8bd524ca4f53dc0ef2d6eb6ef1.tar.bz2 |
ENH: big change in the path handling, one function CreateOutputPath is used to escape spaces and convert to the native path type
Diffstat (limited to 'Source/cmUnixMakefileGenerator.h')
-rw-r--r-- | Source/cmUnixMakefileGenerator.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Source/cmUnixMakefileGenerator.h b/Source/cmUnixMakefileGenerator.h index 5a73de8..68d3cda 100644 --- a/Source/cmUnixMakefileGenerator.h +++ b/Source/cmUnixMakefileGenerator.h @@ -153,7 +153,10 @@ protected: void SetStaticLibraryExtension(const char* e) {m_StaticLibraryExtension = e;} void SetSharedLibraryExtension(const char* e) {m_SharedLibraryExtension = e;} void SetLibraryPrefix(const char* e) { m_LibraryPrefix = e;} - virtual std::string ConvertToNativePath(const char* s) { return s; } + // convert a path to an output path for unix this will call + // ConvertToUnixOutputPath + virtual std::string ConvertToOutputPath(const char* s) + { return cmSystemTools::ConvertToOutputPath(s); } std::string CreateTargetRules(const cmTarget &target, const char* targetName); virtual std::string CreateMakeVariable(const char* s, const char* s2) |