View Issue Details

IDProjectCategoryView StatusLast Update
0000603Other Unix PortBugpublic2022-05-14 07:12
Reporterkomh Assigned Topsmedley  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionwon't fix 
Summary0000603: CMake: an import lib name is always same as an DLL name
DescriptionHi/2.

In documents of CMake, ARCHIVE_OUTPUT_NAME should be treated as an import lib name on DLL platform.

    http://www.cmake.org/cmake/help/v2.8.12/cmake.html#prop_tgt:ARCHIVE_OUTPUT_NAME

But this does not work. ARCHIVE_OUTPUT_NAME has no effects when building a DLL.
TagsNo tags attached.
Attached Files
0001-OS-2-is-a-DLL-platform.patch (925 bytes)   
From a146eff68097f91c0a56e5573c38c304c76b300b Mon Sep 17 00:00:00 2001
From: KO Myung-Hun <komh@chollian.net>
Date: Thu, 21 Jan 2016 21:51:27 +0900
Subject: [PATCH] OS/2 is a DLL platform

    modified:   Source/cmTarget.cxx
---
 Source/cmTarget.cxx | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx
index bb44956..d986dcb 100644
--- a/Source/cmTarget.cxx
+++ b/Source/cmTarget.cxx
@@ -183,7 +183,8 @@ void cmTarget::SetMakefile(cmMakefile* mf)
   // Check whether this is a DLL platform.
   this->DLLPlatform = (this->Makefile->IsOn("WIN32") ||
                        this->Makefile->IsOn("CYGWIN") ||
-                       this->Makefile->IsOn("MINGW"));
+                       this->Makefile->IsOn("MINGW") ||
+                       this->Makefile->IsOn("OS2"));
 
   // Check whether we are targeting an Android platform.
   this->IsAndroid =
-- 
2.7.0

Activities

komh

2016-01-23 08:36

reporter   ~0003096

Hi/2.

I've uploaded a patch for this.

Review, please...

psmedley

2022-05-14 07:12

administrator   ~0004289

I no longer maintain cmake

Issue History

Date Modified Username Field Change
2014-02-24 02:26 komh New Issue
2016-01-23 08:35 komh File Added: 0001-OS-2-is-a-DLL-platform.patch
2016-01-23 08:36 komh Note Added: 0003096
2022-05-14 07:12 psmedley Assigned To => psmedley
2022-05-14 07:12 psmedley Status new => resolved
2022-05-14 07:12 psmedley Resolution open => won't fix
2022-05-14 07:12 psmedley Note Added: 0004289
2022-05-14 07:12 psmedley Status resolved => closed