2017-10-18 18:10 ACDT

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0000603Other Unix PortBugpublic2016-01-23 19:06
Reporterkomh 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusnewResolutionopen 
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
  • patch file icon 0001-OS-2-is-a-DLL-platform.patch (925 bytes) 2016-01-23 19:05 -
    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
    
    
    patch file icon 0001-OS-2-is-a-DLL-platform.patch (925 bytes) 2016-01-23 19:05 +

-Relationships
+Relationships

-Notes

~0003096

komh (reporter)

Hi/2.

I've uploaded a patch for this.

Review, please...
+Notes

-Issue History
Date Modified Username Field Change
2014-02-24 12:56 komh New Issue
2016-01-23 19:05 komh File Added: 0001-OS-2-is-a-DLL-platform.patch
2016-01-23 19:06 komh Note Added: 0003096
+Issue History