[Cmake] newbie object file link Q

Bill Hoffman bill . hoffman at kitware . com
Tue, 04 Mar 2003 14:40:22 -0500


Currently, there is no way to directly include an object file into a library created by cmake.   I would suggest that you create a static library by hand from the object files, and link that into the project with cmake.

-Bill

At 02:02 PM 3/4/2003, SMITH,GORDON (HP-FtCollins,ex1) wrote:
>Hello -
>
>I'm attempting to include a third party library made of object files (no
>source). It's not clear to me how to build a library from object files in
>cmake, or how to add object files at link time. How is this best done?
>
>   Thanks,
>   - Gordon
>_______________________________________________
>Cmake mailing list
>Cmake at public . kitware . com
>http://public . kitware . com/mailman/listinfo/cmake