[CMake] Windows library target names

Olaf van der Spek olafvdspek at gmail.com
Thu Jul 22 16:23:11 EDT 2010


On Thu, Jul 22, 2010 at 9:23 PM, Ryan Pavlik <rpavlik at iastate.edu> wrote:
>  On 7/22/10 10:08 AM, Olaf van der Spek wrote:
>>
>> Hi,
>>
>> All target names have the same base name. So both the debug and
>> release variant are called xbt.lib. However, I've only got a single
>> lib dir. Shouldn't all variants have a unique name?
>>
>> Olaf
>
> set(CMAKE_DEBUG_POSTFIX _d)

Shouldn't this be done automatically?
What about shared vs static lib?
Shared vs static runtime?
x64 vs x86?

Olaf


More information about the CMake mailing list