Subversion Repositories Scribus

Rev

Rev 24704 | 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(SXW_IM_PLUGIN_SOURCES
18448 craig 7
	contentreader.cpp
8
	sxwdia.cpp
9
	sxwim.cpp
10
	stylereader.cpp
5142 cbradney 11
)
12
 
21543 craig 13
set(SCRIBUS_SXW_IM_PLUGIN "sxwimplugin")
5142 cbradney 14
 
24494 craig 15
add_library(${SCRIBUS_SXW_IM_PLUGIN} MODULE ${SXW_IM_PLUGIN_SOURCES})
5142 cbradney 16
 
24709 jghali 17
target_link_libraries(${SCRIBUS_SXW_IM_PLUGIN} ${EXE_NAME} ${SCRIBUS_ZIP_LIB})
8782 avox 18
 
24275 craig 19
if(WANT_PCH)
20
	target_precompile_headers(${SCRIBUS_SXW_IM_PLUGIN} PRIVATE "../../plugins_pch.h")
21
endif()
22
 
21543 craig 23
install(TARGETS ${SCRIBUS_SXW_IM_PLUGIN}
18448 craig 24
	LIBRARY
25
	DESTINATION ${PLUGINDIR}gettext
26
	PERMISSIONS ${PLUGIN_PERMISSIONS}
5142 cbradney 27
)