summaryrefslogtreecommitdiffstats
path: root/Source/cmUnixMakefile.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2000-09-18 13:19:38 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2000-09-18 13:19:38 (GMT)
commit283d3a0b734750a3bddfda9569894639571cf567 (patch)
treeac2ab120894feb883aeb5dce12a3e1af911c9bc4 /Source/cmUnixMakefile.cxx
parent38f5ab8527a20caa7b7a2b867a1596ac05321e6b (diff)
downloadCMake-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.cxx4
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++)
{