diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2006-04-17 18:01:22 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2006-04-17 18:01:22 (GMT) |
commit | 5ecfd3d4d332e616605a75a273921b01437cb08f (patch) | |
tree | 9deb4e3debb729a631251a2935fc77fc3f9e4f59 /Source/cmMakefileLibraryTargetGenerator.cxx | |
parent | 0f8603acc2f007e68a1c41a48919fd1acfc41c20 (diff) | |
download | CMake-5ecfd3d4d332e616605a75a273921b01437cb08f.zip CMake-5ecfd3d4d332e616605a75a273921b01437cb08f.tar.gz CMake-5ecfd3d4d332e616605a75a273921b01437cb08f.tar.bz2 |
ENH: fix java and add OBJECT_DIR support
Diffstat (limited to 'Source/cmMakefileLibraryTargetGenerator.cxx')
-rw-r--r-- | Source/cmMakefileLibraryTargetGenerator.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmMakefileLibraryTargetGenerator.cxx b/Source/cmMakefileLibraryTargetGenerator.cxx index bf5d55c..9140d31 100644 --- a/Source/cmMakefileLibraryTargetGenerator.cxx +++ b/Source/cmMakefileLibraryTargetGenerator.cxx @@ -404,6 +404,10 @@ void cmMakefileLibraryTargetGenerator::WriteLibraryRules cmLocalGenerator::RuleVariables vars; vars.Language = linkLanguage; vars.Objects = buildObjs.c_str(); + std::string objdir = "CMakeFiles/"; + objdir += this->Target->GetName(); + objdir += ".dir"; + vars.ObjectDir = objdir.c_str(); vars.Target = targetOutPathReal.c_str(); std::string linkString = linklibs.str(); vars.LinkLibraries = linkString.c_str(); |