Subversion Repositories Scribus

Rev

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

Rev Author Line No. Line
21543 craig 1
include_directories(
18448 craig 2
	${CMAKE_SOURCE_DIR}
3
	${CMAKE_SOURCE_DIR}/scribus
5142 cbradney 4
)
5
 
21543 craig 6
set(OODRAW_FL_PLUGIN_MOC_CLASSES
18448 craig 7
	oodrawimp.h
5142 cbradney 8
)
9
 
21543 craig 10
set(OODRAW_FL_PLUGIN_SOURCES
18448 craig 11
	oodrawimp.cpp
12
	stylestack.cpp
5142 cbradney 13
)
14
 
21543 craig 15
set(SCRIBUS_OODRAW_FL_PLUGIN "oodrawimp")
5142 cbradney 16
 
18446 craig 17
QT5_WRAP_CPP(OODRAW_FL_PLUGIN_MOC_SOURCES ${OODRAW_FL_PLUGIN_MOC_CLASSES})
5142 cbradney 18
 
21543 craig 19
add_library(${SCRIBUS_OODRAW_FL_PLUGIN} MODULE ${OODRAW_FL_PLUGIN_SOURCES} ${OODRAW_FL_PLUGIN_MOC_SOURCES})
5142 cbradney 20
 
21543 craig 21
target_link_libraries(${SCRIBUS_OODRAW_FL_PLUGIN} ${PLUGIN_LIBRARIES})
8782 avox 22
 
24275 craig 23
if(WANT_PCH)
24
	target_precompile_headers(${SCRIBUS_OODRAW_FL_PLUGIN} PRIVATE "../../plugins_pch.h")
25
endif()
26
 
21543 craig 27
install(TARGETS ${SCRIBUS_OODRAW_FL_PLUGIN}
18448 craig 28
	LIBRARY
29
	DESTINATION ${PLUGINDIR}
30
	PERMISSIONS ${PLUGIN_PERMISSIONS}
5142 cbradney 31
)
32
 
21543 craig 33
# set_target_properties(${SCRIBUS_FONTPREVIEW_PLUGIN} PROPERTIES VERSION "0.0.0")