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
24494 craig 4
	${SCRIBUS_AUTOGEN_INCLUDE_PATH}
17199 fschmid 5
)
6
 
21543 craig 7
set(IMPORTIDML_PLUGIN_SOURCES
18448 craig 8
	importidml.cpp
9
	importidmlplugin.cpp
17199 fschmid 10
)
11
 
21543 craig 12
set(SCRIBUS_IMPORTIDML_PLUGIN "importidml")
17199 fschmid 13
 
14
 
15
 
24494 craig 16
add_library(${SCRIBUS_IMPORTIDML_PLUGIN} MODULE ${IMPORTIDML_PLUGIN_SOURCES})
17
 
24709 jghali 18
target_link_libraries(${SCRIBUS_IMPORTIDML_PLUGIN} ${EXE_NAME} ${SCRIBUS_ZIP_LIB})
17199 fschmid 19
 
24275 craig 20
if(WANT_PCH)
21
	target_precompile_headers(${SCRIBUS_IMPORTIDML_PLUGIN} PRIVATE "../../plugins_pch.h")
22
endif()
23
 
21543 craig 24
install(TARGETS ${SCRIBUS_IMPORTIDML_PLUGIN}
18448 craig 25
	LIBRARY
26
	DESTINATION ${PLUGINDIR}
27
	PERMISSIONS ${PLUGIN_PERMISSIONS}
17199 fschmid 28
)
29
 
24704 craig 30
add_dependencies(Plugins ${SCRIBUS_IMPORTIDML_PLUGIN})