~ubuntu-branches/ubuntu/maverick/qgis/maverick

« back to all changes in this revision

Viewing changes to src/plugins/interpolation/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
# Files
 
3
 
 
4
SET (INTERPOLATION_SRCS
 
5
     qgsinterpolationplugin.cpp
 
6
     qgsidwinterpolatordialog.cpp
 
7
     qgsinterpolationdialog.cpp
 
8
     qgsinterpolatordialog.cpp
 
9
     qgstininterpolatordialog.cpp
 
10
)
 
11
 
 
12
SET (INTERPOLATION_UIS 
 
13
    qgsidwinterpolatordialogbase.ui
 
14
    qgsinterpolationdialogbase.ui
 
15
    qgstininterpolatordialogbase.ui
 
16
    )
 
17
 
 
18
SET (INTERPOLATION_MOC_HDRS
 
19
     qgsinterpolationplugin.h
 
20
     qgstininterpolatordialog.h
 
21
     qgsidwinterpolatordialog.h
 
22
     qgsinterpolationdialog.h
 
23
)
 
24
 
 
25
SET (INTERPOLATION_RCCS  interpolator.qrc)
 
26
########################################################
 
27
# Build
 
28
 
 
29
QT4_WRAP_UI (INTERPOLATION_UIS_H  ${INTERPOLATION_UIS})
 
30
 
 
31
QT4_WRAP_CPP (INTERPOLATION_MOC_SRCS  ${INTERPOLATION_MOC_HDRS})
 
32
 
 
33
QT4_ADD_RESOURCES(INTERPOLATION_RCC_SRCS ${INTERPOLATION_RCCS})
 
34
 
 
35
ADD_LIBRARY (interpolationplugin MODULE 
 
36
  ${INTERPOLATION_SRCS}
 
37
  ${INTERPOLATION_MOC_SRCS} 
 
38
  ${INTERPOLATION_RCC_SRCS} 
 
39
  ${INTERPOLATION_UIS_H})
 
40
 
 
41
INCLUDE_DIRECTORIES(
 
42
     ${CMAKE_CURRENT_BINARY_DIR}
 
43
     ${GEOS_INCLUDE_DIR}
 
44
     ../../analysis/interpolation
 
45
     ../../core 
 
46
     ../../core/raster 
 
47
     ../../core/renderer 
 
48
     ../../core/symbology
 
49
     ../../gui
 
50
     ..
 
51
     .
 
52
)
 
53
 
 
54
TARGET_LINK_LIBRARIES(interpolationplugin
 
55
  qgis_analysis
 
56
  qgis_core
 
57
  qgis_gui
 
58
)
 
59
 
 
60
 
 
61
########################################################
 
62
# Install
 
63
 
 
64
INSTALL(TARGETS interpolationplugin
 
65
  RUNTIME DESTINATION ${QGIS_PLUGIN_DIR}
 
66
  LIBRARY DESTINATION ${QGIS_PLUGIN_DIR}
 
67
  )