diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2000-09-18 13:19:38 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2000-09-18 13:19:38 (GMT) |
commit | 283d3a0b734750a3bddfda9569894639571cf567 (patch) | |
tree | ac2ab120894feb883aeb5dce12a3e1af911c9bc4 /Source/cmDSPWriter.cxx | |
parent | 38f5ab8527a20caa7b7a2b867a1596ac05321e6b (diff) | |
download | CMake-283d3a0b734750a3bddfda9569894639571cf567.zip CMake-283d3a0b734750a3bddfda9569894639571cf567.tar.gz CMake-283d3a0b734750a3bddfda9569894639571cf567.tar.bz2 |
ENH: added a config setup file for CMakeSetup. Cleaned up the names of the source and binary directories
Diffstat (limited to 'Source/cmDSPWriter.cxx')
-rw-r--r-- | Source/cmDSPWriter.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmDSPWriter.cxx b/Source/cmDSPWriter.cxx index 34625cd..3fa6c06 100644 --- a/Source/cmDSPWriter.cxx +++ b/Source/cmDSPWriter.cxx @@ -21,9 +21,9 @@ void cmDSPMakefile::OutputDSPFile() for(i = includes.begin(); i != includes.end(); ++i) { std::string include = *i; - cmSystemTools::ReplaceString(include, "${CMAKE_CONFIG_DIR}", + cmSystemTools::ReplaceString(include, "${CMAKE_BINARY_DIR}", this->GetOutputHomeDirectory() ); - cmSystemTools::ReplaceString(include, "${srcdir}", + cmSystemTools::ReplaceString(include, "${CMAKE_SOURCE_ROOT}", this->GetHomeDirectory() ); m_IncludeOptions += "/I \""; m_IncludeOptions += include; @@ -48,7 +48,7 @@ void cmDSPMakefile::OutputDSPFile() { m_DebugLibraryOptions += " /LIBPATH:\""; m_DebugLibraryOptions += *i; - cmSystemTools::ReplaceString(m_DebugLibraryOptions, "${CMAKE_CONFIG_DIR}", + cmSystemTools::ReplaceString(m_DebugLibraryOptions, "${CMAKE_BINARY_DIR}", this->GetOutputHomeDirectory() ); if(i->find("Debug") == std::string::npos) { |