~ubuntu-branches/ubuntu/wily/qgis/wily

« back to all changes in this revision

Viewing changes to src/plugins/quick_print/CMakeLists.txt

  • Committer: Bazaar Package Importer
  • Author(s): Johan Van de Wauw
  • Date: 2010-07-11 20:23:24 UTC
  • mfrom: (3.1.4 squeeze)
  • Revision ID: james.westby@ubuntu.com-20100711202324-5ktghxa7hracohmr
Tags: 1.4.0+12730-3ubuntu1
* Merge from Debian unstable (LP: #540941).
* Fix compilation issues with QT 4.7
* Add build-depends on libqt4-webkit-dev 

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
########################################################
 
3
# Files
 
4
 
 
5
SET (quickprint_SRCS
 
6
     quickprintplugin.cpp
 
7
     quickprintgui.cpp
 
8
)
 
9
 
 
10
SET (quickprint_UIS quickprintguibase.ui)
 
11
 
 
12
SET (quickprint_MOC_HDRS
 
13
     quickprintplugin.h
 
14
     quickprintgui.h
 
15
)
 
16
 
 
17
SET (quickprint_RCCS  quickprint.qrc)
 
18
 
 
19
########################################################
 
20
# Build
 
21
 
 
22
QT4_WRAP_UI (quickprint_UIS_H  ${quickprint_UIS})
 
23
 
 
24
QT4_WRAP_CPP (quickprint_MOC_SRCS  ${quickprint_MOC_HDRS})
 
25
 
 
26
QT4_ADD_RESOURCES(quickprint_RCC_SRCS ${quickprint_RCCS})
 
27
 
 
28
ADD_LIBRARY (quickprintplugin MODULE 
 
29
   ${quickprint_SRCS} 
 
30
   ${quickprint_MOC_SRCS} 
 
31
   ${quickprint_RCC_SRCS} 
 
32
   ${quickprint_UIS_H})
 
33
 
 
34
INCLUDE_DIRECTORIES(
 
35
     ${CMAKE_CURRENT_BINARY_DIR}
 
36
     ../../core 
 
37
     ../../core/raster 
 
38
     ../../core/renderer 
 
39
     ../../core/symbology
 
40
     ../../gui
 
41
     ..
 
42
)
 
43
 
 
44
TARGET_LINK_LIBRARIES(quickprintplugin
 
45
  qgis_core
 
46
  qgis_gui
 
47
)
 
48
 
 
49
 
 
50
########################################################
 
51
# Install
 
52
 
 
53
INSTALL(TARGETS quickprintplugin
 
54
  RUNTIME DESTINATION ${QGIS_PLUGIN_DIR}
 
55
  LIBRARY DESTINATION ${QGIS_PLUGIN_DIR})
 
56