[Cmake] About the library file name created by CMake (in CMakelist.txt)

Amy Lin alin at itsc . uah . edu
Thu, 07 Aug 2003 09:41:45 -0500


In CMalkelist.txt file, I have added some libraries: such as:

ADD_LIBRARY(sample SHARED sample.cpp)

It will create a library named as "libsample.so".  It always add prefix 
"lib" for all the library it created.  Is there a way to get rid of this 
prefix, the "lib"?

Thanx a lot.

-Amy