[CMake] uninstall target & libraries
Michael Jackson
mike.jackson at bluequartz.net
Tue Nov 25 10:09:20 EST 2008
add_library (libname-shared SHARED ${SOURCES})
add_library (libname-static STATIC ${SOURCES})
The target names need to be different.
On Nov 25, 2008, at 10:02 AM, Micha Renner wrote:
>>
>> Me second question is: I create libraries in the following way:
>>
>> ADD_LIBRARY(libname SHARED ${SOURCES})
>>
>> I want to build shared (.so) and dynamic (.a) libraries as well
>> (just like automake's default behaviour) but I don't how
>> to create both at the same time.
>>
>> ADD_LIBRARY(libname SHARED ${SOURCES})
>> ADD_LIBRARY(libname STATIC ${SOURCES})
_________________________________________________________
Mike Jackson mike.jackson at bluequartz.net
BlueQuartz Software www.bluequartz.net
Principal Software Engineer Dayton, Ohio
More information about the CMake
mailing list