On 01/30/2012 03:09 PM, Eric Noulard wrote:
> 2012/1/30 Russell L. Carter <[email protected]>:

[...]

>> I would like to get rid of the "lib" prefix.  I am happy with the
>> default suffix generation.  Is there an easy way to get rid of the
>> "lib" prefix?
>>

[...]

> 
> cmake --help-property PREFIX
> cmake --help-variable CMAKE_SHARED_LIBRARY_PREFIX
> 
> for easy finding out about "prefix"
> cmake --help-property-list | grep -i prefix
> cmake --help-variable-list | grep  -i prefix
> 
> 

Aha.  Very nice.  I see that from these clues that I need to
set(CMAKE_SHARED_MODULE_PREFIX) in my module making
macro, and indeed, that works like a champ.  I do like
the scheme for finding out about variables and properties.

Thanks Eric!
Russell
--

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

Reply via email to