Subversion Repositories Scribus

Rev

Rev 18446 | Rev 21543 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

INCLUDE_DIRECTORIES(
        ${CMAKE_SOURCE_DIR}
        ${CMAKE_SOURCE_DIR}/scribus
)

SET(OODRAW_FL_PLUGIN_MOC_CLASSES
        oodrawimp.h
)

SET(OODRAW_FL_PLUGIN_SOURCES
        oodrawimp.cpp
        stylestack.cpp
)

SET(SCRIBUS_OODRAW_FL_PLUGIN "oodrawimp")

QT5_WRAP_CPP(OODRAW_FL_PLUGIN_MOC_SOURCES ${OODRAW_FL_PLUGIN_MOC_CLASSES})

ADD_LIBRARY(${SCRIBUS_OODRAW_FL_PLUGIN} MODULE ${OODRAW_FL_PLUGIN_SOURCES} ${OODRAW_FL_PLUGIN_MOC_SOURCES})

TARGET_LINK_LIBRARIES(${SCRIBUS_OODRAW_FL_PLUGIN} ${PLUGIN_LIBRARIES})

INSTALL(TARGETS ${SCRIBUS_OODRAW_FL_PLUGIN}
        LIBRARY
        DESTINATION ${PLUGINDIR}
        PERMISSIONS ${PLUGIN_PERMISSIONS}
)

# SET_TARGET_PROPERTIES(${SCRIBUS_FONTPREVIEW_PLUGIN} PROPERTIES VERSION "0.0.0")