Subversion Repositories Scribus

Rev

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

Rev Author Line No. Line
13520 pierre 1
INCLUDE_DIRECTORIES(
2
${CMAKE_SOURCE_DIR}
3
${CMAKE_SOURCE_DIR}/scribus
4
)
5
 
6
SET(PICTUREBROWSER_PLUGIN_UI_SRC
7
picturebrowser.ui
8
imagedialog.ui
9
)
10
 
11
SET(PICTUREBROWSER_PLUGIN_MOC_CLASSES
13669 pierre 12
collection.h
14691 fschmid 13
findimage.h
13669 pierre 14
imagedialog.h
15
loadimage.h
16
multicombobox.h
13520 pierre 17
picturebrowserplugin.h
18
picturebrowser.h
13669 pierre 19
previewimage.h
13520 pierre 20
)
21
 
22
SET(PICTUREBROWSER_PLUGIN_SOURCES
13669 pierre 23
collection.cpp
24
findimage.cpp
25
imagedialog.cpp
13678 pierre 26
iview.cpp
13669 pierre 27
loadimage.cpp
28
multicombobox.cpp
29
picturebrowser.cpp
13520 pierre 30
picturebrowserplugin.cpp
13678 pierre 31
pictview.cpp
13669 pierre 32
previewimage.cpp
13520 pierre 33
)
34
 
35
SET(SCRIBUS_PICTUREBROWSER_PLUGIN "picturebrowser")
36
 
37
QT4_WRAP_UI(PICTUREBROWSER_PLUGIN_UI_SOURCES ${PICTUREBROWSER_PLUGIN_UI_SRC} )
38
QT4_WRAP_CPP(PICTUREBROWSER_PLUGIN_MOC_SOURCES ${PICTUREBROWSER_PLUGIN_MOC_CLASSES})
39
 
40
ADD_LIBRARY(${SCRIBUS_PICTUREBROWSER_PLUGIN} MODULE ${PICTUREBROWSER_PLUGIN_SOURCES}
41
${PICTUREBROWSER_PLUGIN_MOC_SOURCES} ${PICTUREBROWSER_PLUGIN_UI_SOURCES})
42
 
43
TARGET_LINK_LIBRARIES(${SCRIBUS_PICTUREBROWSER_PLUGIN} ${PLUGIN_LIBRARIES})
44
 
45
INSTALL(TARGETS ${SCRIBUS_PICTUREBROWSER_PLUGIN}
46
  LIBRARY
47
  DESTINATION ${PLUGINDIR}
48
  PERMISSIONS ${PLUGIN_PERMISSIONS}
49
)
50
 
51
INSTALL(FILES icons/pitr_green_arrows_set_1.svg icons/pitr_green_arrows_set_5.svg icons/sarxos_Paper_Sheets.svg icons/sarxos_Simple_Folder_Seek.svg icons/sarxos_Simple_Green_Yellow_Blue_Violet_Folders.svg icons/testfill.png
52
  DESTINATION ${SHAREDIR}/icons
53
)
54
 
55
INSTALL(FILES collectionsdb.xml DESTINATION ${SHAREDIR}/plugins)
56
 
57
# SET_TARGET_PROPERTIES(${SCRIBUS_FONTPREVIEW_PLUGIN} PROPERTIES VERSION "0.0.0")