diff options
author | Ken Martin <ken.martin@kitware.com> | 2001-04-30 14:44:00 (GMT) |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2001-04-30 14:44:00 (GMT) |
commit | 2da0c57d46d5b68e19b60c4e6560fbd80f808ab0 (patch) | |
tree | 92bda106078e740b25b5d3922a89db1a6f6a996b /Source/cmDSPWriter.cxx | |
parent | 13143f51d2f7096efc90624045f2b9ae26cc1fcd (diff) | |
download | CMake-2da0c57d46d5b68e19b60c4e6560fbd80f808ab0.zip CMake-2da0c57d46d5b68e19b60c4e6560fbd80f808ab0.tar.gz CMake-2da0c57d46d5b68e19b60c4e6560fbd80f808ab0.tar.bz2 |
added TARGET_LINK_LIBRARY command and support for debug and release libraries to link against
Diffstat (limited to 'Source/cmDSPWriter.cxx')
-rw-r--r-- | Source/cmDSPWriter.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Source/cmDSPWriter.cxx b/Source/cmDSPWriter.cxx index 5b4073c..104e621 100644 --- a/Source/cmDSPWriter.cxx +++ b/Source/cmDSPWriter.cxx @@ -415,8 +415,8 @@ void cmDSPMakefile::WriteDSPHeader(std::ostream& fout, const char *libName, libOptions += "\" "; } // find link libraries - cmMakefile::LinkLibraries& libs = m_Makefile->GetLinkLibraries(); - cmMakefile::LinkLibraries::const_iterator j; + const cmTarget::LinkLibraries& libs = target.GetLinkLibraries(); + cmTarget::LinkLibraries::const_iterator j; for(j = libs.begin(); j != libs.end(); ++j) { // add libraries to executables and dlls (but never include @@ -424,19 +424,19 @@ void cmDSPMakefile::WriteDSPHeader(std::ostream& fout, const char *libName, if (!target.IsALibrary() || (m_LibraryBuildType == DLL && libName != j->first)) { - if (j->second == cmMakefile::GENERAL) + if (j->second == cmTarget::GENERAL) { libOptions += " "; libOptions += j->first; libOptions += ".lib "; } - if (j->second == cmMakefile::DEBUG) + if (j->second == cmTarget::DEBUG) { libDebugOptions += " "; libDebugOptions += j->first; libDebugOptions += ".lib "; } - if (j->second == cmMakefile::OPTIMIZED) + if (j->second == cmTarget::OPTIMIZED) { libOptimizedOptions += " "; libOptimizedOptions += j->first; |