Subversion Repositories Scribus

Rev

Rev 6452 | Rev 8496 | 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(COLORWHEEL_PLUGIN_UI_SRC
cwdialogbase.ui
)

SET(COLORWHEEL_PLUGIN_MOC_CLASSES
colorwheel.h
colorwheelwidget.h
cwdialog.h
)

SET(COLORWHEEL_PLUGIN_SOURCES
colorwheel.cpp
colorwheelwidget.cpp
cwdialog.cpp
)

SET(SCRIBUS_COLORWHEEL_PLUGIN "colorwheel")

IF(QT_WRAP_UI)
  QT_WRAP_UI(${SCRIBUS_COLORWHEEL_PLUGIN} COLORWHEEL_PLUGIN_UI_H COLORWHEEL_PLUGIN_UI_CPP ${COLORWHEEL_PLUGIN_UI_SRC})
ENDIF(QT_WRAP_UI)

IF(QT_WRAP_CPP)
  SCRIBUS_QT_WRAP_CPP(COLORWHEEL_PLUGIN_MOC_SOURCES ${COLORWHEEL_PLUGIN_MOC_CLASSES})
ENDIF(QT_WRAP_CPP)

ADD_LIBRARY(${SCRIBUS_COLORWHEEL_PLUGIN} MODULE ${COLORWHEEL_PLUGIN_SOURCES} ${COLORWHEEL_PLUGIN_MOC_SOURCES} ${COLORWHEEL_PLUGIN_UI_CPP})

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

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