[CMake] Windows library target names

Ryan Pavlik rpavlik at iastate.edu
Thu Jul 22 15:23:07 EDT 2010


  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)

See the documentation for more info - it's under "Variables that Control 
the Build".

Ryan

-- 
Ryan Pavlik
Human-Computer Interaction Graduate Student
Virtual Reality Applications Center
Iowa State University

rpavlik at iastate.edu
http://academic.cleardefinition.com/



More information about the CMake mailing list