[CMake] Static Library output problem

Andreas Pakulat apaku at gmx.de
Fri Nov 11 09:38:44 EST 2011


On 11.11.11 15:18:05, Romain LEGUAY wrote:
> Hello everyone!
> First, I need to thank you all the CMake developers for their
> awesome work!!!
> 
> I try to build a static and a shared libraries. I set the
> LIBRARY_OUTPUT_DIRECTORY for each library target like this:

See the documentation for the LIBRARY_OUTPUT_DIRECTORY, it only applies
to shared libraries on non-dll platforms (*nix usually). For a static
library you need to set ARCHIVE_OUTPUT_DIRECTORY.

Andreas



More information about the CMake mailing list