On 11/08/2011 01:36 PM, Schuchard, Matthew wrote:
> Thanks, I think I must be doing something wrong elsewhere then, because I
> follow the same syntax as what you wrote.
> However, it is not working for me which means my error must be somewhere else.
Could you provide a minimal but complete exemp
Thanks, I think I must be doing something wrong elsewhere then, because I
follow the same syntax as what you wrote.
However, it is not working for me which means my error must be somewhere else.
I had thought, based on a stack overflow link, that CMAKE_STATIC_LIBRARY_PREFIX
was only for linking t
Sorry, I misread your message. The following works for me:
<8--
cmake_minimum_required(VERSION 2.8)
project(static)
set(CMAKE_STATIC_LIBRARY_PREFIX)
add_library(a STATIC a.c)
add_library(b STATIC b.c)
>8--
Michael
On 11/07/2011 05:14 PM, Schuchard, Matthew wrot
On 11/07/2011 05:14 PM, Schuchard, Matthew wrote:
> Thanks for the response.
>
> Actually, that is what I want to do:
>
> "> Specifically, I need to remove the prefix "lib" from all statically
>> linked libraries I build."
>
> Also, I do not have to specify full paths to libraries I link to beca
Thanks for the response.
Actually, that is what I want to do:
"> Specifically, I need to remove the prefix "lib" from all statically
> linked libraries I build."
Also, I do not have to specify full paths to libraries I link to because of the
CMAKE_STATIC_LIBRARY_PREFIX command I had mentioned i
On 11/07/2011 04:15 PM, Schuchard, Matthew wrote:
> I am trying to globally set target properties for an entire configuration.
>
> Specifically, I need to remove the prefix βlibβ from all statically
> linked libraries I build.
>
>
>
> I already used CMAKE_STATIC_LIBRARY_PREFIX ββ such that all
I am trying to globally set target properties for an entire configuration.
Specifically, I need to remove the prefix "lib" from all statically linked
libraries I build.
I already used CMAKE_STATIC_LIBRARY_PREFIX "" such that all libraries I
explicitly link to will not have CMake search for libra