[CMake] (no subject)

Convey Christian J NPRI ConveyCJ at Npt.NUWC.Navy.Mil
Mon Aug 27 13:50:10 EDT 2007


On Linux, I'm building a program that is linked against the "ncurses"
library.  

In CMake, what decides whether my program will be linked to libcurses.a or
to libcurses.so ?

I'd like to minimize external dependencies in the build program, so whenever
possible I'd like to link to the .a version.  But if nothing else I need to
know which version (static vs. dynamic) of a given library my program is
linked to.

Thanks,
Christian


More information about the CMake mailing list