No subject


Wed Oct 7 22:37:18 EDT 2009


It seems like want to define __decl(dllimport) / __decl(dllexport),
right? If it's that, then take a look to SET_TARGET_PROPERTIES( target
PROPERTIES DEFINE_SYMBOL blah ). You may not even need that, as CMake
automagically defines targetname_EXPORTS when you do ADD_LIBRARY(
target SHARED sources ). In any case, read the docs for
SET_TARGET_PROPERTIES :-)

-- 
Pau Garcia i Quiles
http://www.elpauer.org
(Due to my workload, I may need 10 days to answer)


More information about the CMake mailing list