[CMake] import/export and DLL's
Clinton Stimpson
clinton at elemtech.com
Wed Dec 7 10:29:15 EST 2011
>
> See also the "new in 2.8.6" module GenerateExportHeader:
>
>
> http://cmake.org/cmake/help/cmake-2-8-docs.html#module:GenerateExportHeade
> r
>
> cmake --help-module GenerateExportHeader
>
>
I see the header has this:
#ifdef IS_STATIC_BUILD
...
#else
...
#endif
Is there any way to generate this configured header for a static or for a
shared build, so one doesn't have to add preprocessor defines to use the header
file?
--
Clinton Stimpson
Elemental Technologies, Inc
Computational Simulation Software, LLC
www.csimsoft.com
More information about the CMake
mailing list