summaryrefslogtreecommitdiffstats
path: root/Source/cmDSWWriter.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2001-07-02 19:38:02 (GMT)
committerBrad King <brad.king@kitware.com>2001-07-02 19:38:02 (GMT)
commite693d47253157c9372aeb7c2edbecef8d1fb6225 (patch)
tree296e6789a8596e112f2139b13e71b53219309bd0 /Source/cmDSWWriter.cxx
parentae2723878e08a8aa016869e90711e260d981df38 (diff)
downloadCMake-e693d47253157c9372aeb7c2edbecef8d1fb6225.zip
CMake-e693d47253157c9372aeb7c2edbecef8d1fb6225.tar.gz
CMake-e693d47253157c9372aeb7c2edbecef8d1fb6225.tar.bz2
ENH: Added support for selection of static/shared build on a per-library basis.
Diffstat (limited to 'Source/cmDSWWriter.cxx')
-rw-r--r--Source/cmDSWWriter.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/cmDSWWriter.cxx b/Source/cmDSWWriter.cxx
index a44dfda..3662f28 100644
--- a/Source/cmDSWWriter.cxx
+++ b/Source/cmDSWWriter.cxx
@@ -215,8 +215,7 @@ void cmDSWWriter::WriteProject(std::ostream& fout,
{
if(j->first != dspname)
{
- if (!(target.GetType() == cmTarget::LIBRARY) ||
- project->GetLibraryBuildType() == cmDSPWriter::DLL)
+ if (target.GetType() != cmTarget::STATIC_LIBRARY)
{
// is the library part of this DSW ? If so add dependency
const char* cacheValue