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/cmUnixMakefile.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/cmUnixMakefile.cxx')
-rw-r--r-- | Source/cmUnixMakefile.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmUnixMakefile.cxx b/Source/cmUnixMakefile.cxx index 83f215c..1cac1a1 100644 --- a/Source/cmUnixMakefile.cxx +++ b/Source/cmUnixMakefile.cxx @@ -1,4 +1,5 @@ #include "cmUnixMakefile.h" +#include "cmSystemTools.h" #include <fstream> #include <iostream> @@ -143,6 +144,9 @@ void cmUnixMakefile::OutputMakefile(const char* file) linkLibs += " "; } linkLibs += " ${LOCAL_LINK_FLAGS} "; + cmSystemTools::ReplaceString(linkLibs, "${CMAKE_BINARY_DIR}", + this->GetOutputHomeDirectory() ); + cout << "link libs = " << linkLibs.c_str() << endl; // Now create rules for all of the executables to be built for(int i = 0; i < m_Classes.size(); i++) { |