Subversion Repositories Scribus

Rev

Rev 18446 | Rev 21543 | 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(
18448 craig 2
	${CMAKE_SOURCE_DIR}
3
	${CMAKE_SOURCE_DIR}/scribus
5142 cbradney 4
)
5
 
6
SET(OODRAW_FL_PLUGIN_MOC_CLASSES
18448 craig 7
	oodrawimp.h
5142 cbradney 8
)
9
 
10
SET(OODRAW_FL_PLUGIN_SOURCES
18448 craig 11
	oodrawimp.cpp
12
	stylestack.cpp
5142 cbradney 13
)
14
 
15
SET(SCRIBUS_OODRAW_FL_PLUGIN "oodrawimp")
16
 
18446 craig 17
QT5_WRAP_CPP(OODRAW_FL_PLUGIN_MOC_SOURCES ${OODRAW_FL_PLUGIN_MOC_CLASSES})
5142 cbradney 18
 
19
ADD_LIBRARY(${SCRIBUS_OODRAW_FL_PLUGIN} MODULE ${OODRAW_FL_PLUGIN_SOURCES} ${OODRAW_FL_PLUGIN_MOC_SOURCES})
20
 
10778 craig 21
TARGET_LINK_LIBRARIES(${SCRIBUS_OODRAW_FL_PLUGIN} ${PLUGIN_LIBRARIES})
8782 avox 22
 
5142 cbradney 23
INSTALL(TARGETS ${SCRIBUS_OODRAW_FL_PLUGIN}
18448 craig 24
	LIBRARY
25
	DESTINATION ${PLUGINDIR}
26
	PERMISSIONS ${PLUGIN_PERMISSIONS}
5142 cbradney 27
)
28
 
29
# SET_TARGET_PROPERTIES(${SCRIBUS_FONTPREVIEW_PLUGIN} PROPERTIES VERSION "0.0.0")