[CMake] dlopen()able library making
William A. Hoffman
billlist at nycap.rr.com
Wed Apr 5 07:36:37 EDT 2006
At 02:35 AM 4/5/2006, Craig Bradney wrote:
>SET(SCRIBUS_COLORWHEEL_PLUGIN "colorwheel")
>IF(QT_WRAP_CPP)
> SCRIBUS_QT_WRAP_CPP(${SCRIBUS_COLORWHEEL_PLUGIN}
>${COLORWHEEL_PLUGIN_MOC_CLASSES})
>ENDIF(QT_WRAP_CPP)
>
>ADD_LIBRARY(${SCRIBUS_COLORWHEEL_PLUGIN} MODULE ${COLORWHEEL_PLUGIN_SOURCES}
>${COLORWHEEL_PLUGIN_MOC_SOURCES})
>
>
>So theres not much different.. apart from the moc setup which all seems to
>work fine (as it does in the main code). Perhaps the only surprise there is
>the SCRIBUS_QT_WRAP which gives me class.moc instead of moc_class.cxx files.
>This is the first plugin I've attempted to get working from all you will see
>in the plugins directory (aside from some STATIC ones not in this directory
>which work fine).
What does the macro SCRIBUS_QT_WRAP_CPP do? Maybe it is clobbering the value in
COLORWHEEL_PLUGIN_SOURCES somehow. If you do a make VERBOSE=1, does
it compile all the files that it should? Like colorwheel.cpp? You could
post the build.make from here CMakeFiles/colorwheel.dir/build.make.
-Bill
More information about the CMake
mailing list