[CMake] Static Library output problem
Romain LEGUAY
romain.leguay at gmail.com
Fri Nov 11 09:42:54 EST 2011
Ok thanks for your quick answers! It works perfectly now!
Why don't we have just one variables for the library?
With set_target_properties, we can define for each library the path.
Romain
Le 11/11/2011 15:38, Andreas Pakulat a écrit :
> 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
>
> --
>
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.cmake.org/mailman/listinfo/cmake
More information about the CMake
mailing list