[CMake] Function for visibility definitions

Hendrik Sattler post at hendrik-sattler.de
Thu Feb 11 10:34:19 EST 2010


Zitat von Clinton Stimpson <clinton at elemtech.com>:
> If your library is only ever built as shared, sure, you don't cmake to
> generate code.
> Otherwise, the code needs that bit of information from the build system.
> I'd rather have a configured header file with that info in it.

cmake already does that (equally to libtool).

HS




More information about the CMake mailing list