summaryrefslogtreecommitdiffstats
path: root/scribus/plugins/gettext/sxwim/CMakeLists.txt
blob: 1424c099ef3f2cc75e93032c5ae6823b386e49f9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
INCLUDE_DIRECTORIES(
${CMAKE_SOURCE_DIR}
${CMAKE_SOURCE_DIR}/scribus
)

SET(SXW_IM_PLUGIN_MOC_CLASSES
sxwdia.h
)

SET(SXW_IM_PLUGIN_SOURCES
contentreader.cpp
sxwdia.cpp
sxwim.cpp
stylereader.cpp
)

SET(SCRIBUS_SXW_IM_PLUGIN "sxwimplugin")

QT4_WRAP_CPP(SXW_IM_PLUGIN_MOC_SOURCES ${SXW_IM_PLUGIN_MOC_CLASSES})

ADD_LIBRARY(${SCRIBUS_SXW_IM_PLUGIN} MODULE ${SXW_IM_PLUGIN_SOURCES} ${SXW_IM_PLUGIN_MOC_SOURCES})

TARGET_LINK_LIBRARIES(${SCRIBUS_SXW_IM_PLUGIN} ${PLUGIN_LIBRARIES})

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

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