Subversion Repositories Scribus

Rev

Rev 6438 | Rev 6550 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
5142 cbradney 1
INCLUDE_DIRECTORIES(
2
${CMAKE_SOURCE_DIR}
3
${CMAKE_SOURCE_DIR}/scribus
4
)
5
 
6438 subik 6
SET(COLORWHEEL_PLUGIN_UI_SRC
7
cwdialogbase.ui
8
)
9
 
5142 cbradney 10
SET(COLORWHEEL_PLUGIN_MOC_CLASSES
11
colorblind.h
12
colorwheel.h
13
colorwheelwidget.h
14
cwdialog.h
15
)
16
 
17
SET(COLORWHEEL_PLUGIN_SOURCES
18
colorblind.cpp
19
colorwheel.cpp
20
colorwheelwidget.cpp
21
cwdialog.cpp
22
)
23
 
24
SET(SCRIBUS_COLORWHEEL_PLUGIN "colorwheel")
6438 subik 25
 
26
IF(QT_WRAP_UI)
27
  QT_WRAP_UI(${SCRIBUS_COLORWHEEL_PLUGIN} COLORWHEEL_PLUGIN_UI_H COLORWHEEL_PLUGIN_UI_CPP ${COLORWHEEL_PLUGIN_UI_SRC})
28
ENDIF(QT_WRAP_UI)
29
 
5142 cbradney 30
IF(QT_WRAP_CPP)
5906 cbradney 31
  SCRIBUS_QT_WRAP_CPP(COLORWHEEL_PLUGIN_MOC_SOURCES ${COLORWHEEL_PLUGIN_MOC_CLASSES})
5142 cbradney 32
ENDIF(QT_WRAP_CPP)
33
 
6452 cbradney 34
ADD_LIBRARY(${SCRIBUS_COLORWHEEL_PLUGIN} MODULE ${COLORWHEEL_PLUGIN_SOURCES} ${COLORWHEEL_PLUGIN_MOC_SOURCES} ${COLORWHEEL_PLUGIN_UI_CPP})
5142 cbradney 35
 
36
INSTALL(TARGETS ${SCRIBUS_COLORWHEEL_PLUGIN}
37
  LIBRARY
38
  DESTINATION ${PLUGINDIR}
39
  PERMISSIONS ${PLUGIN_PERMISSIONS}
40
)
41
 
42
# SET_TARGET_PROPERTIES(${SCRIBUS_COLORWHEEL_PLUGIN} PROPERTIES VERSION "0.0.0")