oops, sent off list :) ____________
> but the GET_TARGET_PROPERTY can't give me the PREFIX of > the library file. Is there a way for doing that properly ? Hi Alex, SET_TARGET_PROPERTIES is what you are looking for. Just after your ADD_LIBRARY statement, try : SET_TARGET_PROPERTIES(hello PROPERTIES PREFIX "") That should do the job. At least, it works for me (just tried it) : osx tiger, cmake 2.4. Tonio _____________________________________________________________________________ Envoyez avec Yahoo! Mail. Une boite mail plus intelligente http://mail.yahoo.fr _______________________________________________ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake