[CMake] Library_EXPORTS

Bart De Boeck bart.deboeck at xenopz.com
Fri Mar 18 15:42:52 EST 2005


Thanks !

-----Oorspronkelijk bericht-----
Van: Brad King [mailto:brad.king at kitware.com] 
Verzonden: vrijdag 18 maart 2005 21:35
Aan: Bart De Boeck
CC: cmake at cmake.org
Onderwerp: Re: [CMake] Library_EXPORTS

Bart De Boeck wrote:
>   Thanks for your response !
>   The sources are indeed looking for the upper-case version : Visual
Studio
> generates by default LIBRARY_EXPORTS statements in Win32 Projects. Is the
> CMake behaviour configurable ?

Yes.  Put this after your ADD_LIBRARY command:

SET_TARGET_PROPERTIES(mylib PROPERTIES DEFINE_SYMBOL MYLIB_EXPORTS)

-Brad




More information about the CMake mailing list