[CMake] Can't get static executable
Bill Hoffman
bill.hoffman at kitware.com
Fri Jan 11 08:14:07 EST 2008
Eneko Nieto wrote:
> Hi Steven,
>
> let me ask you certain questions:
> * What is the release date of 2.6?
Hopefully in the next month.
> * Is that feature in the CVS?
Not yet.
> * Is there a way to achieve this manually?
>
Yes, there should be. As I said, if all libraries are actually static,
then a -static should do the trick. Currently cmake does add -static
-shared around libraries that are specified with a full path. You would
need to give more details to your current problem, and the OS that you
working on.
-Bill
More information about the CMake
mailing list