summaryrefslogtreecommitdiffstats
path: root/scribus/plugins/tools/2geomtools/pathalongpath/CMakeLists.txt
blob: 9d9686ae4509610ff9209444122c53c8c0c254a5 (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
32
33
INCLUDE_DIRECTORIES(
  ${CMAKE_SOURCE_DIR}
  ${CMAKE_SOURCE_DIR}/scribus
)

SET(PATHALONGPATH_PLUGIN_UI_SRC
  pathdialogbase.ui
)

SET(PATHALONGPATH_PLUGIN_MOC_CLASSES
  pathdialog.h
  pathalongpath.h
)

SET(PATHALONGPATH_PLUGIN_SOURCES
  pathdialog.cpp
  pathalongpath.cpp
)

SET(SCRIBUS_PATHALONGPATH_PLUGIN "pathalongpath")

QT4_WRAP_UI(PATHALONGPATH_PLUGIN_UI_SOURCES ${PATHALONGPATH_PLUGIN_UI_SRC} )
QT4_WRAP_CPP(PATHALONGPATH_PLUGIN_MOC_SOURCES ${PATHALONGPATH_PLUGIN_MOC_CLASSES})

ADD_LIBRARY(${SCRIBUS_PATHALONGPATH_PLUGIN} MODULE ${PATHALONGPATH_PLUGIN_SOURCES} ${PATHALONGPATH_PLUGIN_MOC_SOURCES} ${PATHALONGPATH_PLUGIN_UI_CPP} ${PATHALONGPATH_PLUGIN_UI_SOURCES})

TARGET_LINK_LIBRARIES(${SCRIBUS_PATHALONGPATH_PLUGIN} ${PLUGIN_LIBRARIES} 2geom)

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