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

« back to all changes in this revision

Viewing changes to python/plugins/osm/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
SET (OSM_PLUGIN_DIR ${QGIS_DATA_DIR}/python/plugins/osm)
 
2
 
 
3
FILE (GLOB UI_FILES ui_files/*.ui)
 
4
PYQT4_WRAP_UI(PYUI_FILES ${UI_FILES})
 
5
PYQT4_ADD_RESOURCES(PYRC_FILES resources.qrc)
 
6
ADD_CUSTOM_TARGET(osmplugin ALL DEPENDS ${PYUI_FILES} ${PYRC_FILES})
 
7
 
 
8
FILE (GLOB PYTHON_FILES *.py)
 
9
FILE (GLOB MAPTOOLS_PYTHON_FILES map_tools/*.py)
 
10
FILE (GLOB STYLE_FILES styles/*.style)
 
11
 
 
12
INSTALL (FILES ${PYTHON_FILES} DESTINATION ${OSM_PLUGIN_DIR})
 
13
INSTALL (FILES ${PYUI_FILES} DESTINATION ${OSM_PLUGIN_DIR})
 
14
INSTALL (FILES ${PYRC_FILES} DESTINATION ${OSM_PLUGIN_DIR})
 
15
INSTALL (FILES ${MAPTOOLS_PYTHON_FILES} DESTINATION ${OSM_PLUGIN_DIR}/map_tools)
 
16
INSTALL (FILES ${STYLE_FILES} DESTINATION ${OSM_PLUGIN_DIR}/styles)