Cmake builds mangle library names....
Posted: Thu Dec 13, 2012 10:26 pm
I realize that there's probably a huge base already using bullet as it is; and they rely on the libraries being built with mangled named (POSTFIXed '_Debug').
Personally, i have just added this in a chain for my main cmake, so it inherits all my install rules... and I install into different target directories, and never have release and debug in the same directory; but adding bullet with add_subdirectory( ../bullet/source bullet ) mangles all of my library names to get _Debug suffixed to them.
You can set these properties on a per-target basis instead of modifying global behaviors.
(I also had no idea where to start this thread)
Personally, i have just added this in a chain for my main cmake, so it inherits all my install rules... and I install into different target directories, and never have release and debug in the same directory; but adding bullet with add_subdirectory( ../bullet/source bullet ) mangles all of my library names to get _Debug suffixed to them.
You can set these properties on a per-target basis instead of modifying global behaviors.
(I also had no idea where to start this thread)