[CMake] Building a differently named import lib from a dll

KO Myung-Hun komh78 at gmail.com
Fri Dec 27 23:56:32 EST 2013


Hi/2.

I'm trying to build a differently named import lib from a dll.

For examples, when a dll name is mydll.dll, I want to name a import lib
to someone.a.

For this, I tried OUTPUT_NAME and ARCHIVE_OUTPUT_NAME. That is, in
set_target_properties(),

    OUTPUT_NAME "mydll"
    ARCHIVE_OUTPUT_NAME "someone"

However, I cannot get someone.a, but mydll.a.

Is this a wrong way ?

-- 
KO Myung-Hun

Using Mozilla SeaMonkey 2.7.2
Under OS/2 Warp 4 for Korean with FixPak #15
In VirtualBox v4.1.28 on Intel Core i7-3615QM 2.30GHz with 8GB RAM

Korean OS/2 User Community : http://www.ecomstation.co.kr



More information about the CMake mailing list