[CMake] GenerateExportHeader macrr for CMake?
Hendrik Sattler
post at hendrik-sattler.de
Sun Jun 5 02:16:51 EDT 2011
Am Samstag, 4. Juni 2011, 21:17:49 schrieb Stephen Kelly:
> Hi,
>
> I came up with an idea to simplify the creation of export headers for
> hidden visibility by using configure_file.
>
> After implementing it I saw that the idea has come up before :)
>
> http://www.mail-archive.com/cmake@cmake.org/msg27058.html
>
> Please see the attached proof of concept. Could we get something like
> GenerateExportHeader.cmake and exportheader.cmake.in into CMake 2.8?
>
> Alex tells me I'd have to maintain it, respond to bugs, and keep source
> compatibility, so I guess I can say I'll do that :).
>
> I know there are other special cases for other compilers, but I thought I'd
> put the implementation of the concrete idea here for discussion at this
> point.
Really why? There is _no_ dynamic content in such a header file.
HS
More information about the CMake
mailing list